public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] testsuite: Do not prefix linker script with "-Wl,"
@ 2022-09-19 16:57 Torbjörn SVENSSON
  2022-09-28  9:18 ` PING^1 " Torbjorn SVENSSON
  0 siblings, 1 reply; 4+ messages in thread
From: Torbjörn SVENSSON @ 2022-09-19 16:57 UTC (permalink / raw)
  To: gcc-patches; +Cc: yvan.roux, ro, mikestump, Torbjörn SVENSSON

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>
---
 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] } {
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* PING^1 [PATCH] testsuite: Do not prefix linker script with "-Wl,"
  2022-09-19 16:57 [PATCH] testsuite: Do not prefix linker script with "-Wl," Torbjörn SVENSSON
@ 2022-09-28  9:18 ` Torbjorn SVENSSON
  2022-09-28 14:08   ` Christophe Lyon
  2022-09-30 16:19   ` Richard Sandiford
  0 siblings, 2 replies; 4+ messages in thread
From: Torbjorn SVENSSON @ 2022-09-28  9:18 UTC (permalink / raw)
  To: gcc-patches; +Cc: yvan.roux, ro, mikestump, richard.sandiford

Hi,

Ping: https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601831.html

Kind regards,
Torbjörn

On 2022-09-19 18:57, Torbjörn SVENSSON wrote:
> 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>
> ---
>   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] 4+ messages in thread

* Re: PING^1 [PATCH] testsuite: Do not prefix linker script with "-Wl,"
  2022-09-28  9:18 ` PING^1 " Torbjorn SVENSSON
@ 2022-09-28 14:08   ` Christophe Lyon
  2022-09-30 16:19   ` Richard Sandiford
  1 sibling, 0 replies; 4+ messages in thread
From: Christophe Lyon @ 2022-09-28 14:08 UTC (permalink / raw)
  To: Torbjorn SVENSSON, gcc-patches; +Cc: richard.sandiford



On 9/28/22 11:18, Torbjorn SVENSSON via Gcc-patches wrote:
> Hi,
> 
> Ping: https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601831.html
> 
> Kind regards,
> Torbjörn
> 
> On 2022-09-19 18:57, Torbjörn SVENSSON wrote:
>> 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:
>>
I think you want to mention PR testsuite/95720 since it is related?

>>     * lib/gcc-defs.exp: Do not prefix linker script with "-Wl,".
>>
>> Signed-off-by: Torbjörn SVENSSON  <torbjorn.svensson@foss.st.com>
>> ---
>>   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] 4+ messages in thread

* Re: PING^1 [PATCH] testsuite: Do not prefix linker script with "-Wl,"
  2022-09-28  9:18 ` PING^1 " Torbjorn SVENSSON
  2022-09-28 14:08   ` Christophe Lyon
@ 2022-09-30 16:19   ` Richard Sandiford
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Sandiford @ 2022-09-30 16:19 UTC (permalink / raw)
  To: Torbjorn SVENSSON; +Cc: gcc-patches, yvan.roux, ro, mikestump

Torbjorn SVENSSON <torbjorn.svensson@foss.st.com> writes:
> Hi,
>
> Ping: https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601831.html

OK, thanks.

Richard

> Kind regards,
> Torbjörn
>
> On 2022-09-19 18:57, Torbjörn SVENSSON wrote:
>> 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>
>> ---
>>   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] 4+ messages in thread

end of thread, other threads:[~2022-09-30 16:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 16:57 [PATCH] testsuite: Do not prefix linker script with "-Wl," Torbjörn SVENSSON
2022-09-28  9:18 ` PING^1 " Torbjorn SVENSSON
2022-09-28 14:08   ` Christophe Lyon
2022-09-30 16:19   ` Richard Sandiford

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).