GNU Binutils with patches for OS216
Revision | 88b9e2eb547b002431ae7e4b7799f1a06241da3c (tree) |
---|---|
Time | 2015-02-12 07:10:07 |
Author | H.J. Lu <hjl.tools@gmai...> |
Commiter | H.J. Lu |
Add --[no-]map-whole-files for gold compatibility
Gold supports:
This patch adds --[no-]map-whole-files command line options for gold
compatibility. They are ignored for ld.
* lexsup.c (ld_options): Add --[no-]map-whole-files for gold
option compatibility.
@@ -1,5 +1,10 @@ | ||
1 | 1 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
2 | 2 | |
3 | + * lexsup.c (ld_options): Add --[no-]map-whole-files for gold | |
4 | + option compatibility. | |
5 | + | |
6 | +2015-02-11 H.J. Lu <hongjiu.lu@intel.com> | |
7 | + | |
3 | 8 | * plugin.c (message): Output "warning:" for LDPL_WARNING. Output |
4 | 9 | "error:" for LDPL_FATAL and LDPL_ERROR. |
5 | 10 | * testplug2.c (parse_option): Handle fatal, error and warning. |
@@ -176,6 +176,12 @@ static const struct ld_option ld_options[] = | ||
176 | 176 | { {"fuse-ld=", required_argument, NULL, OPTION_IGNORE}, |
177 | 177 | '\0', NULL, N_("Ignored for GCC linker option compatibility"), |
178 | 178 | ONE_DASH }, |
179 | + { {"map-whole-files", optional_argument, NULL, OPTION_IGNORE}, | |
180 | + '\0', NULL, N_("Ignored for gold option compatibility"), | |
181 | + TWO_DASHES }, | |
182 | + { {"no-map-whole-files", optional_argument, NULL, OPTION_IGNORE}, | |
183 | + '\0', NULL, N_("Ignored for gold option compatibility"), | |
184 | + TWO_DASHES }, | |
179 | 185 | { {"Qy", no_argument, NULL, OPTION_IGNORE}, |
180 | 186 | '\0', NULL, N_("Ignored for SVR4 compatibility"), ONE_DASH }, |
181 | 187 | { {"emit-relocs", no_argument, NULL, 'q'}, |