summaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r--scripts/mod/modpost.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 9917f928d0fd..4ff08a0ef5d3 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -840,8 +840,7 @@ static const char *const section_white_list[] =
840 ".debug*", 840 ".debug*",
841 ".cranges", /* sh64 */ 841 ".cranges", /* sh64 */
842 ".zdebug*", /* Compressed debug sections. */ 842 ".zdebug*", /* Compressed debug sections. */
843 ".GCC-command-line", /* mn10300 */ 843 ".GCC.command.line", /* record-gcc-switches */
844 ".GCC.command.line", /* record-gcc-switches, non mn10300 */
845 ".mdebug*", /* alpha, score, mips etc. */ 844 ".mdebug*", /* alpha, score, mips etc. */
846 ".pdr", /* alpha, score, mips etc. */ 845 ".pdr", /* alpha, score, mips etc. */
847 ".stab*", 846 ".stab*",
@@ -1104,8 +1103,8 @@ static const struct sectioncheck *section_mismatch(
1104 /* 1103 /*
1105 * The target section could be the SHT_NUL section when we're 1104 * The target section could be the SHT_NUL section when we're
1106 * handling relocations to un-resolved symbols, trying to match it 1105 * handling relocations to un-resolved symbols, trying to match it
1107 * doesn't make much sense and causes build failures on parisc and 1106 * doesn't make much sense and causes build failures on parisc
1108 * mn10300 architectures. 1107 * architectures.
1109 */ 1108 */
1110 if (*tosec == '\0') 1109 if (*tosec == '\0')
1111 return NULL; 1110 return NULL;