summaryrefslogtreecommitdiff
path: root/tools/objtool/elf.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2020-11-13 02:03:23 +0300
committerJosh Poimboeuf <jpoimboe@redhat.com>2021-01-14 03:13:11 +0300
commit1d509f2a6ebca1aea3089c769f6375f01a832e9b (patch)
tree35d674a10d5c2e0e5f0f56cb3520bd14958f5183 /tools/objtool/elf.c
parentc8d7b7e592f471ec1da39d872dc6bbf767a812e7 (diff)
downloadlinux-1d509f2a6ebca1aea3089c769f6375f01a832e9b.tar.xz
x86/insn: Support big endian cross-compiles
The x86 instruction decoder code is shared across the kernel source and the tools. Currently objtool seems to be the only tool from build tools needed which breaks x86 cross-compilation on big endian systems. Make the x86 instruction decoder build host endianness agnostic to support x86 cross-compilation and enable objtool to implement endianness awareness for big endian architectures support. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Co-developed-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Diffstat (limited to 'tools/objtool/elf.c')
0 files changed, 0 insertions, 0 deletions