diff options
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 7 |
1 files changed, 3 insertions, 4 deletions
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[] = | |||
830 | ".toc*", | 830 | ".toc*", |
831 | ".xt.prop", /* xtensa */ | 831 | ".xt.prop", /* xtensa */ |
832 | ".xt.lit", /* xtensa */ | 832 | ".xt.lit", /* xtensa */ |
833 | ".arcextmap*", /* arc */ | ||
834 | ".gnu.linkonce.arcext*", /* arc : modules */ | ||
833 | NULL | 835 | NULL |
834 | }; | 836 | }; |
835 | 837 | ||
@@ -2126,7 +2128,7 @@ int main(int argc, char **argv) | |||
2126 | struct ext_sym_list *extsym_iter; | 2128 | struct ext_sym_list *extsym_iter; |
2127 | struct ext_sym_list *extsym_start = NULL; | 2129 | struct ext_sym_list *extsym_start = NULL; |
2128 | 2130 | ||
2129 | while ((opt = getopt(argc, argv, "i:I:e:cmsSo:awM:K:")) != -1) { | 2131 | while ((opt = getopt(argc, argv, "i:I:e:msSo:awM:K:")) != -1) { |
2130 | switch (opt) { | 2132 | switch (opt) { |
2131 | case 'i': | 2133 | case 'i': |
2132 | kernel_read = optarg; | 2134 | kernel_read = optarg; |
@@ -2135,9 +2137,6 @@ int main(int argc, char **argv) | |||
2135 | module_read = optarg; | 2137 | module_read = optarg; |
2136 | external_module = 1; | 2138 | external_module = 1; |
2137 | break; | 2139 | break; |
2138 | case 'c': | ||
2139 | cross_build = 1; | ||
2140 | break; | ||
2141 | case 'e': | 2140 | case 'e': |
2142 | external_module = 1; | 2141 | external_module = 1; |
2143 | extsym_iter = | 2142 | extsym_iter = |