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/include | |
parent | c6f5dc28fb3d736fa8d7f7d31e0664a9c772c299 (diff) |
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/include')
0 files changed, 0 insertions, 0 deletions