From patchwork Tue May 16 02:54:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 9380 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp129254vqo; Mon, 15 May 2023 19:55:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ43ZvXLdEDKlcnhyGGOVRQ4urcA/U1D0+8sL0RMOmGz7X1CXVykn2Qv6mh9iNC89k7JovEN X-Received: by 2002:aa7:d382:0:b0:50b:c3b1:9790 with SMTP id x2-20020aa7d382000000b0050bc3b19790mr28743194edq.16.1684205701841; Mon, 15 May 2023 19:55:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684205701; cv=pass; d=google.com; s=arc-20160816; b=XkY3/oB/+E0QBec0pzqN3B8gy3GZe+npBERNP0FFdvaIb6ChYuKf3BWzx8/VDk55Dp QbakeLUs2SVyZ6lgyN87w/joN8/j72TWlV62mYVxHZmMnIi8boANDDjq/KW7sgXqQU9y 4AabRgY0/sNfichLuKvjlnFjgFKFkgsDB55nchlVZ4HlFXbZHChdAvXw7XKEoKamE/Gz zGsABE/FE6pQfYmhWl2O/5yhaqb8avSdBaa76Uiba9VOCCgEVI4k4Jycf3I0CtXDFAp6 o05H3AuYk6Ft0LUJUPZGdkjmwF3NJYlGJQz/sYPZadi5rX22d29wh4dwyRcM7jqCsaIk 7x+Q== 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=D512SIcjRAKHL+uu06sN6Dr8SgFs1NDTbmEJM+/ojLE=; b=Pw+7xJKg7xXPRxFP8hExeNVo93YorkK6X8T1FqAny1Zb+x65XWzQP1W6USQJH68O8k Uaj7Qnoa6IXbnWqwZsA0t7jvhvc7lCkEf1swkLR+sOz3a+0J72X3AHxV1MnB5/0SsWA9 s5qHEN22qeHNneWDBCQXbKZ/5AAKmu2DBqx7F/8E0ZzRbobFcPdkxmTRXnc52qbNIhkP NbpNMbYMebwHHhpARPmEuNNK24YIAbKxByu8DLUJm4nm3UgGg1Jmf13SKsBnVeox7wIo +A736AZ0i8H+6i8XJObmd5pvfANs/ehbps3esIaHWWvUqOjqbAu88zkmXVguVgNgCO/9 C4Wg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=t0hGfbSM; 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 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y8-20020aa7c248000000b0050d8ad1f8f9si11740191edo.469.2023.05.15.19.55.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 19:55:01 -0700 (PDT) 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=t0hGfbSM; 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 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 C5B903856952 for ; Tue, 16 May 2023 02:54:58 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2096.outbound.protection.outlook.com [40.107.255.96]) by sourceware.org (Postfix) with ESMTPS id CA4783858C20 for ; Tue, 16 May 2023 02:54:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA4783858C20 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=TshbFIxYi8qTEmyRxUrFQb86vTF5xvvppM6ySRNiuN67oYtzl3Ze1cGMsc4xDIMKl2Pqhv1ySDV8LA1y2ZzLYsTPw5bfibe8jq+HhHdMGNyjdN3aE1zjY2sEGrw+63wf4Zb1biddqvieZrE+w/XXubw/2PY4ax6KvFUKSzPUjQfj1Rt4gL0siUqs2SEJ1RhK3S82w2S87nms3aNKsMIKFcj9mEzRoDyKVFLtz4uoj6cCTkr5qkxhUx3/0lxzCqTOXDv6MA+9ZJyv3V7DgiLbF4mnBsLv7/leduriiQ1Kmy/bIbrvCqXT+drXfp4M6C4aBVpZyQYiWhZOufH0emENcw== 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=D512SIcjRAKHL+uu06sN6Dr8SgFs1NDTbmEJM+/ojLE=; b=eFiegg9QacF1neMJuzO10LYWkABH0Y6KUh+6nZa5spk0U2iEsrEf0EPSRgL8pbEqVPUgIIpw7TDxLUQl4BChrLcs6vrad0IJVx3Er0/grIDcSoiTK3TIEaM7SvLWeQWwIJLU0eUCUJ1gWgri6RiDA4sKOOdw6X4T+EhjxQ37XNzhi8m8XMJcKTgweXp7TZTN6D2Rgr0QBbPNaVyt7K2PjUu+R5KfmW13LlHhLMmfiZwhiOI3hE5diHeN1jjthK6jJ/MNb4TwCTO84+f7CfVPJhpaPZEIABfgWAeO26XS7O3LZIBT7WMaa08pIDO5lK4AQunBS+qbWVEFgHtp7I1+6A== 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=D512SIcjRAKHL+uu06sN6Dr8SgFs1NDTbmEJM+/ojLE=; b=t0hGfbSMj3TXw6wn6bawFpXUpof0UWn12sd1nnSBo4t09he8DuoZea90G99vgJHl0Mtw+/AddS0pPg+NXMtDNXENC2afAP+/oNkBDfpip//AGL2vpHaXwojjhgKBy0vPM/zgRdmtN8bR94M6ILGqfCrDTNVCWv6SvgYFJXguuZ0= 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 PSAPR04MB4438.apcprd04.prod.outlook.com (2603:1096:301:3e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.32; Tue, 16 May 2023 02:54:47 +0000 Received: from TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::4016:87b:f0d1:b150]) by TYZPR04MB6117.apcprd04.prod.outlook.com ([fe80::4016:87b:f0d1:b150%6]) with mapi id 15.20.6387.032; Tue, 16 May 2023 02:54:47 +0000 From: YunQiang Su To: binutils@sourceware.org Cc: syq@debian.org, macro@orcam.me.uk, xry111@xry111.site, richard.sandiford@arm.com, jiaxun.yang@flygoat.com, amodra@gmail.com, YunQiang Su Subject: [PATCH v2 0/5] Some MIPS changes and testsuite fixes Date: Tue, 16 May 2023 10:54:21 +0800 Message-Id: <20230516025426.2334478-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: TYCP286CA0248.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:456::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_|PSAPR04MB4438:EE_ X-MS-Office365-Filtering-Correlation-Id: 70b8ac17-639b-4e02-8e3d-08db55b8e885 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MCpJcXh5GHjUWb0AW7IOLLz7xRUuqNjIGN5ZRoo3NX5fD9CuZjCRQjDlZr8XzPBd/a7JopsHWvqkaVJFs4eH7+GXFtkpDjD6rjHNH2brzqQ4aT46S6qcO6qSt9v9BL27cSp5k3LcSTscBxn5nnj1D2pmMD409Le+GxrppskJHip+woA3WXilKO6JzirQxWqk4+vHmsbX2EAGzDoDaBLq0eLw0wDF7E6OCYcKnNiOFkc+eZZ/h63A6gUov5j8jom800gqzIX15AVnNX8QLhFsSTD9KRpjZVKCiZs/NqMydaO+3hGPk0Bu41kmb/rPYOneiBLmP3dSMgRiBvflbRFUHB/KyhLT3rNQyKMmcSXVaXJqNvokSwKENAY6bu1IsZw1zjXo7AketRSa3ylKjFDfmGG1MuYLLokcsRQMfo8GAZVAs+JxabG0BSfUrvd/BQFbzt7pwr9De9V4Id20w7FSNJIRGSMbI8/GkRWV+0NN3xoHmkgXdD5NJh475kBIjWtbSE1N6BojkLzkX1J/8A/dRkTFxj1/PTpz4FqRYden8VrefQ9a9WbJQEuTsJtQNwV7izJ6DMY62Fd7UBBns8yzPxIHC+O+V9LICYvN9EL3+ux4cGj2pC4O22ieeWqktPcu 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:(13230028)(39830400003)(346002)(376002)(136003)(396003)(366004)(451199021)(186003)(38100700002)(26005)(107886003)(6512007)(6506007)(1076003)(41300700001)(6486002)(52116002)(6666004)(83380400001)(2616005)(478600001)(6916009)(66946007)(66556008)(66476007)(4326008)(316002)(5660300002)(8936002)(2906002)(8676002)(30864003)(36756003)(86362001)(38350700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: v8RNiJvq1y4ENdfPoPZybIptR6NJdV6pVjNCGfbdLcLKjS5CbVTL+OBoqhyO0P/tIvvxbmYy57H4qx/4kOzFjqlmO9rplqPEEzp1YjvQCLlyQCT1AbRE9jBse8qaaHn5p+5my8FgWzmSIwP0hl1DvdJQs8B/V3v08FRbmcSPecSKLSJUzUK04Zq2uyvdk383cV+yODPLzEaUqk90DtPWvO3Sh3l2M3oY52gceglGEubIjYKxiphuh1BDNsF6ZXbdFarP0u/x/sS8Nezl54TsqRKOOiEh/66RUkUXC8uJ8ByNZXo22XsudHBbooc9/RxUbVKEqLBLdvWGLBOyFQjgoCxLWNWmLLPc0j9NJiUDYKkJahGJEvguwOTyOF5KURU/RK8lltKLJ7Ld2hdRHiYZ77WG0LG2TgDVMyLHqm0Vdwfv3azk2I+V4h7WIJ+dOlhBdo/P1/HoRV1R1wyk1DDGok3RdSH7D1ANICC+3eJTvKUjnJ2S+p5pn8k7F0Cas6jcO+7iZpWlfLhXjvq/haqVOftKsgJ0HPbYIy9VBlqNLG2W4h01QxlJhm+je4gdN9ecgDQL8lUmYgEyDQ8xzLZnT33FIOvaXBx4/MgP1ehJ0IG8381Lr0gGGfq8fxycjhM9smOWdrFeda6Jmm0QWN5CVA1qrw/Gen3BAV2N/qTG0M9wrC74pdRnY8TaY9rfy90WoVlM6EISkL8qBblc3cUoJxIm2iw1AgiatakaHVG9fOFSjINihrz3L3wbUcIDSG8hm8pMMq64oJfVx58ZTtt+4/EyFBjqqxWd2FHEaf7TC9pw+awEyavVt0/LvaJlrNcKO/svNXjHHC9MMSoSSjoygLC+JVHLz4L2ybYFeu9BStH7RzhxJeg0Gh9NKSXCjgrt08K9FV8CLKOV5jpzUvHFBPiTLSPpsx5LYqYwjcE9GXWqQmcOpVnfk3cq2OIH+636+RB2iIFEyOueOoJzaRywC2MsuX7d0Ddfc9kFF/H99EaYOymKllgdrqRccn8gKUTss0UysrJLVJvmlK3dmF+64qzTeTxJSNuxuR6fNGVWlGRSSt6Tq9nhLh+QkA5Vjhmj8p7lSCVloHXk0mo+9YYvOrFdrDqcFWFFsZ2y0XMLMdwm5jJ7j/Sr7zh2krfARymuTaUEiORHt0bZ7FhnRLD1Lp5WNDhbvKb1vHoI6wdhmaknQfb/VsszSkXvoKQDWl6et4VwrWowS0tuYHp7viQo+So5AfTn4JKfb4RTIHu8qHDJ3QSJ5gAng5CYxvZyTfysWh9BWSvQkkOjMqp+TwJbzU+MnszvB9vcpSjTX9ZQU0enh1Lc6yWCPQrr4CB38QrVwtYut+Ra6bAA9zsKenMqf24O095sc/eZk2dknpVI/VlTepclA+uhWSjcOP1HDdDwbkBVNRr1mmT9Q/bsxWrovbnbj+63TPUdIX8v+NNXuP13Qyft+WSpjv1j6NXLhz2uJYIyMkYlLtIiWKycJYa0sEqPCr1eUoZuaV5LX7lw4KlRhjHyd0azo0ZZyKiinWkkUOZVLdQTAXvec7vUQP6by8DkwbeEJn4gm40JTCHU2fMPzLnozUy1siLzhl69sIDW9tpYBFsHhYSx9fzIcxPDPg== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70b8ac17-639b-4e02-8e3d-08db55b8e885 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2023 02:54:46.9971 (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: DOp/uCVLgCpu3SLMkE7TtZ+nmQ9SUDJqOmOA9vLThTXIxzt3w7OghFqXv+QXH0P4qD4bgB8rENygPJx2PK1v3nt8r/6/j05MldZ7AMPgY6U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR04MB4438 X-Spam-Status: No, score=-7.0 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 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766017678205223329?= X-GMAIL-MSGID: =?utf-8?q?1766017678205223329?= 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. Run testsuite with targets: mipsisa32-linux-gnu mipsisa32r2-linux-gnu mips-linux-gnu mipsisa32el-linux-gnu mipsisa32r2el-linux-gnu mipsel-linux-gnu mipsisa32r6-linux-gnu mipsisa32r6el-linux-gnu mips-img-linux-gnu mipsel-img-linux-gnu mips-img-elf mipsel-img-elf mips-mti-elf mipsel-mti-elf mips64-linux-gnu mips64el-linux-gnu mipsisa64-linux-gnu mipsisa64el-linux-gnu mipsisa64r2-linux-gnu mipsisa64r2el-linux-gnu mipsisa64r6-linux-gnu mipsisa64r6el-linux-gnu mips64el-linux-gnuabi64 mips64-linux-gnuabi64 mipsisa64-linux-gnuabi64 mipsisa64el-linux-gnuabi64 mipsisa64r2el-linux-gnuabi64 mipsisa64r2-linux-gnuabi64 mipsisa64r6el-linux-gnuabi64 mipsisa64r6-linux-gnuabi64 and x86_64-linux-gnu i686-linux-gnu aarch64-linux-gnu arm-linux-gnueabi arm-none-eabi YunQiang Su (5): MIPS: gas: alter 64 or 32 for mipsisa triples if march is implicit MIPS: default r6 if vendor is img MIPS: fix r6 testsuites MIPS: fix -gnuabi64 testsuite MIPS: fix some ld testcases with compiler 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 | 280 ++++--- 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/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/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-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/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 | 74 +- .../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.d | 2 +- gas/testsuite/gas/mips/mips16-extend.d | 2 +- gas/testsuite/gas/mips/mips16-f.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 | 50 +- 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 + 232 files changed, 1676 insertions(+), 1018 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/comdat-reloc-r6.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