On Thu, Oct 15, 2020 at 02:34:57PM -0700, [email protected] 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.

