Message ID | 20230616062504.1713904-1-yunqiang.su@cipunited.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1122629vqr; Thu, 15 Jun 2023 23:25:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DfgWHVWypKbk5nOG0W8a2YN38kHlADhLGv6uJjTyBIHrG5H4Pga340ShTkGRW7PKfHO3u X-Received: by 2002:a17:907:2d94:b0:96f:f046:9a92 with SMTP id gt20-20020a1709072d9400b0096ff0469a92mr1234307ejc.37.1686896743172; Thu, 15 Jun 2023 23:25:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686896743; cv=pass; d=google.com; s=arc-20160816; b=bLF1Ni/gA5zYt5VmFfXnGUiPiRwDWRXdzSOaxq5ZRYCcgSqIsd00AE8uliAsVGquyA udGT3Tvz2cFRFBA826HO0loJytmLbWOHUO5DnCyXAPi9kje/JidKb61x/YPWc6pzRRFi EQ4tUbt5mQ1Y5a0X3BkkHXtNfEztOC8z49hdyi468nEP/yGoBypXdS9e7Gg7sN5iC07p WwwLcQJz5/10ELvluudC/PQ5WA+NZEGCoWS9k9kXl+WhLJX+MMzVtYyPaY4MvSt8oG1P ApF6ZdwovDBY8h/zObAghbALuzVrTbWvSyfhkc0u1x9HqidSoknt5k6HXmMbLX8Cfb7e 0Zwg== 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=bC1NLafYU3bmHqSgewhw8PRIvt00hGsaBAiC2Mpourg=; b=pX79Imja6sO5yYTEUanGh2jW4Lqkd+2rAEhNApLoA6GHS8R4sbLeMtcJ+sRfUgZyAg Ket7rvmoi8Vsqv3MOPRF0Qb2vU0Q0KaHXVr05+vnevHBaroC+cb1Qo0hEaTb5uahyAMb YMQNMtLgWeaIQZ+xT7plvQJgkrHdWpr8m8RroYn/fUKCiHW3rsY2BQEI2iAQvmDp8D89 vHpepl1zm8aP8BrBVdc9ZqmkZ1H5rEzEIVwguOE47whFm4nCpoQ0j5PiFZWcWozFjSYl f19wYej3cix/QLkgO+6QdLOEr2Qzd3vUrztvyNwbxWe48EtRKZmLvxQ8Im4EdtbDiC12 O43A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=OvlMzLtB; 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 sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id w17-20020a1709064a1100b00973a7283de2si9732770eju.505.2023.06.15.23.25.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 23:25:43 -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=OvlMzLtB; 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 9B91A3854E79 for <ouuuleilei@gmail.com>; Fri, 16 Jun 2023 06:25:40 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2139.outbound.protection.outlook.com [40.107.215.139]) by sourceware.org (Postfix) with ESMTPS id 714223857342 for <binutils@sourceware.org>; Fri, 16 Jun 2023 06:25:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 714223857342 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=H9We5LxsOkXULED5so5Bi6TwDz2DmMD6l9RLbvwj8Whcly/fcrJk8zk22FZl3vSfcWfO44B/aVR6Sp+qCUkCjzDoV7C5ysQ7xrDZkYGMmlbDyXK2x5Ss4d2jt5NKTQrOnTaZ8QaSoRTiX6co80woBfXt1tuqyMnS/JZIT4xZnP0ivDzMNdlqWBs4ItBBWwvU5cMuuR7S/5fWwo7fdR7aejld/ErOvuCSo/6/a/fG/rTrPDPvpJx63OLVYcaQqBLynetJ1socclw2pQ06/V48FPLKeYLEUyZMAgl1vz7jQeIgGaxPQjmomURR6xPmwDhmT4LO7MHBHRLKONAr9R4riA== 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=bC1NLafYU3bmHqSgewhw8PRIvt00hGsaBAiC2Mpourg=; b=T5+7Y1XlS4/ybvHhJZJxVkKVlFCE46SlH8i48RQg7aCmfZEB7/YcP7HQ9P08m9tH3b0S7yQbudVeRqnax23Q6/R/5VgvPUeXhHljyIiaYjFoNloP1wG0uRwCIcgNiyamHFlZRRBatjunmrd4i6MruU4CkBirgIXdqKFc8CrQm+PNJVs5N/dAPdzc0q6t8zZlbDbhvl0id6dO2u1nYuRtzn1DATVXg4Vozo4EpHaaeFFCuddzxyytPyLILUro1NvLSRcw1xVKYpp7tzrC9DNswQrCUYiIb34XueBFdSufzPokKc67u7udw1IPuIyYcRK8ydNhZ8Vxe5URCi//sQAdDQ== 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=bC1NLafYU3bmHqSgewhw8PRIvt00hGsaBAiC2Mpourg=; b=OvlMzLtBJQKdhr+6mIdR990iCt0/tIqcJWLk5ZtLxpj73N00AHZDnm+NP0bVxLNL064khEa9BCfqEkF7zrPOinmrntglvz0hqqr95Iu+VgJxR4jFWd27OtbRb+K0poAUbCnLQR2ETRTa9SK/c3jXRTfMRj4QguIADuoFw1tpPjM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cipunited.com; Received: from SEZPR04MB6121.apcprd04.prod.outlook.com (2603:1096:101:98::10) by KL1PR04MB7197.apcprd04.prod.outlook.com (2603:1096:820:100::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.37; Fri, 16 Jun 2023 06:25:26 +0000 Received: from SEZPR04MB6121.apcprd04.prod.outlook.com ([fe80::8969:4dde:3fc5:33c9]) by SEZPR04MB6121.apcprd04.prod.outlook.com ([fe80::8969:4dde:3fc5:33c9%4]) with mapi id 15.20.6500.026; Fri, 16 Jun 2023 06:25:25 +0000 From: YunQiang Su <yunqiang.su@cipunited.com> To: binutils@sourceware.org Cc: macro@orcam.me.uk, paul.hua.gm@gmail.com, amodra@gmail.com, jbeulich@suse.com, YunQiang Su <yunqiang.su@cipunited.com> Subject: [PATCH v3 0/7] Some MIPS changes and testsuite fixes Date: Fri, 16 Jun 2023 14:24:53 +0800 Message-Id: <20230616062504.1713904-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.30.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGXP274CA0023.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::35) To SEZPR04MB6121.apcprd04.prod.outlook.com (2603:1096:101:98::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR04MB6121:EE_|KL1PR04MB7197:EE_ X-MS-Office365-Filtering-Correlation-Id: 858c817c-1b93-4e1b-34e2-08db6e32785d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NgDGss/1Ah8c16yCxtWU56QEs2dNKCJiCOvQ1Lsai22TtOwIGikxsGEqfFTWg0xfXyxIYv8SQmce+rpoIzNXhfDKjtBaPyCQMPX5unWxLXco6IKYJd4vAhxNRkM0dQN6KWM7q5Fzx4VhK/V0LlNAasOAUIHc1xJZsZT/0+UDtBCjPy5OkgKJsq6WQcjImSUAWV6HoIhsX6PYp+rltyaZ1PhB3Dv5EdKgOAYyHsKGtoulZTf1BGMDPRoMgJG4tQdG5qcWWyBnr7Bj5+cbstKckG0v1HfoOjiWRiIGdIXunD4YVik4cbM8XyZ6Rw/j+aQ9ebfnHXA5wNMIGHVtyO0XU9Otc/GwNAg6KJCiLBtQ1FAkuWeSeeiu5cieGaGx7yY8p22Qw/SOFz1ic2F3PkX9jUdogI62OcMWAJT6nLrY9zKNn4A6om6BJZdUGrd+8sm/uR3JuguBuBQoIlPkU/Kfec+pHmV9id1uDga00w+mv+s/CcfKiVzdcuzel8omTDUR+mvIut/TzHqsQgQXd6DmNYai00k1DaEAk8eZ0uM3ekKJghuJva/JEslBR3OIgQ6dI50bKdSR2F8Pp2JvQF3TR/L9SPeYcYiUozl2fAc+nfYPWYj4KObajT8xA9bjtsnn X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SEZPR04MB6121.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(366004)(136003)(376002)(346002)(39830400003)(396003)(451199021)(30864003)(2616005)(5660300002)(107886003)(186003)(6512007)(26005)(83380400001)(6506007)(2906002)(1076003)(6486002)(8936002)(8676002)(52116002)(41300700001)(6666004)(66946007)(36756003)(38100700002)(38350700002)(6916009)(316002)(478600001)(66476007)(66556008)(86362001)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: apv94unlCtY8odMuq4aTBhegUkyPlOz0hrHsccTPwfnBqh/m2Rv7HSWRP/fE9g6odk7HrQzgj5LfRTZ9noZN2xaQVWZlaHaHlEa4UGsQnr0Xi8uKY3Bk7UkG00rbGdET25OZLuXXJz7IKKEZOixRbpqP6yWhYW+MdxXgENcXAZygXLS6u5Yp9lPqv428rq7rTN59TSY3XhTvbWncIPJOZuK+2idd9/HHpJTii6xltddxpLQhLnehFLdZLxpS+rlWqPrzZgSw4IBFQ6q4edO7nY1m/rh3GgdAo7DjSAc5tCowJ69HjE5cNJQtjAM2Qp0VnoyIUDv+MRn3bq3XuJlPnwKZ63oDavHsJqdUZ7DAJ0YVDRtMTKRKNAGSLxrDZNIYnz6WmNu7k3nGKVnoZ75vIAx5l31bpEjHtglg/KKI42gIQ5O3hDLbx4BhRyTzFVMo62qFRr1snmta6D0LF0rNS4vP6o/TVTgi/WpXdQ/B39B85t8RgeXB0qJHrT80UKa3MgAd38CSQr3ihsTgwclwpT1cju2y0fR9C4V3LnovW2vXUL7Bl7rHjReeONFAZqv/QLSYCk19VEgsD9ONow/W+7nY46GF+8CnyagVzntv7FV9bfBvQvNNYtcmJ+ksmmQ7k2tsBHgO6zLtwKLJNxnGlJF5u9QQ5RYrm9HEQq7e6tep5B05FP4ACwoA7MFmqWqG436QZgwS/2kJKe1Z1n01AauvH8mLl3ZVMHhywRYGcrkrXBYjHbF90oQzbycHrqt8kr2yTCbmialWCtOeHvPlzUBX73k+jzVfLn/4TtbLyqC8MSEEKnf3mhR/LMjpRFXNw0me2T2zf5H7L5Q84E58n2RAi4OGVnS4mSSXucysKmdFf5/aVsYBjndP9jlm7pIuDjf5yhX97Ma4YyqxlK0Hr+5t+X2+peR4r0Tyk/Pcy3RtLcIj+NqO59oM1jBS+pVLUH7tFdHUSoq9LpH+5LXf4SvDN1l1/b3Uet0j9cqCx6l/8Ps8lcLZ83yyDpB0BwKRgaeGfN+RqxYBVqxBdsdj4tRWZLzQP0Kdunv5euCnoNmZNq46viFnqZ+uFlgNub3SJMHk1/MIja70rsYwSFpAp0bm0/OWxCDis5wlkUNrQFPEkcO1MopY12/KmGxSQqc0uZ8xfGuYa9fYrCJZT3dNkNQdMn1DoM2R1V35BlHx+hWPOuaXE9SZlqqIDoCHzaTEcFbkTlNP3GXx5wQ3JcL27WkbG3rVBrSvtP4o5g7FyS79hnovipCEdOBn1239QtKju58JPJlr5KiC0Qg2RZSZpqcmkPiRGdCaNBJy1GXGt4rTzklaRNn5y2gw83t+jwzuQuQu7jUkZ5krlrJj3uKNR39QZDusKJnE5RRsSN7vlOe3qEUvVRUUoR4RmFtGn4Wp8E/vjJqIaMoBAofvFyzJeFzOF6G8ZGoBgKu+sLzMiTT1PLSMUZSuNHyn0D+baOuV9rC3/mhCvpM1MvdtP8q20sqW/dG22tD9kfxS+usN/UM/IhKunsRLIan3Vf/dcUn0rQ165O3GT2sLWEBG1aR55KAurGk9sOc/rkxMPTIU5RoKxr0z1CpGOgqIZOxuo/6MFmRF6khhM7O4T2gScG5fhQ== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 858c817c-1b93-4e1b-34e2-08db6e32785d X-MS-Exchange-CrossTenant-AuthSource: SEZPR04MB6121.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2023 06:25:25.2815 (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: qHJMLEbVcEhXj89ZYTIK0Fp4d/tN97GIprhrCUyqi+Vp783D8GJLEPx5y1kzESvohhE+54x1YAuCfNsaE5zbuX8OiBB88YIR2iFBV/xrbZ0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB7197 X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, 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.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768839439536863612?= X-GMAIL-MSGID: =?utf-8?q?1768839439536863612?= |
Series |
Some MIPS changes and testsuite fixes
|
|
Message
YunQiang Su
June 16, 2023, 6:24 a.m. UTC
In this patchset, we: 1. Set the default arch to 64rN for `mipsisa32rN*-linux-gnu-as -64` Set the default arch to 32rN for `mipsisa64rN*-linux-gnu*-as -32` 2. Set the default arch to 32r6 for mips*-img-*. 3. Fix testsuite for all r6 targets: mipsisa32r6*/mipsisa64r6*/mips-img-*. 4. Fix testsuite for all -gnuabi64 targets, which are N64 default. 5. Fix or xfail some testcases for ld if compilers are available. 6. Disable fix-rm7000-2 and llpscp-64 if not has_newabi. 7. Fix Irix gas testcases. YunQiang Su (7): MIPS: Gas: alter 64 or 32 for mipsisa triples if march is implicit MIPS: Set r6 as default arch if vendor is img MIPS: Fix r6 testsuites MIPS: Fix -gnuabi64 testsuite MIPS: Fix some ld testcases with compiler MIPS: disable fix-rm7000-2 and llpscp-64 if not has_newabi MIPS: Fix Irix gas testcases bfd/config.bfd | 2 +- binutils/testsuite/binutils-all/mips/mips.exp | 94 +- binutils/testsuite/binutils-all/objcopy.exp | 2 +- binutils/testsuite/binutils-all/readelf.r-64 | 2 + binutils/testsuite/binutils-all/readelf.s-64 | 10 +- .../testsuite/binutils-all/remove-relocs-01.d | 2 +- .../testsuite/binutils-all/remove-relocs-04.d | 2 +- .../testsuite/binutils-all/remove-relocs-05.d | 2 +- .../testsuite/binutils-all/remove-relocs-06.d | 2 +- binutils/testsuite/binutils-all/strip-3.d | 2 +- gas/config/tc-mips.c | 1003 ++++++++++++++--- gas/configure | 8 +- gas/configure.ac | 8 +- gas/testsuite/gas/all/assign.d | 4 + gas/testsuite/gas/all/fwdexp.d | 2 + gas/testsuite/gas/all/none.d | 2 + gas/testsuite/gas/elf/elf.exp | 4 + gas/testsuite/gas/elf/missing-build-notes.d | 8 + gas/testsuite/gas/macros/irp.d | 12 + gas/testsuite/gas/macros/repeat.d | 72 ++ gas/testsuite/gas/macros/rept.d | 6 + gas/testsuite/gas/macros/test2.d | 6 + gas/testsuite/gas/macros/vararg.d | 12 + gas/testsuite/gas/mips/align2-el.d | 10 +- gas/testsuite/gas/mips/align2.d | 10 +- gas/testsuite/gas/mips/attr-gnu-abi-fp-1.d | 2 +- gas/testsuite/gas/mips/attr-gnu-abi-fp-5.d | 21 + gas/testsuite/gas/mips/attr-gnu-abi-fp-5.s | 1 + gas/testsuite/gas/mips/attr-gnu-abi-fp-6.d | 21 + gas/testsuite/gas/mips/attr-gnu-abi-fp-6.s | 1 + gas/testsuite/gas/mips/attr-gnu-abi-msa-1.d | 2 +- .../gas/mips/branch-absolute-addend.d | 2 +- gas/testsuite/gas/mips/branch-absolute.d | 2 +- .../gas/mips/branch-addend-micromips.d | 2 +- gas/testsuite/gas/mips/branch-addend.d | 2 +- gas/testsuite/gas/mips/branch-extern-2.d | 2 +- gas/testsuite/gas/mips/branch-extern-4.d | 2 +- gas/testsuite/gas/mips/branch-local-1.d | 2 +- gas/testsuite/gas/mips/branch-local-2.d | 2 +- gas/testsuite/gas/mips/branch-local-3.d | 2 +- gas/testsuite/gas/mips/branch-local-4.d | 2 +- gas/testsuite/gas/mips/branch-local-5.d | 2 +- gas/testsuite/gas/mips/branch-local-6.d | 2 +- gas/testsuite/gas/mips/branch-local-7.d | 2 +- .../gas/mips/branch-local-ignore-2.d | 2 +- .../gas/mips/branch-local-ignore-3.d | 2 +- .../gas/mips/branch-local-ignore-5.d | 2 +- .../gas/mips/branch-local-ignore-6.d | 2 +- gas/testsuite/gas/mips/branch-section-1.d | 2 +- gas/testsuite/gas/mips/branch-section-2.d | 2 +- gas/testsuite/gas/mips/branch-section-3.d | 2 +- gas/testsuite/gas/mips/branch-section-4.d | 2 +- gas/testsuite/gas/mips/branch-weak-1.d | 2 +- gas/testsuite/gas/mips/branch-weak-2.d | 2 +- gas/testsuite/gas/mips/branch-weak-3.d | 2 +- gas/testsuite/gas/mips/branch-weak-4.d | 2 +- gas/testsuite/gas/mips/branch-weak-5.d | 2 +- gas/testsuite/gas/mips/branch-weak-6.d | 2 +- gas/testsuite/gas/mips/branch-weak-7.d | 2 +- gas/testsuite/gas/mips/call-nonpic-1-irix.d | 30 + gas/testsuite/gas/mips/comdat-reloc-r6.d | 34 + gas/testsuite/gas/mips/comdat-reloc.d | 2 +- gas/testsuite/gas/mips/compact-eh-eb-1.d | 13 +- gas/testsuite/gas/mips/compact-eh-eb-2.d | 25 +- gas/testsuite/gas/mips/compact-eh-eb-3.d | 17 +- gas/testsuite/gas/mips/compact-eh-eb-4.d | 17 +- gas/testsuite/gas/mips/compact-eh-eb-5.d | 25 +- gas/testsuite/gas/mips/compact-eh-eb-6.d | 17 +- gas/testsuite/gas/mips/compact-eh-eb-7.d | 25 +- gas/testsuite/gas/mips/compact-eh-el-1.d | 13 +- gas/testsuite/gas/mips/compact-eh-el-2.d | 25 +- gas/testsuite/gas/mips/compact-eh-el-3.d | 17 +- gas/testsuite/gas/mips/compact-eh-el-4.d | 17 +- gas/testsuite/gas/mips/compact-eh-el-5.d | 25 +- gas/testsuite/gas/mips/compact-eh-el-6.d | 17 +- gas/testsuite/gas/mips/compact-eh-el-7.d | 25 +- gas/testsuite/gas/mips/elf-rel.d | 12 +- gas/testsuite/gas/mips/elf-rel.s | 36 +- gas/testsuite/gas/mips/elf-rel26.d | 2 +- gas/testsuite/gas/mips/elf-rel6.d | 2 +- gas/testsuite/gas/mips/elf_ase_micromips-2.d | 2 +- gas/testsuite/gas/mips/elf_ase_micromips.d | 2 +- gas/testsuite/gas/mips/elf_ase_mips16-2.d | 2 +- gas/testsuite/gas/mips/elf_ase_mips16.d | 2 +- gas/testsuite/gas/mips/elfel-rel.d | 12 +- gas/testsuite/gas/mips/fix-rm7000-2.d | 2 +- gas/testsuite/gas/mips/insn-isa-mode.d | 2 +- gas/testsuite/gas/mips/insn-opts.d | 1 + gas/testsuite/gas/mips/irix-no-pdr.d | 8 + gas/testsuite/gas/mips/jalx-addend.d | 2 +- gas/testsuite/gas/mips/jalx-imm.d | 2 +- gas/testsuite/gas/mips/jalx-local.d | 2 +- gas/testsuite/gas/mips/llpscp-64.d | 1 + gas/testsuite/gas/mips/loongson-2f-2.d | 2 +- gas/testsuite/gas/mips/loongson-2f-3.d | 6 +- gas/testsuite/gas/mips/micromips-b16.d | 2 +- .../mips/micromips-branch-absolute-addend.d | 2 +- .../gas/mips/micromips-branch-absolute.d | 2 +- .../gas/mips/micromips-warn-branch-delay-1.d | 2 +- .../gas/mips/micromips-warn-branch-delay.d | 2 +- .../gas/mips/micromips@fix-rm7000-2.d | 2 +- gas/testsuite/gas/mips/mips-jalx-2.d | 2 +- gas/testsuite/gas/mips/mips-jalx.d | 4 +- gas/testsuite/gas/mips/mips.exp | 93 +- .../gas/mips/mips16-absolute-reloc-0.d | 2 +- .../gas/mips/mips16-absolute-reloc-2.d | 2 +- .../gas/mips/mips16-branch-absolute-1.d | 2 +- .../gas/mips/mips16-branch-absolute-2.d | 2 +- .../mips/mips16-branch-absolute-addend-1.d | 2 +- .../gas/mips/mips16-branch-absolute-addend.d | 2 +- .../gas/mips/mips16-branch-absolute.d | 2 +- .../gas/mips/mips16-branch-addend-0.d | 2 +- .../gas/mips/mips16-branch-addend-1.d | 2 +- .../gas/mips/mips16-branch-addend-2.d | 2 +- .../gas/mips/mips16-branch-addend-3.d | 2 +- .../gas/mips/mips16-branch-addend-4.d | 2 +- .../gas/mips/mips16-branch-addend-5.d | 2 +- .../gas/mips/mips16-branch-reloc-0.d | 2 +- .../gas/mips/mips16-branch-reloc-1.d | 2 +- .../gas/mips/mips16-branch-reloc-2.d | 2 +- .../gas/mips/mips16-branch-reloc-3.d | 2 +- .../gas/mips/mips16-branch-reloc-4.d | 2 +- .../gas/mips/mips16-branch-reloc-5.d | 2 +- .../gas/mips/mips16-branch-unextended-1.d | 2 +- .../gas/mips/mips16-branch-unextended-2.d | 2 +- gas/testsuite/gas/mips/mips16-dwarf2.d | 2 +- gas/testsuite/gas/mips/mips16-e-irix.d | 50 + gas/testsuite/gas/mips/mips16-e.d | 2 +- gas/testsuite/gas/mips/mips16-extend.d | 2 +- gas/testsuite/gas/mips/mips16-f.d | 2 +- gas/testsuite/gas/mips/mips16-hilo-match.d | 2 +- gas/testsuite/gas/mips/mips16-hilo.d | 2 +- .../gas/mips/mips16-insn-length-noargs.d | 2 +- gas/testsuite/gas/mips/mips16-jal-e.d | 2 +- gas/testsuite/gas/mips/mips16-jal-t.d | 2 +- gas/testsuite/gas/mips/mips16-pcrel-relax-0.d | 2 +- gas/testsuite/gas/mips/mips16-pcrel-relax-1.d | 2 +- gas/testsuite/gas/mips/mips16-pcrel-relax-2.d | 2 +- gas/testsuite/gas/mips/mips16-pcrel-relax-3.d | 2 +- gas/testsuite/gas/mips/mips16-vis-1.d | 1 + gas/testsuite/gas/mips/mips64-dsp.d | 2 +- gas/testsuite/gas/mips/mipsel16-e.d | 2 +- gas/testsuite/gas/mips/mipsel16-f.d | 2 +- gas/testsuite/gas/mips/module-mfp32.d | 2 +- gas/testsuite/gas/mips/module-mfp64r6-noodd.d | 21 + gas/testsuite/gas/mips/module-mfp64r6.d | 21 + .../gas/mips/module-msoft-float-r6.d | 20 + .../gas/mips/module-msoft-float-r6.s | 3 + gas/testsuite/gas/mips/module-msoft-float.d | 2 +- gas/testsuite/gas/mips/nan-2008-3.d | 1 + gas/testsuite/gas/mips/nan-legacy-1.d | 1 + gas/testsuite/gas/mips/nan-legacy-2.d | 2 +- gas/testsuite/gas/mips/nan-legacy-3.d | 1 + gas/testsuite/gas/mips/nan-legacy-4.d | 2 +- gas/testsuite/gas/mips/nan-legacy-5.d | 1 + gas/testsuite/gas/mips/option-pic-1.d | 2 +- gas/testsuite/gas/mips/option-pic-relax-0.d | 2 +- gas/testsuite/gas/mips/option-pic-relax-1.d | 2 +- gas/testsuite/gas/mips/option-pic-relax-3.d | 4 +- gas/testsuite/gas/mips/option-pic-relax-3a.d | 2 +- gas/testsuite/gas/mips/option-pic-relax-4.d | 2 +- gas/testsuite/gas/mips/option-pic-relax-5.d | 2 +- gas/testsuite/gas/mips/org-1.d | 2 +- gas/testsuite/gas/mips/org-10.d | 2 +- gas/testsuite/gas/mips/org-11.d | 2 +- gas/testsuite/gas/mips/org-12.d | 1 + gas/testsuite/gas/mips/org-2.d | 2 +- gas/testsuite/gas/mips/org-3.d | 1 + gas/testsuite/gas/mips/org-4.d | 2 +- gas/testsuite/gas/mips/org-5.d | 2 +- gas/testsuite/gas/mips/org-6.d | 1 + gas/testsuite/gas/mips/org-7.d | 2 +- gas/testsuite/gas/mips/org-8.d | 2 +- gas/testsuite/gas/mips/org-9.d | 1 + gas/testsuite/gas/mips/pcrel-1.d | 4 +- gas/testsuite/gas/mips/pcrel-reloc-1.d | 2 +- gas/testsuite/gas/mips/pcrel-reloc-2.d | 2 +- gas/testsuite/gas/mips/pcrel-reloc-3.d | 2 +- gas/testsuite/gas/mips/pcrel-reloc-4.d | 2 +- gas/testsuite/gas/mips/pcrel-reloc-5.d | 2 +- gas/testsuite/gas/mips/pcrel-reloc-6.d | 2 +- gas/testsuite/gas/mips/set-arch.d | 722 ++++++------ gas/testsuite/gas/mips/tmips16-e.d | 2 +- gas/testsuite/gas/mips/tmips16-f.d | 2 +- gas/testsuite/gas/mips/tmipsel16-e.d | 2 +- gas/testsuite/gas/mips/tmipsel16-f.d | 2 +- .../gas/mips/unaligned-branch-r6-1.s | 1 + .../gas/mips/unaligned-branch-r6-3.s | 1 + .../gas/mips/unaligned-branch-r6-5.d | 2 +- .../gas/mips/unaligned-jump-mips16-3.d | 2 +- ld/testsuite/config/default.exp | 20 +- ld/testsuite/ld-elf/eh5.d | 38 +- ld/testsuite/ld-elf/group.ld | 2 +- ld/testsuite/ld-elf/indirect.exp | 8 +- ld/testsuite/ld-elf/orphan-region.ld | 2 +- ld/testsuite/ld-elf/orphan.ld | 2 +- ld/testsuite/ld-elf/pr23658-2.rd | 2 +- ld/testsuite/ld-elf/shared.exp | 12 +- ld/testsuite/ld-elfvers/vers.exp | 12 +- ld/testsuite/ld-gc/gc.exp | 5 + ld/testsuite/ld-mips-elf/attr-gnu-4-01.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-4-11.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-4-40.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-4-41.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-8-00.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-8-01.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-8-02.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-8-10.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-8-11.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-8-20.d | 1 + ld/testsuite/ld-mips-elf/attr-gnu-8-22.d | 1 + ld/testsuite/ld-mips-elf/compact-eh6.d | 6 +- ld/testsuite/ld-mips-elf/emit-relocs-1.d | 2 +- ld/testsuite/ld-mips-elf/got-dump-1.d | 22 +- ld/testsuite/ld-mips-elf/got-page-1.ld | 2 +- ld/testsuite/ld-mips-elf/got-page-3.d | 11 +- ld/testsuite/ld-mips-elf/gp-disp-sym.s | 2 +- ld/testsuite/ld-mips-elf/jaloverflow-2.d | 2 +- ld/testsuite/ld-mips-elf/jalr3.dd | 2 +- ld/testsuite/ld-mips-elf/jalx-1.d | 12 +- ld/testsuite/ld-mips-elf/mips-elf.exp | 344 +++--- ld/testsuite/ld-mips-elf/mips16-1.d | 4 +- .../ld-mips-elf/mips16-and-micromips.d | 4 +- .../ld-mips-elf/mode-change-error-1.d | 4 +- ld/testsuite/ld-mips-elf/n64-plt-1.dd | 2 +- ld/testsuite/ld-mips-elf/n64-plt-4.dd | 2 +- ld/testsuite/ld-mips-elf/nan-legacy.d | 1 + ld/testsuite/ld-mips-elf/nan-mixed-1.d | 1 + ld/testsuite/ld-mips-elf/nan-mixed-2.d | 1 + ld/testsuite/ld-mips-elf/pic-and-nonpic-2.d | 2 +- ld/testsuite/ld-mips-elf/reloc-3.d | 2 +- ld/testsuite/ld-mips-elf/reloc-estimate-1.d | 4 +- ld/testsuite/ld-plugin/lto.exp | 11 +- ld/testsuite/ld-plugin/plugin.exp | 15 + ld/testsuite/ld-scripts/overlay-size.t | 2 +- ld/testsuite/ld-selective/selective.exp | 2 +- ld/testsuite/ld-shared/shared.exp | 4 +- ld/testsuite/ld-undefined/undefined.exp | 4 + 238 files changed, 2489 insertions(+), 1031 deletions(-) create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-5.d create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-5.s create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-6.d create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-6.s create mode 100644 gas/testsuite/gas/mips/call-nonpic-1-irix.d create mode 100644 gas/testsuite/gas/mips/comdat-reloc-r6.d create mode 100644 gas/testsuite/gas/mips/irix-no-pdr.d create mode 100644 gas/testsuite/gas/mips/mips16-e-irix.d create mode 100644 gas/testsuite/gas/mips/module-mfp64r6-noodd.d create mode 100644 gas/testsuite/gas/mips/module-mfp64r6.d create mode 100644 gas/testsuite/gas/mips/module-msoft-float-r6.d create mode 100644 gas/testsuite/gas/mips/module-msoft-float-r6.s
Comments
YunQiang Su <yunqiang.su@cipunited.com> 于2023年6月16日周五 14:26写道: > > In this patchset, we: > 1. Set the default arch to 64rN for `mipsisa32rN*-linux-gnu-as -64` > Set the default arch to 32rN for `mipsisa64rN*-linux-gnu*-as -32` > 2. Set the default arch to 32r6 for mips*-img-*. > 3. Fix testsuite for all r6 targets: > mipsisa32r6*/mipsisa64r6*/mips-img-*. > 4. Fix testsuite for all -gnuabi64 targets, which are N64 default. > 5. Fix or xfail some testcases for ld if compilers are available. > 6. Disable fix-rm7000-2 and llpscp-64 if not has_newabi. > 7. Fix Irix gas testcases. > > YunQiang Su (7): > MIPS: Gas: alter 64 or 32 for mipsisa triples if march is implicit > MIPS: Set r6 as default arch if vendor is img > MIPS: Fix r6 testsuites > MIPS: Fix -gnuabi64 testsuite > MIPS: Fix some ld testcases with compiler > MIPS: disable fix-rm7000-2 and llpscp-64 if not has_newabi > MIPS: Fix Irix gas testcases Sorry for the noise, some old patch files with typo commit message have ben sent. V4 soon. > > bfd/config.bfd | 2 +- > binutils/testsuite/binutils-all/mips/mips.exp | 94 +- > binutils/testsuite/binutils-all/objcopy.exp | 2 +- > binutils/testsuite/binutils-all/readelf.r-64 | 2 + > binutils/testsuite/binutils-all/readelf.s-64 | 10 +- > .../testsuite/binutils-all/remove-relocs-01.d | 2 +- > .../testsuite/binutils-all/remove-relocs-04.d | 2 +- > .../testsuite/binutils-all/remove-relocs-05.d | 2 +- > .../testsuite/binutils-all/remove-relocs-06.d | 2 +- > binutils/testsuite/binutils-all/strip-3.d | 2 +- > gas/config/tc-mips.c | 1003 ++++++++++++++--- > gas/configure | 8 +- > gas/configure.ac | 8 +- > gas/testsuite/gas/all/assign.d | 4 + > gas/testsuite/gas/all/fwdexp.d | 2 + > gas/testsuite/gas/all/none.d | 2 + > gas/testsuite/gas/elf/elf.exp | 4 + > gas/testsuite/gas/elf/missing-build-notes.d | 8 + > gas/testsuite/gas/macros/irp.d | 12 + > gas/testsuite/gas/macros/repeat.d | 72 ++ > gas/testsuite/gas/macros/rept.d | 6 + > gas/testsuite/gas/macros/test2.d | 6 + > gas/testsuite/gas/macros/vararg.d | 12 + > gas/testsuite/gas/mips/align2-el.d | 10 +- > gas/testsuite/gas/mips/align2.d | 10 +- > gas/testsuite/gas/mips/attr-gnu-abi-fp-1.d | 2 +- > gas/testsuite/gas/mips/attr-gnu-abi-fp-5.d | 21 + > gas/testsuite/gas/mips/attr-gnu-abi-fp-5.s | 1 + > gas/testsuite/gas/mips/attr-gnu-abi-fp-6.d | 21 + > gas/testsuite/gas/mips/attr-gnu-abi-fp-6.s | 1 + > gas/testsuite/gas/mips/attr-gnu-abi-msa-1.d | 2 +- > .../gas/mips/branch-absolute-addend.d | 2 +- > gas/testsuite/gas/mips/branch-absolute.d | 2 +- > .../gas/mips/branch-addend-micromips.d | 2 +- > gas/testsuite/gas/mips/branch-addend.d | 2 +- > gas/testsuite/gas/mips/branch-extern-2.d | 2 +- > gas/testsuite/gas/mips/branch-extern-4.d | 2 +- > gas/testsuite/gas/mips/branch-local-1.d | 2 +- > gas/testsuite/gas/mips/branch-local-2.d | 2 +- > gas/testsuite/gas/mips/branch-local-3.d | 2 +- > gas/testsuite/gas/mips/branch-local-4.d | 2 +- > gas/testsuite/gas/mips/branch-local-5.d | 2 +- > gas/testsuite/gas/mips/branch-local-6.d | 2 +- > gas/testsuite/gas/mips/branch-local-7.d | 2 +- > .../gas/mips/branch-local-ignore-2.d | 2 +- > .../gas/mips/branch-local-ignore-3.d | 2 +- > .../gas/mips/branch-local-ignore-5.d | 2 +- > .../gas/mips/branch-local-ignore-6.d | 2 +- > gas/testsuite/gas/mips/branch-section-1.d | 2 +- > gas/testsuite/gas/mips/branch-section-2.d | 2 +- > gas/testsuite/gas/mips/branch-section-3.d | 2 +- > gas/testsuite/gas/mips/branch-section-4.d | 2 +- > gas/testsuite/gas/mips/branch-weak-1.d | 2 +- > gas/testsuite/gas/mips/branch-weak-2.d | 2 +- > gas/testsuite/gas/mips/branch-weak-3.d | 2 +- > gas/testsuite/gas/mips/branch-weak-4.d | 2 +- > gas/testsuite/gas/mips/branch-weak-5.d | 2 +- > gas/testsuite/gas/mips/branch-weak-6.d | 2 +- > gas/testsuite/gas/mips/branch-weak-7.d | 2 +- > gas/testsuite/gas/mips/call-nonpic-1-irix.d | 30 + > gas/testsuite/gas/mips/comdat-reloc-r6.d | 34 + > gas/testsuite/gas/mips/comdat-reloc.d | 2 +- > gas/testsuite/gas/mips/compact-eh-eb-1.d | 13 +- > gas/testsuite/gas/mips/compact-eh-eb-2.d | 25 +- > gas/testsuite/gas/mips/compact-eh-eb-3.d | 17 +- > gas/testsuite/gas/mips/compact-eh-eb-4.d | 17 +- > gas/testsuite/gas/mips/compact-eh-eb-5.d | 25 +- > gas/testsuite/gas/mips/compact-eh-eb-6.d | 17 +- > gas/testsuite/gas/mips/compact-eh-eb-7.d | 25 +- > gas/testsuite/gas/mips/compact-eh-el-1.d | 13 +- > gas/testsuite/gas/mips/compact-eh-el-2.d | 25 +- > gas/testsuite/gas/mips/compact-eh-el-3.d | 17 +- > gas/testsuite/gas/mips/compact-eh-el-4.d | 17 +- > gas/testsuite/gas/mips/compact-eh-el-5.d | 25 +- > gas/testsuite/gas/mips/compact-eh-el-6.d | 17 +- > gas/testsuite/gas/mips/compact-eh-el-7.d | 25 +- > gas/testsuite/gas/mips/elf-rel.d | 12 +- > gas/testsuite/gas/mips/elf-rel.s | 36 +- > gas/testsuite/gas/mips/elf-rel26.d | 2 +- > gas/testsuite/gas/mips/elf-rel6.d | 2 +- > gas/testsuite/gas/mips/elf_ase_micromips-2.d | 2 +- > gas/testsuite/gas/mips/elf_ase_micromips.d | 2 +- > gas/testsuite/gas/mips/elf_ase_mips16-2.d | 2 +- > gas/testsuite/gas/mips/elf_ase_mips16.d | 2 +- > gas/testsuite/gas/mips/elfel-rel.d | 12 +- > gas/testsuite/gas/mips/fix-rm7000-2.d | 2 +- > gas/testsuite/gas/mips/insn-isa-mode.d | 2 +- > gas/testsuite/gas/mips/insn-opts.d | 1 + > gas/testsuite/gas/mips/irix-no-pdr.d | 8 + > gas/testsuite/gas/mips/jalx-addend.d | 2 +- > gas/testsuite/gas/mips/jalx-imm.d | 2 +- > gas/testsuite/gas/mips/jalx-local.d | 2 +- > gas/testsuite/gas/mips/llpscp-64.d | 1 + > gas/testsuite/gas/mips/loongson-2f-2.d | 2 +- > gas/testsuite/gas/mips/loongson-2f-3.d | 6 +- > gas/testsuite/gas/mips/micromips-b16.d | 2 +- > .../mips/micromips-branch-absolute-addend.d | 2 +- > .../gas/mips/micromips-branch-absolute.d | 2 +- > .../gas/mips/micromips-warn-branch-delay-1.d | 2 +- > .../gas/mips/micromips-warn-branch-delay.d | 2 +- > .../gas/mips/micromips@fix-rm7000-2.d | 2 +- > gas/testsuite/gas/mips/mips-jalx-2.d | 2 +- > gas/testsuite/gas/mips/mips-jalx.d | 4 +- > gas/testsuite/gas/mips/mips.exp | 93 +- > .../gas/mips/mips16-absolute-reloc-0.d | 2 +- > .../gas/mips/mips16-absolute-reloc-2.d | 2 +- > .../gas/mips/mips16-branch-absolute-1.d | 2 +- > .../gas/mips/mips16-branch-absolute-2.d | 2 +- > .../mips/mips16-branch-absolute-addend-1.d | 2 +- > .../gas/mips/mips16-branch-absolute-addend.d | 2 +- > .../gas/mips/mips16-branch-absolute.d | 2 +- > .../gas/mips/mips16-branch-addend-0.d | 2 +- > .../gas/mips/mips16-branch-addend-1.d | 2 +- > .../gas/mips/mips16-branch-addend-2.d | 2 +- > .../gas/mips/mips16-branch-addend-3.d | 2 +- > .../gas/mips/mips16-branch-addend-4.d | 2 +- > .../gas/mips/mips16-branch-addend-5.d | 2 +- > .../gas/mips/mips16-branch-reloc-0.d | 2 +- > .../gas/mips/mips16-branch-reloc-1.d | 2 +- > .../gas/mips/mips16-branch-reloc-2.d | 2 +- > .../gas/mips/mips16-branch-reloc-3.d | 2 +- > .../gas/mips/mips16-branch-reloc-4.d | 2 +- > .../gas/mips/mips16-branch-reloc-5.d | 2 +- > .../gas/mips/mips16-branch-unextended-1.d | 2 +- > .../gas/mips/mips16-branch-unextended-2.d | 2 +- > gas/testsuite/gas/mips/mips16-dwarf2.d | 2 +- > gas/testsuite/gas/mips/mips16-e-irix.d | 50 + > gas/testsuite/gas/mips/mips16-e.d | 2 +- > gas/testsuite/gas/mips/mips16-extend.d | 2 +- > gas/testsuite/gas/mips/mips16-f.d | 2 +- > gas/testsuite/gas/mips/mips16-hilo-match.d | 2 +- > gas/testsuite/gas/mips/mips16-hilo.d | 2 +- > .../gas/mips/mips16-insn-length-noargs.d | 2 +- > gas/testsuite/gas/mips/mips16-jal-e.d | 2 +- > gas/testsuite/gas/mips/mips16-jal-t.d | 2 +- > gas/testsuite/gas/mips/mips16-pcrel-relax-0.d | 2 +- > gas/testsuite/gas/mips/mips16-pcrel-relax-1.d | 2 +- > gas/testsuite/gas/mips/mips16-pcrel-relax-2.d | 2 +- > gas/testsuite/gas/mips/mips16-pcrel-relax-3.d | 2 +- > gas/testsuite/gas/mips/mips16-vis-1.d | 1 + > gas/testsuite/gas/mips/mips64-dsp.d | 2 +- > gas/testsuite/gas/mips/mipsel16-e.d | 2 +- > gas/testsuite/gas/mips/mipsel16-f.d | 2 +- > gas/testsuite/gas/mips/module-mfp32.d | 2 +- > gas/testsuite/gas/mips/module-mfp64r6-noodd.d | 21 + > gas/testsuite/gas/mips/module-mfp64r6.d | 21 + > .../gas/mips/module-msoft-float-r6.d | 20 + > .../gas/mips/module-msoft-float-r6.s | 3 + > gas/testsuite/gas/mips/module-msoft-float.d | 2 +- > gas/testsuite/gas/mips/nan-2008-3.d | 1 + > gas/testsuite/gas/mips/nan-legacy-1.d | 1 + > gas/testsuite/gas/mips/nan-legacy-2.d | 2 +- > gas/testsuite/gas/mips/nan-legacy-3.d | 1 + > gas/testsuite/gas/mips/nan-legacy-4.d | 2 +- > gas/testsuite/gas/mips/nan-legacy-5.d | 1 + > gas/testsuite/gas/mips/option-pic-1.d | 2 +- > gas/testsuite/gas/mips/option-pic-relax-0.d | 2 +- > gas/testsuite/gas/mips/option-pic-relax-1.d | 2 +- > gas/testsuite/gas/mips/option-pic-relax-3.d | 4 +- > gas/testsuite/gas/mips/option-pic-relax-3a.d | 2 +- > gas/testsuite/gas/mips/option-pic-relax-4.d | 2 +- > gas/testsuite/gas/mips/option-pic-relax-5.d | 2 +- > gas/testsuite/gas/mips/org-1.d | 2 +- > gas/testsuite/gas/mips/org-10.d | 2 +- > gas/testsuite/gas/mips/org-11.d | 2 +- > gas/testsuite/gas/mips/org-12.d | 1 + > gas/testsuite/gas/mips/org-2.d | 2 +- > gas/testsuite/gas/mips/org-3.d | 1 + > gas/testsuite/gas/mips/org-4.d | 2 +- > gas/testsuite/gas/mips/org-5.d | 2 +- > gas/testsuite/gas/mips/org-6.d | 1 + > gas/testsuite/gas/mips/org-7.d | 2 +- > gas/testsuite/gas/mips/org-8.d | 2 +- > gas/testsuite/gas/mips/org-9.d | 1 + > gas/testsuite/gas/mips/pcrel-1.d | 4 +- > gas/testsuite/gas/mips/pcrel-reloc-1.d | 2 +- > gas/testsuite/gas/mips/pcrel-reloc-2.d | 2 +- > gas/testsuite/gas/mips/pcrel-reloc-3.d | 2 +- > gas/testsuite/gas/mips/pcrel-reloc-4.d | 2 +- > gas/testsuite/gas/mips/pcrel-reloc-5.d | 2 +- > gas/testsuite/gas/mips/pcrel-reloc-6.d | 2 +- > gas/testsuite/gas/mips/set-arch.d | 722 ++++++------ > gas/testsuite/gas/mips/tmips16-e.d | 2 +- > gas/testsuite/gas/mips/tmips16-f.d | 2 +- > gas/testsuite/gas/mips/tmipsel16-e.d | 2 +- > gas/testsuite/gas/mips/tmipsel16-f.d | 2 +- > .../gas/mips/unaligned-branch-r6-1.s | 1 + > .../gas/mips/unaligned-branch-r6-3.s | 1 + > .../gas/mips/unaligned-branch-r6-5.d | 2 +- > .../gas/mips/unaligned-jump-mips16-3.d | 2 +- > ld/testsuite/config/default.exp | 20 +- > ld/testsuite/ld-elf/eh5.d | 38 +- > ld/testsuite/ld-elf/group.ld | 2 +- > ld/testsuite/ld-elf/indirect.exp | 8 +- > ld/testsuite/ld-elf/orphan-region.ld | 2 +- > ld/testsuite/ld-elf/orphan.ld | 2 +- > ld/testsuite/ld-elf/pr23658-2.rd | 2 +- > ld/testsuite/ld-elf/shared.exp | 12 +- > ld/testsuite/ld-elfvers/vers.exp | 12 +- > ld/testsuite/ld-gc/gc.exp | 5 + > ld/testsuite/ld-mips-elf/attr-gnu-4-01.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-4-11.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-4-40.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-4-41.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-8-00.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-8-01.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-8-02.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-8-10.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-8-11.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-8-20.d | 1 + > ld/testsuite/ld-mips-elf/attr-gnu-8-22.d | 1 + > ld/testsuite/ld-mips-elf/compact-eh6.d | 6 +- > ld/testsuite/ld-mips-elf/emit-relocs-1.d | 2 +- > ld/testsuite/ld-mips-elf/got-dump-1.d | 22 +- > ld/testsuite/ld-mips-elf/got-page-1.ld | 2 +- > ld/testsuite/ld-mips-elf/got-page-3.d | 11 +- > ld/testsuite/ld-mips-elf/gp-disp-sym.s | 2 +- > ld/testsuite/ld-mips-elf/jaloverflow-2.d | 2 +- > ld/testsuite/ld-mips-elf/jalr3.dd | 2 +- > ld/testsuite/ld-mips-elf/jalx-1.d | 12 +- > ld/testsuite/ld-mips-elf/mips-elf.exp | 344 +++--- > ld/testsuite/ld-mips-elf/mips16-1.d | 4 +- > .../ld-mips-elf/mips16-and-micromips.d | 4 +- > .../ld-mips-elf/mode-change-error-1.d | 4 +- > ld/testsuite/ld-mips-elf/n64-plt-1.dd | 2 +- > ld/testsuite/ld-mips-elf/n64-plt-4.dd | 2 +- > ld/testsuite/ld-mips-elf/nan-legacy.d | 1 + > ld/testsuite/ld-mips-elf/nan-mixed-1.d | 1 + > ld/testsuite/ld-mips-elf/nan-mixed-2.d | 1 + > ld/testsuite/ld-mips-elf/pic-and-nonpic-2.d | 2 +- > ld/testsuite/ld-mips-elf/reloc-3.d | 2 +- > ld/testsuite/ld-mips-elf/reloc-estimate-1.d | 4 +- > ld/testsuite/ld-plugin/lto.exp | 11 +- > ld/testsuite/ld-plugin/plugin.exp | 15 + > ld/testsuite/ld-scripts/overlay-size.t | 2 +- > ld/testsuite/ld-selective/selective.exp | 2 +- > ld/testsuite/ld-shared/shared.exp | 4 +- > ld/testsuite/ld-undefined/undefined.exp | 4 + > 238 files changed, 2489 insertions(+), 1031 deletions(-) > create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-5.d > create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-5.s > create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-6.d > create mode 100644 gas/testsuite/gas/mips/attr-gnu-abi-fp-6.s > create mode 100644 gas/testsuite/gas/mips/call-nonpic-1-irix.d > create mode 100644 gas/testsuite/gas/mips/comdat-reloc-r6.d > create mode 100644 gas/testsuite/gas/mips/irix-no-pdr.d > create mode 100644 gas/testsuite/gas/mips/mips16-e-irix.d > create mode 100644 gas/testsuite/gas/mips/module-mfp64r6-noodd.d > create mode 100644 gas/testsuite/gas/mips/module-mfp64r6.d > create mode 100644 gas/testsuite/gas/mips/module-msoft-float-r6.d > create mode 100644 gas/testsuite/gas/mips/module-msoft-float-r6.s > > -- > 2.30.2 >
On 16.06.2023 08:24, YunQiang Su wrote: > In this patchset, we: > 1. Set the default arch to 64rN for `mipsisa32rN*-linux-gnu-as -64` > Set the default arch to 32rN for `mipsisa64rN*-linux-gnu*-as -32` > 2. Set the default arch to 32r6 for mips*-img-*. > 3. Fix testsuite for all r6 targets: > mipsisa32r6*/mipsisa64r6*/mips-img-*. > 4. Fix testsuite for all -gnuabi64 targets, which are N64 default. > 5. Fix or xfail some testcases for ld if compilers are available. > 6. Disable fix-rm7000-2 and llpscp-64 if not has_newabi. > 7. Fix Irix gas testcases. > > YunQiang Su (7): > MIPS: Gas: alter 64 or 32 for mipsisa triples if march is implicit > MIPS: Set r6 as default arch if vendor is img > MIPS: Fix r6 testsuites > MIPS: Fix -gnuabi64 testsuite > MIPS: Fix some ld testcases with compiler > MIPS: disable fix-rm7000-2 and llpscp-64 if not has_newabi > MIPS: Fix Irix gas testcases I'm somewhat puzzled why suddenly I'm Cc-ed on MIPS patches, when I'm not a MIPS maintainer at all (and I know next to nothing about MIPS). I'm further puzzled by receiving more than one instance of some of the patches (which may be an artifact of our mail system), but then particularly patch 2 with two different names. Jan