aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index ece09c55e09e..9c35f30d2eda 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1152,6 +1152,7 @@ static int init_section_ref_ok(const char *name)
1152 ".debug", 1152 ".debug",
1153 ".parainstructions", 1153 ".parainstructions",
1154 ".rodata", 1154 ".rodata",
1155 ".note", /* ignore ELF notes - may contain anything */
1155 NULL 1156 NULL
1156 }; 1157 };
1157 /* part of section name */ 1158 /* part of section name */
@@ -1228,6 +1229,7 @@ static int exit_section_ref_ok(const char *name)
1228 /* Start of section names */ 1229 /* Start of section names */
1229 const char *namelist2[] = { 1230 const char *namelist2[] = {
1230 ".debug", 1231 ".debug",
1232 ".note", /* ignore ELF notes - may contain anything */
1231 NULL 1233 NULL
1232 }; 1234 };
1233 /* part of section name */ 1235 /* part of section name */