public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2989] testsuite: Do not prefix linker script with "-Wl,"
@ 2022-09-30 16:25 Torbjorn Svensson
0 siblings, 0 replies; only message in thread
From: Torbjorn Svensson @ 2022-09-30 16:25 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:86291da0057d01efdaba71f28cad80b69dc703a4
commit r13-2989-g86291da0057d01efdaba71f28cad80b69dc703a4
Author: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Date: Mon Sep 19 18:52:50 2022 +0200
testsuite: Do not prefix linker script with "-Wl,"
The linker script should not be prefixed with "-Wl," - it's not an
input file and does not interfere with the new dump output filename
strategy.
gcc/testsuite/ChangeLog:
* lib/gcc-defs.exp: Do not prefix linker script with "-Wl,".
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diff:
---
gcc/testsuite/lib/gcc-defs.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/lib/gcc-defs.exp b/gcc/testsuite/lib/gcc-defs.exp
index 42ef1d85432..2102ed6f7a3 100644
--- a/gcc/testsuite/lib/gcc-defs.exp
+++ b/gcc/testsuite/lib/gcc-defs.exp
@@ -332,7 +332,7 @@ proc gcc_adjust_linker_flags_list { args } {
continue
} elseif { $skip != "" } then {
set skip ""
- } elseif { $opt == "-Xlinker" } then {
+ } elseif { $opt == "-Xlinker" || $opt == "-T" } then {
set skip $opt
} elseif { ![string match "-*" $opt] \
&& [file isfile $opt] } {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-30 16:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30 16:25 [gcc r13-2989] testsuite: Do not prefix linker script with "-Wl," Torbjorn Svensson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).