objtool: Use relative pointers for annotations
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 1 Mar 2023 15:13:08 +0000 (07:13 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 23 Mar 2023 22:18:56 +0000 (23:18 +0100)
commit1c0c1faf5692c18c127d044ecc0cc92c7bab3477
tree21d11486a47c6c509fc5b2fc56cd9fd525d0643d
parentf7515d9fe8fc4b80754cd4d98a5fcaee84adeebb
objtool: Use relative pointers for annotations

They produce the needed relocations while using half the space.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/bed05c64e28200220c9b1754a2f3ce71f73076ea.1677683419.git.jpoimboe@kernel.org
arch/x86/include/asm/nospec-branch.h
include/linux/objtool.h