Message ID | 20220919165735.4106606-1-torbjorn.svensson@foss.st.com |
---|---|
State | Committed |
Commit | 86291da0057d01efdaba71f28cad80b69dc703a4 |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0847B3858D39 for <patchwork@sourceware.org>; Mon, 19 Sep 2022 16:58:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0847B3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663606709; bh=77wcjNYOvk4bxpaxnSbIvWvsBJkGOeAfbNE+rCxlHY0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=gHEKBL72rXywvg04EYnb+kRC7tcQVC2zz4F7YrNSzz6yUMVveuAI1kk2PeSy7D2Jf dqZQln5v/F6zzeYNqOu5G21ux+wnqI86sztRlOCgWPCps863HM4jVP6+ljUVWIyQ1W dpI0WnzdFJwSwIEA7b2OETf1cgKazHa64lCPdcJ8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by sourceware.org (Postfix) with ESMTPS id 0DB793858D28 for <gcc-patches@gcc.gnu.org>; Mon, 19 Sep 2022 16:57:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0DB793858D28 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28JEG9o9015377; Mon, 19 Sep 2022 18:57:52 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jn6a0nbdq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Sep 2022 18:57:52 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 65C0910002A; Mon, 19 Sep 2022 18:57:51 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 60A7324C43A; Mon, 19 Sep 2022 18:57:51 +0200 (CEST) Received: from jkgcxl0002.jkg.st.com (10.75.127.47) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Mon, 19 Sep 2022 18:57:48 +0200 To: <gcc-patches@gcc.gnu.org> Subject: [PATCH] testsuite: Do not prefix linker script with "-Wl," Date: Mon, 19 Sep 2022 18:57:35 +0200 Message-ID: <20220919165735.4106606-1-torbjorn.svensson@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-19_05,2022-09-16_01,2022-06-22_01 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: =?utf-8?q?Torbj=C3=B6rn_SVENSSON_via_Gcc-patches?= <gcc-patches@gcc.gnu.org> Reply-To: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com> Cc: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= <torbjorn.svensson@foss.st.com> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Series |
testsuite: Do not prefix linker script with "-Wl,"
|
|
Commit Message
Torbjorn SVENSSON
Sept. 19, 2022, 4:57 p.m. UTC
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(-)
Comments
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] } {