diff --git a/[refs] b/[refs] index 7569eb772978..2c09490b6bad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 56a974fa2d595fe6ebe433c525b8232ead539b76 +refs/heads/master: 1abe02fef95366208c264635a886785d18fd38bb diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 256b3d272e2e..fa33a6b92a9d 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -870,9 +870,12 @@ static void warn_sec_mismatch(const char *modname, const char *fromsec, return; /* fromsec whitelist - without a valid 'before' - * powerpc has a GOT table in .got2 section */ + * powerpc has a GOT table in .got2 section + * and also a .toc section */ if (strcmp(fromsec, ".got2") == 0) return; + if (strcmp(fromsec, ".toc") == 0) + return; if (before && after) { warn("%s(%s+0x%llx): Section mismatch: reference to %s:%s "