aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2021-12-01 11:53:45 +0100
committerRasmus Villemoes <rv@rasmusvillemoes.dk>2021-12-02 12:52:24 +0100
commit1ea226fad13ab696c6d5d17b7bbfc5b4b693c363 (patch)
tree1b7be61e3d132dec191db49ee4e1ce1708fb2a44 /gcc
parent1ac7a8c9e4798d352eb8c64905dd38086af4e1cd (diff)
downloadgcc-1ea226fad13ab696c6d5d17b7bbfc5b4b693c363.zip
gcc-1ea226fad13ab696c6d5d17b7bbfc5b4b693c363.tar.gz
gcc-1ea226fad13ab696c6d5d17b7bbfc5b4b693c363.tar.bz2
fix spelling of -linker-output-auto-nolto-rel
The transposition nolto -> notlo is confusing and it makes the long name even harder to read than it already is - I kept reading it as "not lo" until I realized it was a simple typo. Fixes: 5269b24605b1 (Silence warning in LTO mode on VxWorks) lto-plugin/ * lto-plugin.c: Fix -linker-output-auto-notlo-rel -> -linker-output-auto-nolto-rel typo. (process_option): Adjust accordingly, accepting both old and new spelling. gcc/ * config/vxworks.h (LTO_PLUGIN_SPEC): Adapt to corrected spelling of -linker-output-auto-nolto-rel.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/vxworks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h
index e41f16a..bddf2c3 100644
--- a/gcc/config/vxworks.h
+++ b/gcc/config/vxworks.h
@@ -306,4 +306,4 @@ extern void vxworks_emit_call_builtin___clear_cache (rtx begin, rtx end);
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}"