diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 23:35:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 23:35:13 +0000 |
commit | 94bf3a11ec367f7c9fb94149acc9eaf141ed3de0 (patch) | |
tree | 756116507cc2ba8c51825d798eb5c1f30be33301 /ld | |
parent | 78536d6e46a7604ec448faa8a7a991bd358f6dfc (diff) | |
download | gdb-94bf3a11ec367f7c9fb94149acc9eaf141ed3de0.zip gdb-94bf3a11ec367f7c9fb94149acc9eaf141ed3de0.tar.gz gdb-94bf3a11ec367f7c9fb94149acc9eaf141ed3de0.tar.bz2 |
Add -flto and -flto-partition=.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
* lexsup.c (ld_options): Add -flto and -flto-partition= for
GCC LTO option compatibility.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/lexsup.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 16a134a..10836b0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2010-12-06 H.J. Lu <hongjiu.lu@intel.com> + * lexsup.c (ld_options): Add -flto and -flto-partition= for + GCC LTO option compatibility. + +2010-12-06 H.J. Lu <hongjiu.lu@intel.com> + PR ld/12288 * plugin.c (message): Don't add the trailing `\n' for LDPL_ERROR. diff --git a/ld/lexsup.c b/ld/lexsup.c index e4356bc..acb63fb 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -283,6 +283,12 @@ static const struct ld_option ld_options[] = '\0', N_("PLUGIN"), N_("Load named plugin"), ONE_DASH }, { {"plugin-opt", required_argument, NULL, OPTION_PLUGIN_OPT}, '\0', N_("ARG"), N_("Send arg to last-loaded plugin"), ONE_DASH }, + { {"flto", optional_argument, NULL, OPTION_IGNORE}, + '\0', NULL, N_("Ignored for GCC LTO option compatibility"), + ONE_DASH }, + { {"flto-partition=", required_argument, NULL, OPTION_IGNORE}, + '\0', NULL, N_("Ignored for GCC LTO option compatibility"), + ONE_DASH }, #endif /* ENABLE_PLUGINS */ { {"Qy", no_argument, NULL, OPTION_IGNORE}, '\0', NULL, N_("Ignored for SVR4 compatibility"), ONE_DASH }, |