further incremental LTO linking. We do not do repeated incremental linking
so silence the warning (instead of passing -flinker-output=nolto-rel). */
#undef LTO_PLUGIN_SPEC
-#define LTO_PLUGIN_SPEC "%{!mrtp:-plugin-opt=-linker-output-auto-notlo-rel}"
+#define LTO_PLUGIN_SPEC "%{!mrtp:-plugin-opt=-linker-output-auto-nolto-rel}"
-nop: Instead of running lto-wrapper, pass the original to the plugin. This
only works if the input files are hybrid.
-linker-output-known: Do not determine linker output
- -linker-output-auto-notlo-rel: Switch from rel to nolto-rel mode without
+ -linker-output-auto-nolto-rel: Switch from rel to nolto-rel mode without
warning. This is used on systems like VxWorks (kernel) where the link is
always partial and repeated incremental linking is generally not used.
-sym-style={none,win32,underscore|uscore}
{
if (strcmp (option, "-linker-output-known") == 0)
linker_output_known = true;
- else if (strcmp (option, "-linker-output-auto-notlo-rel") == 0)
+ /* Also accept "notlo" for backwards compatibility. */
+ else if ((strcmp (option, "-linker-output-auto-nolto-rel") == 0)
+ || (strcmp (option, "-linker-output-auto-notlo-rel") == 0))
linker_output_auto_nolto_rel = true;
else if (strcmp (option, "-debug") == 0)
debug = true;