Messages in this thread | | | Date | Fri, 16 Oct 2020 11:37:24 +0200 | From | Peter Zijlstra <> | Subject | Re: [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.
| |