kbuild: fix false section mismatch with ARCH=um build
authorSam Ravnborg <sam@mars.ravnborg.org>
Thu, 8 Jun 2006 18:37:30 +0000 (20:37 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Thu, 8 Jun 2006 18:37:30 +0000 (20:37 +0200)
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>
scripts/mod/modpost.c

index 94047bc99961eb62253cc197311788d906312cd9..a70f5ddb705cd8d5e08474f2d76e56642340582a 100644 (file)
@@ -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 */
@@ -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 */