diff --git a/include/linux/compiler.h b/include/linux/compiler.h index bb1339c7057b..e48a70aa9b7f 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -125,7 +125,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val, #define annotate_unreachable() __annotate_unreachable(__COUNTER__) /* Annotate a C jump table to allow objtool to follow the code flow */ -#define __annotate_jump_table __section(".rodata..c_jump_table") +#define __annotate_jump_table __section(".rodata..c_jump_table,\"a\",@progbits #") #else /* !CONFIG_OBJTOOL */ #define annotate_unreachable()