deepin-kernel/tools/objtool
Josh Poimboeuf 70281bca59 objtool: Fix error handling inconsistencies in check()
[ Upstream commit b745962cb9 ]

Make sure all fatal errors are funneled through the 'out' label with a
negative ret.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Brendan Jackman <jackmanb@google.com>
Link: https://lore.kernel.org/r/0f49d6a27a080b4012e84e6df1e23097f44cc082.1741975349.git.jpoimboe@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4beb1e55f6b08aaa9376ed6926586e966bc4d319)
2025-06-10 10:34:54 +08:00
..
Documentation objtool: Move noreturn function list to separate file 2023-05-16 06:31:55 -07:00
arch objtool/LoongArch: Add support for goto table 2025-02-19 21:09:42 +08:00
include/objtool objtool: Fix C jump table annotations for Clang 2025-05-09 16:00:37 +08:00
.gitignore objtool: Install libsubcmd in build 2023-01-30 16:27:46 -08:00
Build objtool: Install libsubcmd in build 2023-01-30 16:27:46 -08:00
Makefile Reapply "objtool/LoongArch: Enable orc to be built" 2024-12-10 20:39:13 +08:00
builtin-check.c objtool: Add verbose option for disassembling affected functions 2023-05-16 06:31:51 -07:00
check.c objtool: Fix error handling inconsistencies in check() 2025-06-10 10:34:54 +08:00
elf.c objtool: Fix unreachable instruction warnings for weak functions 2025-05-29 20:38:29 +08:00
noreturns.h cred: get rid of CONFIG_DEBUG_CREDENTIALS 2023-12-20 17:01:51 +01:00
objtool.c objtool: Propagate early errors 2023-11-20 11:58:52 +01:00
orc_dump.c Reapply "objtool/x86: Separate arch-specific and generic parts" 2024-12-10 20:39:13 +08:00
orc_gen.c Reapply "objtool/x86: Separate arch-specific and generic parts" 2024-12-10 20:39:13 +08:00
special.c objtool: Get rid of reloc->addend 2023-06-07 10:03:23 -07:00
sync-check.sh objtool: Add objtool_types.h 2023-03-23 23:18:56 +01:00
weak.c objtool: Ditch subcommands 2022-04-22 12:32:01 +02:00