diff options
author | Vasily Gorbik <[email protected]> | 2021-05-12 19:42:10 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-05-12 21:16:53 +0200 |
commit | 46c7405df7de8deb97229eacebcee96d61415f3f (patch) | |
tree | fa0fe1f2dd4186d11e806eb6c212271d4d5df27c /drivers/fpga/fpga-bridge.c | |
parent | 88b06399c9c766c283e070b022b5ceafa4f63f19 (diff) |
objtool: Fix elf_create_undef_symbol() endianness
Currently x86 cross-compilation fails on big endian system with:
x86_64-cross-ld: init/main.o: invalid string offset 488112128 >= 6229 for section `.strtab'
Mark new ELF data in elf_create_undef_symbol() as symbol, so that libelf
does endianness handling correctly.
Fixes: 2f2f7e47f052 ("objtool: Add elf_create_undef_symbol()")
Signed-off-by: Vasily Gorbik <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/patch-1.thread-6c9df9.git-d39264656387.your-ad-here.call-01620841104-ext-2554@work.hours
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions