diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-02-08 18:18:03 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-02-23 09:21:33 +0100 |
commit | a706bb08c81ac878982e41d4b6abcc42258bd39e (patch) | |
tree | a0e12ccd90ce655c86630394477c4f81b53187d9 /arch/x86 | |
parent | objtool: Union instruction::{call_dest,jump_table} (diff) | |
download | linux-a706bb08c81ac878982e41d4b6abcc42258bd39e.tar.xz linux-a706bb08c81ac878982e41d4b6abcc42258bd39e.zip |
objtool: Fix overlapping alternatives
Things like ALTERNATIVE_{2,3}() generate multiple alternatives on the
same place, objtool would override the first orig_alt_group with the
second (or third), failing to check the CFI among all the different
variants.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build only
Tested-by: Thomas Weißschuh <linux@weissschuh.net> # compile and run
Link: https://lore.kernel.org/r/20230208172245.711471461@infradead.org
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions