From patchwork Mon Aug 28 04:32:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 137004 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3109834vqm; Sun, 27 Aug 2023 21:33:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGivRt5+h01fiKJj6WR0PaCmv6eDLUwv7mJ46lVvr2m06IND/BjeouiwgYvLoIvPOa2bVa3 X-Received: by 2002:a17:906:cc50:b0:9a2:143e:a062 with SMTP id mm16-20020a170906cc5000b009a2143ea062mr7828888ejb.49.1693197209408; Sun, 27 Aug 2023 21:33:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693197209; cv=pass; d=google.com; s=arc-20160816; b=aBYNvbUUpAwaMsFbnqy6v/EXSjNB8DavU/p8sbVo11DsUG5sZJKzYSHOWHw23g2FFR IGNo4bnEEGWBtxhMEOGIjRnPplp211Ebu8hpzmUnaRlSAoGeEVClIkhrLgK0viV1Xg32 lulgneYjq2T6efm4qYcI+ndlc5Vplk9QoAmHv2uKlDnKKiJPk5H737KilFFsOJ2AaWPe VqI+nzmf5a03WvFv3LWv4kd42n89f6vnjKIbsvINr5718cFh3g0H0X3EbU+slb/riFdb Qnd+VQ7bRKiF9RTkKdXpIrT/z0xNRFdxzhq5BSX8NpyDH5SaQwi8FkuEwW8lQk/j5ZZz e0Cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature:dmarc-filter:delivered-to; bh=nRqhyExmuGaCfCAuWXzaoD2PnGzi62v8Ip0m1QO8Osw=; fh=kxm2C2wSsiOJ6uzYknWdJXzhjqpAT3BNcPQeQ/2BlkQ=; b=rhasQIkVzqaqVOPkLts/lQE1C0vIHoV+w0hGyPSifc20Dw1ZzTSxkZ2ZBHDSxiUr02 BhP/8Wf1F0v+tNWX4qWOXSKkJ8n8nkg00kJPvA0LxGuznTGuWmU6cmHDxSdcwSBBdEEA XEekJBEGYxXvpi2RJE7G4YzTAZq6MD70JZrEtIkzsnLnY5Hgh81+ptmMw6SHHNCwIaWi jI0x8bfh3AQ/UC5rcqjNGBm+F6LVdEMOduybxnVkrfzyji+Fg3MPf7zUyBEzFE7I06Jn l/QIYlb/x+8da9soqXue9fTmaKSLwFtw0Zq/5dIZE/yeWD7Xwi93eEC3vqvW0XagTWMR HcSQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=n98Vtw7r; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id dk24-20020a170906f0d800b00992dc9d6b8bsi3848406ejb.789.2023.08.27.21.33.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 21:33:29 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=n98Vtw7r; arc=pass (i=1 spf=pass spfdomain=cipunited.com dkim=pass dkdomain=cipunited.com dmarc=pass fromdomain=cipunited.com); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 95813385841F for ; Mon, 28 Aug 2023 04:33:27 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2133.outbound.protection.outlook.com [40.107.255.133]) by sourceware.org (Postfix) with ESMTPS id 1CBA03858D33 for ; Mon, 28 Aug 2023 04:33:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1CBA03858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cipunited.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cipunited.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jTzHmKVCBAGQEHR9CpiIHRwO+rl6p5QVehZn+DAS8sqNZnb0t1o3Tk9yyzYKGqxaEfuuCyizTiRJ5nGp0oMMo4p3qWuYJPQQixuJK1FmXu/mOkSagmvVvTVfPy57T3S6HcSgtNEXN48aBAKtOaENT0TsXTkoy23r3JQgMjcSCxeVK36clB4X+fT9ieaGHGPzj4hlnX1jw+SE8f5hGPDDExnK9BDNc9tXsDVWYAs9xs64vPS/Kt1ZUNXMH+eDhs59fNBn+1lx8RF6BVMekNeLAPC5/I3v8rHXGEN/4GbPmJ4u1tpAqdkfZ+nK97zr+5ebCA0IUmNeR2ZzdJLEvxjxQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nRqhyExmuGaCfCAuWXzaoD2PnGzi62v8Ip0m1QO8Osw=; b=hrhRV0gw4wQ11afu/gyrhVGyejmG9p+uYwv9HuXFopKA5ZWYgE59IbXgo/U8d5dkH3cR13eImJ4iP8Gooj7Ddkq+65k5XpgZdeIg3dujWkOXSEY0TXbN54rvZ1XCsl3zd9uUYLPaTGgWIm/drqmCkdzVEEgtFVdDZOHumLf/JCvGGYfTxdiovt3KhmmqGBNdzLXyPfYHOD/UoaBOiYlwWoFuLRg/f+fQqgpoLEn+Z1i82JdxxQ3mtq+w58M3d8hwBaQ4ZIOshRrQaNInPN4UuIL17U2yDiScR+d4s9NS8QkpXMdGHe0F/4FihPjN6kx1vQFvvRmG15Z2nIV2M2rHEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cipunited.com; dmarc=pass action=none header.from=cipunited.com; dkim=pass header.d=cipunited.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cipunited.onmicrosoft.com; s=selector1-cipunited-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nRqhyExmuGaCfCAuWXzaoD2PnGzi62v8Ip0m1QO8Osw=; b=n98Vtw7r6ubu97CsxaP36vJeQU+aXUbMHLCxiP9NA/9rPkpCdDVb/UyW9xWhYgec7JAFDXgGHdc65l24i26ZstdYnTPvzB9i7OUSgXG4hzIMKnb26V8D4ukV8OLemsDTdSAuVudxkR1wouULx7QsrSXseNXqdYhPfbmsD5zpRYM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) by SEZPR04MB7245.apcprd04.prod.outlook.com (2603:1096:101:188::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.34; Mon, 28 Aug 2023 04:33:11 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::b15:a53e:604e:a735%3]) with mapi id 15.20.6699.034; Mon, 28 Aug 2023 04:33:11 +0000 From: YunQiang Su To: macro@orcam.me.uk Cc: binutils@sourceware.org, YunQiang Su Subject: [PATCH] GAS/MIPS: Fix testcase module-defer-warn2 for r2+ triples Date: Mon, 28 Aug 2023 00:32:43 -0400 Message-Id: <20230828043243.2243555-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SG2PR01CA0183.apcprd01.prod.exchangelabs.com (2603:1096:4:189::16) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|SEZPR04MB7245:EE_ X-MS-Office365-Filtering-Correlation-Id: df9dc355-4615-4f26-0aff-08dba77fe283 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +tMdYQ7Gz2pXNar/caav4mS/h7VQ4xC5LKNCZiKqZxe1cUzvCBFgiSil58ISGc5F6ovSLoDf/XwY+VdsKndY4tHvZFF21vpv9WkGXU99lqNaNEIH3+HHHTDgkAwSz0keKClm9diCB7tdiXfoSFB3/YQqu5hKy7wdJ8g/M6jEjXVhrjpyIMGfamwEtibUrqzQ1dNNZR9bD7OakI54uE4wB/MfndkRlDo3eFr847Y7SA3pPVjJhlnehSDXaQN3TGnL+y6CD/YaO8rnF4C1ziUfNDAjdJ99Qy2nv6/Krvjp5n3o2VF+ob2nxLKA+HzNQJKLh94su+l7+INDRcdCwM50TBukJHPd2QRCuXU8iaHlfa0k5TqimegjhBeX2TE7Rf2r/Z6RjAsxtXOo+rpIS7sZpzrMuAXtt/ivxaW0LpObV3RpBNoAptnYVgOmI/GmUbsd7eJ8gNFJqAZNAr7bHLGxUI+wvnEwVJA7B4tTdQJPtlb0hf+1pgSJ+RYD/woQC9RIbg46Nk89s3suxX1rhYMCnUt22M5w10KUGtV/X75QdKXUwSIBgyumIwrpkb55S/39Fha4yKKp020dHQkAt8xQsRCwQ0llO3PMceXEMvrZPz+jgVPtrezM8kDh507OEwjo X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB6117.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(136003)(346002)(39830400003)(366004)(451199024)(1800799009)(186009)(478600001)(83380400001)(26005)(1076003)(6486002)(2616005)(6512007)(107886003)(52116002)(6506007)(6666004)(86362001)(5660300002)(316002)(6916009)(36756003)(38350700002)(4326008)(38100700002)(66556008)(66476007)(41300700001)(8936002)(8676002)(66946007)(2906002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xBz1mdvEHVDUwWMXNsQwFiw7zJEhNyCO41avvSopM/k/ppinmSzTyr4MpqE/erfhDzP2sj1DDvvRdddCM58EyqxiNvXtXD4w0XADsbxlBSAhETWrgyZrk7LJXJGS4yupmyqn1zdCx6igu2jvY1gUv06vHo2S/GJbHZHvDJIM18cnJzhBDf/2Zux9nTTrt2Zl5mQ67HMWJkpkZ1FmePSZu3LfMA3U+NGIyhisZixsJGbvmJJevUDpewTZJ5VBpUDPodRJySZAu/A463tFfeu4oC6h2msNsa/JRhD5+zZBdjBhLvQ+hEe/YwSRAeMnYKT+vRNXFl+T5G6tKEuYti2u4jjUWGAtOBcVDJIfeAeRO5gljbiyVV8H0zllR6AUO3Jd4EVRVs0TTMWFCwP9EJn+frRc2+mrqpCywr9UiprZbqKhRtoG0+T54TNv6jepof7oLyTMK54WyTtI9GVFPP0QUbtbnMf3sj5EtmGgnl4b8RWbRTjlY8VryAQ1HHsZtLa5gbexGfNYgdT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4l8eXc8Z/fRg4A== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: df9dc355-4615-4f26-0aff-08dba77fe283 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2023 04:33:10.9996 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e31cf5b5-ee69-4d5f-9c69-edeeda2458c0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: F2wQcEaYp1mpEe/R3WoNAXWrVVeGHu7r6MTP7wID9w8k3gsB9PyddFlx95Xnsmo7Tjy6d32743NtpnLlx9G2QItX4Ha9+E+9f588KxU762I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB7245 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775445957193889972 X-GMAIL-MSGID: 1775445957193889972 When gas is configured with --target=mipsisa32r2el-elf, module-defer-warn2 will fail: /binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.s: Assembler messages: /binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.s:2: Error: `gp=64' used with a 32-bit processor extra regexps in /binutils-gdb/gas/testsuite/gas/mips/module-defer-warn2.l starting with "^.*:2: .*: `fp=64' used with a 32-bit.*$" EOF from dump.out FAIL: mips module-defer-warn2 The reason is that fp64 is allowed for mips32r2 and onward, so the error message `Error: `fp=64' used with a 32-bit fpu` won't emit. --- gas/testsuite/gas/mips/module-defer-warn2.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/testsuite/gas/mips/module-defer-warn2.l b/gas/testsuite/gas/mips/module-defer-warn2.l index bd37c299434..95ceb647b94 100644 --- a/gas/testsuite/gas/mips/module-defer-warn2.l +++ b/gas/testsuite/gas/mips/module-defer-warn2.l @@ -1,3 +1,3 @@ .*: Assembler messages: .*:2: Error: `gp=64' used with a 32-bit.* -.*:2: .*: `fp=64' used with a 32-bit.* +#?.*:2: .*: `fp=64' used with a 32-bit.*