Commit 4536550
objtool: Ignore dangling jump table entries
[ Upstream commit 3724062 ]
Clang sometimes leaves dangling unused jump table entries which point to
the end of the function. Ignore them.
Closes: https://lore.kernel.org/20250113235835.vqgvb7cdspksy5dn@jpoimboe
Reported-by: Klaus Kusche <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/ee25c0b7e80113e950bd1d4c208b671d35774ff4.1736891751.git.jpoimboe@kernel.org
Signed-off-by: Sasha Levin <[email protected]>
(cherry picked from commit 5b1c485)
Conflicts:
tools/objtool/check.c
[Handle 765ecc2:("objtool: Handle various symbol types of rodata")]
Signed-off-by: Wentao Guan <[email protected]>1 parent ac944fe commit 4536550
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2079 | 2079 | | |
2080 | 2080 | | |
2081 | 2081 | | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
2082 | 2090 | | |
2083 | 2091 | | |
2084 | 2092 | | |
| |||
2103 | 2111 | | |
2104 | 2112 | | |
2105 | 2113 | | |
| 2114 | + | |
2106 | 2115 | | |
2107 | 2116 | | |
2108 | 2117 | | |
| |||
0 commit comments