kernel-fxtec-pro1x/tools/objtool
Julien Thierry b34bdf1148 objtool: Ignore empty alternatives
[ Upstream commit 7170cf47d16f1ba29eca07fd818870b7af0a93a5 ]

The .alternatives section can contain entries with no original
instructions. Objtool will currently crash when handling such an entry.

Just skip that entry, but still give a warning to discourage useless
entries.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-22 09:05:09 +02:00
..
arch/x86 x86/decoder: Add TEST opcode to Group3-2 2020-02-24 08:34:50 +01:00
Documentation
.gitignore
arch.h
Build
builtin-check.c
builtin-orc.c
builtin.h
cfi.h
check.c objtool: Ignore empty alternatives 2020-06-22 09:05:09 +02:00
check.h
elf.c objtool: Support GCC 9 cold subfunction naming scheme 2019-08-06 19:06:57 +02:00
elf.h
Makefile objtool: Clobber user CFLAGS variable 2019-10-01 08:26:07 +02:00
objtool.c
orc.h
orc_dump.c objtool: Support Clang non-section symbols in ORC dump 2020-05-02 17:25:57 +02:00
orc_gen.c
special.c
special.h
sync-check.sh
warn.h