Message ID | 87fvy0r880.fsf@rustcorp.com.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index a4be8e1..3d155dd 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -884,7 +884,7 @@ static void check_section(const char *modname, struct elf_info *elf, #define ALL_EXIT_SECTIONS EXIT_SECTIONS, ALL_XXXEXIT_SECTIONS #define DATA_SECTIONS ".data$", ".data.rel$" -#define TEXT_SECTIONS ".text$" +#define TEXT_SECTIONS ".text$", ".text.unlikely$" #define INIT_SECTIONS ".init.*" #define CPU_INIT_SECTIONS ".cpuinit.*"