lkml.org 
[lkml]   [2020]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2] x86/insn, tools/x86: Fix some potential undefined behavior.
    On Thu, Oct 15, 2020 at 02:34:57PM -0700, hpa@zytor.com wrote:
    > Wait, what?
    >
    > You are taking about x86-specific code, and on x86 unaligned memory
    > accesses are supported, well-defined, and ubiquitous.

    Objtool uses this x86 instruction decoder, people are cross-buildling
    objtool to cross-build x86 kernels.

    So it's entirely possible to run the x86 insn decode on BE RISC, which
    very much doesn't like unaligned loads.

    \
     
     \ /
      Last update: 2020-10-16 11:38    [W:3.776 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site