android_kernel_xiaomi_sm7250/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
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
elf.h
Makefile
objtool.c
orc_dump.c objtool: Support Clang non-section symbols in ORC dump 2020-05-02 17:25:57 +02:00
orc_gen.c
orc.h
special.c
special.h
sync-check.sh
warn.h