linux-stable/tools/objtool
Josh Poimboeuf a35b3e57a9 objtool: Don't fail on missing symbol table
[ Upstream commit 1d489151e9 ]

Thanks to a recent binutils change which doesn't generate unused
symbols, it's now possible for thunk_64.o be completely empty without
CONFIG_PREEMPTION: no text, no data, no symbols.

We could edit the Makefile to only build that file when
CONFIG_PREEMPTION is enabled, but that will likely create confusion
if/when the thunks end up getting used by some other code again.

Just ignore it and move on.

Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Link: https://github.com/ClangBuiltLinux/linux/issues/1254
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-10 09:09:24 +01:00
..
Documentation objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
arch/x86 x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes 2020-12-11 13:38:01 +01:00
.gitignore objtool: update .gitignore file 2018-06-26 08:08:05 +08:00
Build objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
Makefile objtool: Clobber user CFLAGS variable 2019-10-05 12:30:08 +02:00
arch.h objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
builtin-check.c objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
builtin-orc.c objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
builtin.h objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
cfi.h objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
check.c objtool: Fix noreturn detection for ignored functions 2020-10-01 20:40:16 +02:00
check.h objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
elf.c objtool: Don't fail on missing symbol table 2021-02-10 09:09:24 +01:00
elf.h objtool: Support GCC 8's cold subfunctions 2018-06-05 10:28:57 +02:00
objtool.c objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
orc.h objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
orc_dump.c objtool: Support Clang non-section symbols in ORC dump 2020-05-02 17:23:17 +02:00
orc_gen.c objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
special.c objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
special.h
sync-check.sh objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00
warn.h objtool: sync up with the 4.14.47 version of objtool 2018-06-05 10:28:57 +02:00