From patchwork Fri May 12 07:17:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 9247 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp4906901vqo; Fri, 12 May 2023 00:17:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wE7vE82mJWOs67k7McKtWNaVg5RLJ7UYg7j82lrYgNrrKD9PKT+pxYkmZNwxEyUqhPYAO X-Received: by 2002:a05:6402:414:b0:50b:c0ce:d55 with SMTP id q20-20020a056402041400b0050bc0ce0d55mr16669806edv.3.1683875873665; Fri, 12 May 2023 00:17:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683875873; cv=pass; d=google.com; s=arc-20160816; b=YG/gjGFlNBnDappBb6cURsBZkF6kbkgfsPuKZLX0nLRbAkWaMAMD67z1efQKFLmPLB z0MyiOTOL2mtxG5Iw/eGcb7OPqh0vMRluUkUDTgwDsjYzXv7bobX4CHQvGRZI8drACKV 1tcnvz/DsuHDUFLhTGHYrJvajSP6uEu7V3YcLHFA7Ojoe/BBRUXtEZleXATdWnCkGtZU Gg1FdsIszRhI5V+R2g8p0IyvD9oc6oqEhALMYDx7N7OEBqhSoLRY+V3VpYLEqmBPPkY7 S5TT19OIN/SoaW8SiijNlUVWdkAPNsWZVhEZJo1sF16G8AZvK7QSCF4oZ5swTjSTYCNo joKA== 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=TZf+lD8F3garbLgcXHFT1iakxrZ26Cl8wyOC3WJS6l0=; b=eeiC2T6H0tcS4Vt6uNRT9hlWBiOVJKVfxoOPbIlF+HGJGbyltJ/OaiHnz25kbSrxB6 H4/fW3zKgpOOuld1UOMev815SnPabT/SKlYhhxig2lsX9g8CsJ505wqw1DJ11h0zXfxA Ir4VChixvsrFeyxue9iWXOqXbj6C1fiwvKegab2KI2pIJO+As1jqe6pvkYFCbqQ55Z2C 5nuz/aipuwjNXRLzX15/h1nJRKPfRpKx9jRielocvPFTE2iapqEQzjNruJ0alJPX7SRD Vt4g1xspP/nE4j9EY9fQ4iqleBEqbf8GnUQOPzMcQi4GO6+6r00Ixo50ojWRo4gCirwl Y2gg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b=x57KbFXs; 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 f16-20020a056402069000b0050bcc56b528si6836792edy.111.2023.05.12.00.17.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 00:17:53 -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=x57KbFXs; 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 4414A3857734 for ; Fri, 12 May 2023 07:17:49 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2114.outbound.protection.outlook.com [40.107.215.114]) by sourceware.org (Postfix) with ESMTPS id C9CC23858C54 for ; Fri, 12 May 2023 07:17:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C9CC23858C54 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=BGyQjdADV5oDQcqTSghq+nxLwMbzXxsbr3h0LvYwJOEYMElwUuamR1rpjUr6rj1tcFwhsR4Igu2MPzoqYSqscO2Up0T1Rtck+ADQZ98NnW9GZtIWGIhzabW+/TeYQJXaNdgMs3MywWHQdsk8Ispul5RKiHZ1xban/3wHIwbISwGrR4imOq9VDFe3J16lV4Es30abHzfTyWG3/plXxdvCAy+cYhAhF9iK4ZRQgXY1aszdj0dqnkVVSZEz8tcqh+cvUQWxNxODWI1PBkrZpM3SjLRJzIyUP2hfliC5qi+8ofhQCty++H+mbx3cgXt5DTUmIDbVnrF4NpXVIfYwvm3xJA== 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=TZf+lD8F3garbLgcXHFT1iakxrZ26Cl8wyOC3WJS6l0=; b=Vhq/ytq5sGNNheTHIphNAyvf1P8w6MabqjvzeZDiDxrnRESoYqQhnsIGB+oTZmOnBjuhoYgLxq5HOVlYq+47fZU7i0TV6leGizsc8Lm5o2Wb21iccBHmEdv4blKz3RxWpQpqEMTVB+zYxVM8e/HE7e2BY3Xfode/bP/uf2AMV14fA8BytgNX+WAtd9Dr4oe6O9rP+02gYSUYxBEEtr+oisoiO4g1Lax83ALfyIRguZKDHVMb4VqD/k8FN0bdiNDFqeyq0gG7gS1vliE0qXYq5p3IRnAS3lxcuU73nBsQxAqqfrp+/VzIkqazPA4mvHO5drGxsoLKynkLx/WQS8jjOg== 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=TZf+lD8F3garbLgcXHFT1iakxrZ26Cl8wyOC3WJS6l0=; b=x57KbFXsqg0q1XC7+147NpWeTDmb1mLXb8uPGNt5VqKlZCgbjY2yEqKPlPiKlJwASD7QlmlB+vqHul8+nJ5ndA0v1p4jOlp6t+KH9d3Ifkr8FVUFfFjgYkCu93yXjNxIHIMnWgfDWFGAVlSLUXdOwNyd6JtpiSDgFyPA1+BDTFM= 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 TYZPR04MB7131.apcprd04.prod.outlook.com (2603:1096:400:462::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.21; Fri, 12 May 2023 07:17:35 +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.021; Fri, 12 May 2023 07:17:35 +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 0/4] Some MIPS changes and testsuite fixes Date: Fri, 12 May 2023 15:17:16 +0800 Message-Id: <20230512071720.1880195-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: TYCP301CA0006.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:386::15) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|TYZPR04MB7131:EE_ X-MS-Office365-Filtering-Correlation-Id: bdecad9b-fe68-456d-3873-08db52b8f57a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oD99JtK1M8lki7vdWlb1q/AHsEJIzammOOPD20PFeutxMmvGc80D6WsANGjmF9uWusaB1XMUWAtou8JjMT/tlG0r3uVMW9zfrcySKA6ipBxNbzbHc5LOFBcApkznfAPBRscpMJY2Y6hDemvNus8fPnJXNGM/73Lx+YJXFLm+QFaM/JL/1YlKvinyXUzExoJ1PJ9Dy+SIuo4lktvj1InzkmdVpadVMlfdNI32bjYMcnRuTl4Alq49OIf7x9V0yCP4q2XLRxHfB3aZBFhZOS8uFDDkNS3T7n3YDwH+YtYn6ScLSkQ/AdJsF3oI8NyIbNLMLjx3OLltaonl6kuHZ2R+q8E7Eeuu7sU7Q2+wfTMfJphh0EHXu/C5KAoFOB2sm/KK0rs7RlIxQUvaBgtCPx/OVHLIlgz5QaXHfiSCFnVveO2bLfNyhSqUcPyHBz1gc1aaszA1OXKhjO8HkYLAV9PRJhmD/BW4eUIEz0x1iSTjnpd4lWm1Lpd5vmoT/zDXDLRK4Mr7SQTthbRjnxYFIm82RFbo88kVWfxEB16hY9e9MDmM53iy2qIJ9dl1AKHO528852Wgc8YCysAYtFY2TWShZVJLDOQLQvC1r64TFeHMKGEGy06yKKFaVc3ViW8FlxU+ 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)(136003)(366004)(376002)(346002)(396003)(39830400003)(451199021)(52116002)(6916009)(66946007)(4326008)(6486002)(66476007)(66556008)(478600001)(316002)(36756003)(86362001)(6666004)(83380400001)(6512007)(1076003)(26005)(2616005)(107886003)(6506007)(186003)(5660300002)(8676002)(2906002)(30864003)(8936002)(41300700001)(38350700002)(38100700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Fmz02VP9uy2OZh38+xlsxjzTbIxxbVokL6+vTr5hbFX6jXnbPUGPeK8amP03pMIk1gGFbhzq/emZCLvoS92fiDJtpvuvX7axpAoC9cwNklL3kdU0bUalBlhJMh2ztnogAip/uPf6U5wRBCMEiWXVGbdXN70Dg82/wxS9gecDNEjYbNo4UqUUbd+kAhRl1txJGm0IAvhY3O6S8nr2YJ1QIrS9uiK/ShpSVCUb2hFIAU+bZxKj+tdq4LRxI/2T+iR78p5/l9iB1qEA8MkSKf0rdogjNRVVQJepNQTONzA0zJlvp2HHSylNEjDIfIU2hslDM38s1Q3lpJkJ0GanuOo3HnpLrEaZmD8ade1Y7E9RNfQgb/3gjhVA+EZ0XhUR4sjPCCOoqGTIzCHqoM+lLSWnC1rIbCahMd9Cxxfog05cAfsaM0vAhJEUH56vuT+uLdEUxWqlmJQCILf1amczJHi6iwkSa2aVLd6shrghWDfMBXoOWVM5BsR3V4X4O9D4d/F94/NPulzu7nEkjaIEY4FUf7DVgD5V8aAeq5WTKYDCGoiGhHINWBUUR46uU6GmTwMZajtg67HNT7Em5wG4J9l41j3dbz0asHwvLA8Cs4fG32Fy2lgrRaOkEF4AyBBT8BJTCUa6oFYI7sIKYmeWcGLmdUR7X/mbE+/UkVqRgluWk+Sczxr4LjBkTMNCs+p87U4WoLw8OKqFOhfQzzoAwzIDWPBgpXPoEjHvnQFn/2LzCAx8SugSZaqil7oDk+uQw3zKL2HY8NrQfJ9nQNSWa/zaPNga4TyQSFYXDgh+kIuUo1WxYDvesZb4Pzuh4wHzstC/SQPmt7+WLRVuUlD9zQ1sXzuqJgZL/jirn0Mb+kvZgSFnzPCNdakbQrj3yFMFENr2ltRFzhKJucrO+lsy+9gCqK3xm+7jrIMAGOp2i1Yye+LvDs0WUaShEx3G6LjSCnXrwMGMD5TutKf852DAIP6BrhZFXDAmUbay6y5RDY7W35ihjUYaBbX8N4KfP3frODP361u5DZEOSDkbEMo9NkSWs3t++VDo2OMV8VN4mFjoZDrCw5qWsMBirt+4owNy97GV35bGY7qLpeGHGWVr0JyWi+4ps9cU9CZXJfa3HMhdPHI37lBqRC0FreBS6GpB/UO62IaCtPv4fqzgEv0N0mMScS1RV3WjxXrDx9nFBeoLNmQg5ifUm3LHzJ8gFBunbGT7TcYZy4JDfFnGf1EPGIJfCUJFA/6S2YXxlDXn+Z1VoAqhdto14Z0uEB+bAlVawDdoeISqMzibBOlW8KV6TyxqbfElkdwCHIMEeqF1H2rA/rySzYepLZgh5W9bQjREbti/0vU1AzMflJprvl/SP/1gA7GWxXHGBe/3j88+v6EhbV7pMzhpv0gIzZ3bHMaF0EcVebL1CDYLw/NU3uH/ZlvzTvjCTVE4c430jMJWbDXcSpRprD19BhNeDDeZ/VKsc13rRCKvhyY4Jf0VtQBqCJfdL77LAPbdawIPIkfYqES+ejHaWVjLUMKp0fh/+eFtRLaWKWaJWgtU5QTok6W0llBYqpyrBWR+IUVLE2pYnqc3jNjBMmqHfHTYqt7UJ/SpANFx6vGw2Pb4eHGdCzEwQ9v79g== X-OriginatorOrg: cipunited.com X-MS-Exchange-CrossTenant-Network-Message-Id: bdecad9b-fe68-456d-3873-08db52b8f57a X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2023 07:17:35.1994 (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: wrvdv+4zOwJIdS3afRoSYAiQOcFgd+YZZf4deD6067Q5/y9SVisF/1vCap/RHw8zq68UWDwqspNYtSAnKcBJ6Z07bRTl0+NboO8QVkJL85k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7131 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?1765671828229109971?= X-GMAIL-MSGID: =?utf-8?q?1765671828229109971?= 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. 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 mipsisa64r6-linux-gnu mipsisa64r6el-linux-gnu mips-img-elf mipsel-img-elf 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 (4): 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 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/ld-elf/eh5.d | 50 +- ld/testsuite/ld-elf/group.ld | 2 +- ld/testsuite/ld-elf/orphan-region.ld | 2 +- ld/testsuite/ld-elf/orphan.ld | 2 +- 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-scripts/overlay-size.t | 2 +- ld/testsuite/ld-undefined/undefined.exp | 4 + 222 files changed, 1600 insertions(+), 1003 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