From patchwork Fri Nov 24 08:55:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 169308 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp1013240vqx; Fri, 24 Nov 2023 00:56:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IErRLQbg3/Y5mG6Q73IWiuW3HSb/nsNrc2yWt/GQXGcLaifxb3ElvuEuCAXw1GpG5wvlo+W X-Received: by 2002:a05:6214:1bc9:b0:679:d6db:862a with SMTP id m9-20020a0562141bc900b00679d6db862amr8926563qvc.19.1700816176835; Fri, 24 Nov 2023 00:56:16 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1700816176; cv=pass; d=google.com; s=arc-20160816; b=iJRoVsGEOYhiX5AMhWCrCNLbKMW1nLZbzsLeCM57HNpGDId2eyVA10DVPrFFqvw7Wk KHmAFq4gK9C0PgFKCzcvq8iR3vv/+UDRAvt56tFvJCRHQgGCbShv/x9GgoqYd3opYSsD p06c+ztu5023ZQ/uip+SyxiqlfhoQiWjMiBs3zrqkfDoc5JXBOBaBKlb6cSRuC+PVBkp aFO0cJh2B/CS43cgEBHD3VV0+TBM9DvnZWaHGGiQeR4srOcrKWODKUhq5Ano035frWh0 2clSq/gDaeZ0J6lhBDN8578EIVwOK6EVQ0wOP5rI95rHJ56gXK3iX8pQ7S7AK7V6dHVt Q5pA== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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:arc-filter:dmarc-filter:delivered-to; bh=f58/+IFybyL3Pl3X1ErfE1IGK+52JHhcW4638/cGhys=; fh=zgn+771X4ysB7j9hSn7g/xv3tY8yVpzPfpfJXx/EswI=; b=KqjRHRqPjtI7x5+DpRkZMD/KZTmO6X6/ICy4B+hBDIqRcSydb1PkP2v9Rlmwy/pQyA r4rNYFJRQ9Kzk8P5+JEwWfennSvehziaJHrWGsbRmrJl0f5jTON21gANTuOW2a7wUaDf Xl3V4o5VpklkYGD/7cR7j/4PLx3ptRYdPncgYzzsJ2CIHxX6sWiodGEpN3Y8NHTbz9Xf O3+IP0WC9XCiymNHVq13dx+d+ioha/ZJ72hNM0tyLiP1inu4KLC2xsrOFlzSRFYPezwE OOlc949ezzpZaVUL18c1n7E4xGE0jtgiloEvQe3+m2gBljxHKgo65jdvVjR/RQhEVrc6 0whA== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=mZOXol0k; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id n8-20020a05620a294800b0077d7e88ebf0si975612qkp.333.2023.11.24.00.56.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 00:56:16 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=mZOXol0k; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 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 9946A3858CD1 for ; Fri, 24 Nov 2023 08:56:16 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2108.outbound.protection.outlook.com [40.107.215.108]) by sourceware.org (Postfix) with ESMTPS id 97C143858C62 for ; Fri, 24 Nov 2023 08:56:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 97C143858C62 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-Filter: OpenARC Filter v1.0.0 sourceware.org 97C143858C62 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.215.108 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700816170; cv=pass; b=i6YzvndTQXM3TndGD7Rv3KClt1wHpzQo1p+xQT2ywfg9WIAoiWlqxYYQkLaOfHqH6hhEQ3mXU6BmpsAG95nTdS0amUkslWOfLMIx6k6U9GLu/ldNoOYL5VcyNFip5I9RPIIu0hHMUbXNZE0URbBafpM3fRT41jjaACcx3XEx4r8= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700816170; c=relaxed/simple; bh=z7dnHOtLIhL+eSQ+UtLd38UpBrh8hijyA6rngse0Djc=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=J+snBCAk4l6t/T7zgYO44X5ESy685DlSHRj8KDAQDXlxUyx7J87D1p85PDXvbashY+vHRVk58pkgbmMcv9yLFQInIIm6B17tlyLsxrxNK2+ZcrbpWcf3Su5qJjd+ahVkvY98Wp46Te7zzHWrPakLL6iNvcXf9y+iGJfjZ6Q9COw= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jac2B3SQ9acxPGieEvHI8Nknccv1i7pnHQnBqyRoXh9FFaZtNAD8v0NCujz7j+WY3ZwZEWtmBFQULs1+mT9XN5ulENBgB6hS6h7mRgmocN/D3SxgDvL0J9Fgk0L7h5j98JLb6d1oF2giRZArvbNuRB/ssFcLHka/zAf03dTrPrbyIZdooVbxuPRwjIpbmCb1AkLM/d1TK3OZCefCPnAtRw7eR9rF22w+o/wgtQQYVlf3gwamn21onhtZbPrW+7WO4g5ALaPEipXgj18FjVR+z4vknG5FWImXwwdfylQzIvnWNgj8qdjz3z/moi2bvvagEpy5cHG83gLsVE/6tMjVyQ== 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=f58/+IFybyL3Pl3X1ErfE1IGK+52JHhcW4638/cGhys=; b=UT4bT8keFgPg4Y8WCbjq56hBAFyHztcCTwGPTzpaIfMlYBwTPpslatq2166CD65Q4pjY1rV6WGmG7N7BLojo6px5LlorV1heEkwehrtka1vjCDrfDL/8g0FcKqBAf7ZJ+YqrbdGZ2ZwIdeNsQ7dYmC+jgI6ARKe+vulDfDQendGBGwj+f1RT/9w8g7tezzqSsfU8YpD4upQM4mpZwA7y3WjPQGA0YFd7o76AdJa6gPp8WOArexi35kbc7/dgkynuoTWoFYJPmhDf2pRno3wwyrRfjm1e0jv2TTPxPSss5/8lGdNmptowwdvSHvJz5vNiLB9KjELe4424GUQ8Ai2XBA== 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=f58/+IFybyL3Pl3X1ErfE1IGK+52JHhcW4638/cGhys=; b=mZOXol0k9J1kB46/bJu5GSSi7lQ0KN1+ZDh2+XcFF5nDyWlWQtp05gShaVwf6KMxn/QKCp1CHlbQg9vW9vsKydfM/4swklzjotTvOJMjxHioP8EDH4CwsaRxSYK/ldyo4AG4QcIk16F91ezr9Xkc+kRz4L+l5yZ/x4MNVray8SA= 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 SG2PR04MB5961.apcprd04.prod.outlook.com (2603:1096:4:1dc::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.21; Fri, 24 Nov 2023 08:55:57 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::41df:8aa2:5d9c:5f88]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::41df:8aa2:5d9c:5f88%5]) with mapi id 15.20.7025.021; Fri, 24 Nov 2023 08:55:57 +0000 From: YunQiang Su To: nickc@redhat.com Cc: binutils@sourceware.org, YunQiang Su Subject: [PATCH] MIPS/GAS: mips.exp, mark all mipsisa32*-linux as addr32 Date: Fri, 24 Nov 2023 16:55:12 +0800 Message-Id: <20231124085512.1812516-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.39.2 X-ClientProxiedBy: SG2PR06CA0212.apcprd06.prod.outlook.com (2603:1096:4:68::20) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|SG2PR04MB5961:EE_ X-MS-Office365-Filtering-Correlation-Id: ec35abfa-1ea6-4c7e-ab08-08dbeccb2c67 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uyOrOAdYCKwUT4W0qHu1R2RkH8A5WxD2qGzKjOAk2Nt0Nf9R0JmlyZmztfmovOgYIw+t8hV10CEOrOkPsxoU3TPJ0V370WXKXc5sYak8bczvGmsVonRKqXeSXayZFlkzdi1ePdYSP1ecZ3q5S49l7kMuHq9fkwAGlvnB+Nipn4uXljFWoRwhamBWgUKS0AVUrDR+TaFBjkbUi2LqbZUDQjMs61nH5xKIT5vDy3s5rTBdbjVZc30RCZBj3VsN8TrsSH3qUIIfrpn8Aa3Rd6N8sY7Z19OQKPQHuKPPwcUOfR9XOJi4aRpNNwoN3jL5COFNBgf+DNdp8bLYVD5czcSmQMGVEux01MYh5Oz1akmiLLt6H6VtopcUJYhh7ATOV7z2HnBhrrh9Kza4ZmR8wU0mwhkfLv2E13AJ1hVyM/GuN2TbwqLRb52yWCKLGOZhksERLj2Fij+apHo+GBUgbWErjOoAhAdHOrim+CnK6H2qm7Dr9Za44l3y4UyBNK+PzqwlsmWb8DsSRn8eg4BnDmu/6PXBdBHJeAmiYrvXC4YmZMWXbgwkqyoHL7iJd40es+7f1EmgpZELzyXfM7loJ+4RUfWwHcmwFmni3Wn8cUwMEqXH6+T2Y/LzUdl6rg4jII/+ 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)(346002)(396003)(376002)(366004)(136003)(39830400003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(2906002)(5660300002)(41300700001)(8936002)(38100700002)(36756003)(38350700005)(2616005)(6506007)(26005)(1076003)(107886003)(86362001)(52116002)(6666004)(6512007)(6486002)(83380400001)(66946007)(4326008)(8676002)(316002)(6916009)(478600001)(66556008)(66476007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fCugZDgk9otLsusxbRlqLsngzJw633hwZKBDz8RgvFSVDF97xNNADh2HUr6GdvRpXEZ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vP79ncwIDKLoKnETLA9FB0wAB3+nngAvOPHkiDFpkLzCLN8CAJ/xaQC8su0+EJzoc4bCNFbAU3Dt87ru2RoLbr6fcoNwDSCHksBy3+mwRzqYT7VYQ5KObHHR39oMHLGFq8OltwMwshLiwUoUwjfehJ/itaSmYqco4ClsZSYEzonX9GtenGVVN/Q6xs3QWp+Ks4/gBFEE/rXI1tmBm0RzpQnj1v0DQZhskmmWUQHmIYBYEGIOu1buslJthJynSutGtI3JzP4wG72pr8321x7Tc543a/azrzEiE0+TTM5h72LQnDVMlX+aR/VPE5mT880YGt6nPdigv3+2HYhrY5sS/1kRuR65h6kQyRcOJNm4sSYxLnko5w7ti8vebYQD8guSuTOqsE3nYKnjzbfA7g0+MRB3kc3ZYY+viZSI39rpxo0FKvHKp24tET3yO36U191m4QVHYcbuY0hVZ1tJEQ2T9Q== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec35abfa-1ea6-4c7e-ab08-08dbeccb2c67 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2023 08:55:57.3922 (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: UsmXSgVuX3Mbus9yLy/8HONhetdNvKJ8cZDZOM08KF7uZCuDKoTdq0slYyf4YPnbn9ypWqPjVvGycui3YuJSsy6jMpQx1abj82HCK9Y065k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5961 X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783435023618411914 X-GMAIL-MSGID: 1783435023618411914 Currently, only mipsisa32-linux and mipsisa32el-linux is marked as addr32, which make mipsisa32rN(el) not marked. This change can fix 2 test failures on mipsisa32rN(el)-linux: FAIL: MIPS MIPS64 MIPS-3D ASE instructions (-mips3d flag) FAIL: MIPS MIPS64 MDMX ASE instructions (-mdmx flag) These failures don't happen for mipsisa32rN-mti-elf etc, due to that, the output is set as NO_ABI instead of O32, then gas won't warn: `fp=64' used with a 32-bit ABI Maybe, we should change this behaivour in future. --- gas/testsuite/gas/mips/mips.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index bfcb3cbfaf3..d85db116967 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -564,7 +564,7 @@ if { [istarget mips*-*-vxworks*] } { "MIPS invalid switch to SVR4 PIC from VxWorks PIC" } elseif { [istarget mips*-*-*] } { set addr32 [expr [istarget mipstx39*-*-*] || [istarget mips-*-linux*] || [istarget mipsel-*-linux*] \ - || [istarget mipsisa32-*-linux*] || [istarget mipsisa32el-*-linux*]] + || [istarget mipsisa32*-*-linux*]] set has_newabi [expr [istarget *-*-irix6*] || [istarget mips*-*-linux*] \ || [istarget mips*-sde-elf*] || [istarget mips*-mti-elf*] \ || [istarget mips*-img-elf*]]