Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
[firefly-linux-kernel-4.4.55.git] / scripts / mod / modpost.c
index c4b5398687b8d62ebc6c978e11bc9753deef6117..65bdfdb56877ee0297d9e605384caedbcbed286c 100644 (file)
@@ -961,7 +961,7 @@ static int init_section_ref_ok(const char *name)
                ".opd",   /* see comment [OPD] at exit_section_ref_ok() */
                ".toc1",  /* used by ppc64 */
                ".stab",
-               ".rodata",
+               ".data.rel.ro", /* used by parisc64 */
                ".parainstructions",
                ".text.lock",
                "__bug_table", /* used by powerpc for BUG() */
@@ -984,6 +984,7 @@ static int init_section_ref_ok(const char *name)
                ".eh_frame",
                ".debug",
                ".parainstructions",
+               ".rodata",
                NULL
        };
        /* part of section name */