From: H.J. Lu Date: Mon, 6 Dec 2010 23:35:13 +0000 (+0000) Subject: Add -flto and -flto-partition=. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94bf3a11ec367f7c9fb94149acc9eaf141ed3de0;p=binutils-gdb.git Add -flto and -flto-partition=. 2010-12-06 H.J. Lu * lexsup.c (ld_options): Add -flto and -flto-partition= for GCC LTO option compatibility. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 16a134ad261..10836b053f0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2010-12-06 H.J. Lu + + * lexsup.c (ld_options): Add -flto and -flto-partition= for + GCC LTO option compatibility. + 2010-12-06 H.J. Lu PR ld/12288 diff --git a/ld/lexsup.c b/ld/lexsup.c index e4356bc2003..acb63fb9da4 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 },