Message ID | 20220919165735.4106606-1-torbjorn.svensson@foss.st.com |
---|---|
State | New |
Headers | show |
Series | testsuite: Do not prefix linker script with "-Wl," | expand |
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] } {
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] } {
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] } {
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] } {
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(-)