diff options
author | Peter Zijlstra <[email protected]> | 2022-09-15 13:11:13 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-10-17 16:41:08 +0200 |
commit | 08ef8c40112b8cd157515cd532f65cb82c934a76 (patch) | |
tree | 08ef77d8801a888a385cf97dcfd61f49599607b4 /lib/mpi/mpi-sub-ui.c | |
parent | 5da6aea375cde499fdfac3cde4f26df4a840eb9f (diff) |
objtool: Allow symbol range comparisons for IBT/ENDBR
A semi common pattern is where code checks if a code address is
within a specific range. All text addresses require either ENDBR or
ANNOTATE_ENDBR, however the ANNOTATE_NOENDBR past the range is
unnatural.
Instead, suppress this warning when this is exactly at the end of a
symbol that itself starts with either ENDBR/ANNOTATE_ENDBR.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions