aboutsummaryrefslogtreecommitdiff
path: root/include/linux/cfi.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-03-08 16:30:43 +0100
committerPeter Zijlstra <peterz@infradead.org>2022-03-15 10:32:42 +0100
commit2b6ff7dea670a4623fae1d2349806fc7f8e305d1 (patch)
treec8c16ea89d104ee3202c62f3390f4d09a1b8bf78 /include/linux/cfi.h
parente8d61bdf0fdfaeaf35fb5a63d6e67e60038b88e0 (diff)
x86/ibt: Dont generate ENDBR in .discard.text
Having ENDBR in discarded sections can easily lead to relocations into discarded sections which the linkers aren't really fond of. Objtool also shouldn't generate them, but why tempt fate. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lore.kernel.org/r/20220308154319.054842742@infradead.org
Diffstat (limited to 'include/linux/cfi.h')
0 files changed, 0 insertions, 0 deletions