twx-linux/tools/objtool/include/objtool
Josh Poimboeuf 08feafe8d1 objtool: Fix function fallthrough detection for vmlinux
Objtool's function fallthrough detection only works on C objects.
The distinction between C and assembly objects no longer makes sense
with objtool running on vmlinux.o.

Now that copy_user_64.S has been fixed up, and an objtool sibling call
detection bug has been fixed, the asm code is in "compliance" and this
hack is no longer needed.  Remove it.

Fixes: ed53a0d97192 ("x86/alternative: Use .ibt_endbr_seal to seal indirect calls")
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/b434cff98eca3a60dcc64c620d7d5d405a0f441c.1649718562.git.jpoimboe@redhat.com
2022-04-19 21:58:53 +02:00
..
arch.h objtool: Add IBT/ENDBR decoding 2022-03-15 10:32:46 +01:00
builtin.h objtool: Validate IBT assumptions 2022-03-15 10:32:46 +01:00
cfi.h objtool: Introduce CFI hash 2021-09-15 15:51:45 +02:00
check.h objtool: Read the NOENDBR annotation 2022-03-15 10:32:46 +01:00
elf.h objtool: Ignore extra-symbol code 2022-03-15 10:32:43 +01:00
endianness.h
objtool.h objtool: Fix function fallthrough detection for vmlinux 2022-04-19 21:58:53 +02:00
special.h
warn.h objtool: Have WARN_FUNC fall back to sym+off 2022-03-15 10:32:32 +01:00