From: Torbjörn SVENSSON Date: Mon, 19 Sep 2022 16:52:50 +0000 (+0200) Subject: testsuite: Do not prefix linker script with "-Wl," X-Git-Tag: basepoints/gcc-14~4218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86291da0057d01efdaba71f28cad80b69dc703a4;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/lib/gcc-defs.exp b/gcc/testsuite/lib/gcc-defs.exp index 42ef1d854321..2102ed6f7a3d 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] } {