Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

objtool: Skip non-canonical aliased symbols in add_jump_table_alts()

If a symbol has aliases, make add_jump_table_alts() skip the
non-canonical ones to avoid any surprises.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/169aa17564b9aadb74897945ea74ac2eb70c5b13.1763671318.git.jpoimboe@kernel.org

authored by

Josh Poimboeuf and committed by
Peter Zijlstra
a91a61b2 9205a322

+1 -1
+1 -1
tools/objtool/check.c
··· 2197 2197 return 0; 2198 2198 2199 2199 for_each_sym(file->elf, func) { 2200 - if (!is_func_sym(func)) 2200 + if (!is_func_sym(func) || func->alias != func) 2201 2201 continue; 2202 2202 2203 2203 mark_func_jump_tables(file, func);