Skip to content

Commit

Permalink
kbuild: fix false section mismatch with ARCH=um build
Browse files Browse the repository at this point in the history
Ignoring references to .init.text, .exit.text from the .plt section brought
the false positives down to two warnings for a defconfig build of ARCH=um
on x86_64.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Sam Ravnborg committed Jun 8, 2006
1 parent 35899c5 commit 909252d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ static int init_section_ref_ok(const char *name)
".pdr",
"__param",
".smp_locks",
".plt", /* seen on ARCH=um build on x86_64. Harmless */
NULL
};
/* Start of section names */
Expand Down Expand Up @@ -894,6 +895,7 @@ static int exit_section_ref_ok(const char *name)
".eh_frame",
".stab",
".smp_locks",
".plt", /* seen on ARCH=um build on x86_64. Harmless */
NULL
};
/* Start of section names */
Expand Down

0 comments on commit 909252d

Please sign in to comment.