X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Fmod%2Fmodpost.c;h=78b30c1548e9d19f5827f4ad26f0715be4b040b0;hb=0ca7ffb356063c5ece847687da457dfe748612a2;hp=ff36c508a10e635812e71c21891c829fd4d5069b;hpb=d7df025eb4c3c571532326b01e007be52c75e5c0;p=linux-2.6-microblaze.git diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index ff36c508a10e..78b30c1548e9 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -830,6 +830,8 @@ static const char *section_white_list[] = ".toc*", ".xt.prop", /* xtensa */ ".xt.lit", /* xtensa */ + ".arcextmap*", /* arc */ + ".gnu.linkonce.arcext*", /* arc : modules */ NULL }; @@ -2126,7 +2128,7 @@ int main(int argc, char **argv) struct ext_sym_list *extsym_iter; struct ext_sym_list *extsym_start = NULL; - while ((opt = getopt(argc, argv, "i:I:e:cmsSo:awM:K:")) != -1) { + while ((opt = getopt(argc, argv, "i:I:e:msSo:awM:K:")) != -1) { switch (opt) { case 'i': kernel_read = optarg; @@ -2135,9 +2137,6 @@ int main(int argc, char **argv) module_read = optarg; external_module = 1; break; - case 'c': - cross_build = 1; - break; case 'e': external_module = 1; extsym_iter =