summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-03-03 21:05:45 +0100
committerIngo Molnar <mingo@kernel.org>2025-03-03 21:05:45 +0100
commit1fff9f8730b00c39ec5055656e45ef69acd9409a (patch)
tree96fea59eb525c4e76ec0872ff74962c6f28fab8b /include/linux/compiler.h
parent604ea3e90b17f27928a64d86259c57710c254438 (diff)
parent7eb172143d5508b4da468ed59ee857c6e5e01da6 (diff)
Merge tag 'v6.14-rc5' into x86/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r--include/linux/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index aa7f0a9f6085..e80d0f04d78f 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -110,7 +110,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
/* Unreachable code */
#ifdef CONFIG_OBJTOOL
/* Annotate a C jump table to allow objtool to follow the code flow */
-#define __annotate_jump_table __section(".rodata..c_jump_table,\"a\",@progbits #")
+#define __annotate_jump_table __section(".data.rel.ro.c_jump_table")
#else /* !CONFIG_OBJTOOL */
#define __annotate_jump_table
#endif /* CONFIG_OBJTOOL */