]> err.no Git - linux-2.6/blobdiff - scripts/mod/modpost.c
[PATCH] Fix section mismatch in parainstructions
[linux-2.6] / scripts / mod / modpost.c
index 2e1141623147887ffa2f91bb6e53b362a0a5f821..15ab5d02e80a1689a554dac4893cd1edb910c26c 100644 (file)
@@ -911,6 +911,7 @@ static int init_section_ref_ok(const char *name)
                ".toc1",  /* used by ppc64 */
                ".stab",
                ".rodata",
+               ".parainstructions",
                ".text.lock",
                "__bug_table", /* used by powerpc for BUG() */
                ".pci_fixup_header",
@@ -931,6 +932,7 @@ static int init_section_ref_ok(const char *name)
                ".altinstructions",
                ".eh_frame",
                ".debug",
+               ".parainstructions",
                NULL
        };
        /* part of section name */
@@ -995,6 +997,7 @@ static int exit_section_ref_ok(const char *name)
                "__bug_table", /* used by powerpc for BUG() */
                ".exitcall.exit",
                ".eh_frame",
+               ".parainstructions",
                ".stab",
                "__ex_table",
                ".fixup",