From patchwork Fri May 5 09:27: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: 90383 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp264025vqo; Fri, 5 May 2023 02:27:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dTWjif1M5g9e76e8WDpiQ+r0qkCgZmi3T7j2bMAJKnJpnPR1+UD3TpnSYTPaozoCAWxwa X-Received: by 2002:a05:6402:50cd:b0:50b:d668:10a8 with SMTP id h13-20020a05640250cd00b0050bd66810a8mr1617496edb.12.1683278869885; Fri, 05 May 2023 02:27:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683278869; cv=pass; d=google.com; s=arc-20160816; b=KT7BMi52wcd97aO/s+SHYTVEBZ8v4GWaKsGAdHQG9m9dH+YT+yc9H4jMzPsZq7MzUr p1rxrVBttTAL3Hl5qBOODlfys2sriUs1R0AqzOIJXqxRowWAmQlZsOLiQqNrrngdDmtO TnaU0lnKtI1CoymOpgb2bUes96SWWQYeRAIAmCWXL8uXnXhcAtprKtBrkuvQynN4m7cu bqRvWTcJ7HghIpWalP8ytLDCb8oLTxcvGEbwIOaqJffsIFQmA5KDnIyi7oPEqqRU0kT4 lWwjX0GdWQ1LdS4tnI7Pu0nKKbzMJz4oJuBaXooWddRf4j8sINUiVZcQLHwMukIK4j4a YxCg== 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=v3xiDko3BCTiSeT2uzbRhRU50Bpv9JyOrHHUhZHRg+Q=; b=PafmDJ184G9BVSjNsdPTQR2/Koiq7Wg2Ydl1XYqJj1WQ/o/fBjkJqRCzmAu9DUdm+M qWhaw/1XYKLrn3DIInCzMmaj9smg+UKTvSDnZy22OKI1bj0HE2IhJXVBz5TE2uKTFZMd 3avizs3zQugyc19kt/nHTHaH72GgYA/69CNrQmrUCzMUGjMPU/D32saTUjWLWggLNiix OPULYUlm2mjIsTIKkxLla/+MS4QX71nllVQIbSedw/q1dAYGBqiHC/ivWLQ+fM5D0fC6 q0QSeYlgxzUcoU2NDIth5uPAxo/e03xu1xGErNqZuU1DvLkN9JQo5LsVVxZQTCYAoCj2 dGRA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cipunited.onmicrosoft.com header.s=selector1-cipunited-onmicrosoft-com header.b="mzL0Z/nL"; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id i25-20020a056402055900b0050bf91fe576si3781135edx.52.2023.05.05.02.27.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 02:27:49 -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="mzL0Z/nL"; 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 C798A3856DF4 for ; Fri, 5 May 2023 09:27:48 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2115.outbound.protection.outlook.com [40.107.117.115]) by sourceware.org (Postfix) with ESMTPS id 8AC793858D20 for ; Fri, 5 May 2023 09:27:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8AC793858D20 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=EIIO8c8EnQDKGVPyP0ViOg1u4FmSMTLFyBnxK1QRMdGzqSVU+X6MHLS526s89czOPFuqfxOyeTpe8Zwejt9Oh4CXGoVP5HcSRJyVOFiZCvKd6lDUkfqpaDdOhQ2q1fAXXkYoNslP7SagISAbsuDHOJzHr5uv43cEJPeEquTc6RyeCE9R1dauf3T12Snx0+ffOBSn9e3Wqu3Ha2aem2nK/2E0IhqSRHAxvsvCudQE2WddNNml/8yc3tpJjawSbGKb6gVvoX+yWkBfe+LO2v6KYxT9Q7wsmKt2tzc4SVhlcJ06l1Ib2Tm7Kr+zY7cUKUe6KJrZxe7zkWxFAFNPr4hmDQ== 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=v3xiDko3BCTiSeT2uzbRhRU50Bpv9JyOrHHUhZHRg+Q=; b=JWMCt7zpx0po9kDbh9hEckYBG9GgnicukBkqMO58uaPzZQ2Wv9YMGUhH0257GTjKQyv1UhWhm31GlQXBaTXWalaWtMGXWBdF6HDM/+FTOslDw/7SSpIyPP6fpauOC6qExok06R0FpLG1TFVxW+RG6pKiLqfcHpuzFkb2f3LSry8a9wepdALTz2fmFmDqcJtNiZoixMjgQbw+3mP9NwNJ5XJleMk4rj7KIbfZ5kwtBP4Uyo0yOTx3Z8OXl6a4Y4V6t0uhVxqBN5DO1xjJUobVQi1nCq7l+EnhvY4m4PmCNM3HQ39WZ1zu6KABUVDGVvT1xVMtRLY7Aao0atlq8UwSdw== 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=v3xiDko3BCTiSeT2uzbRhRU50Bpv9JyOrHHUhZHRg+Q=; b=mzL0Z/nL+fDs+dN6pPH80WwKB7xPguUqLnR0wl+7Hd7YosSr9zlOXSWdjvaFot5MdCzyZ4a96TpRi+Wl1Vnl1xBt7xLUdvqe0h3LyD8zdqe4dTNmdPY/PJ+SRUSgyop16drEkoOKNccJjEzcT/HNf0L/2Az3bHXN5hFMDsGHAoQ= 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 TY0PR04MB6472.apcprd04.prod.outlook.com (2603:1096:400:272::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 09:27:37 +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.6363.027; Fri, 5 May 2023 09:27:37 +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, YunQiang Su Subject: [PATCH] gas: documents .gnu_attribute Tag_GNU_MIPS_ABI_MSA Date: Fri, 5 May 2023 17:27:16 +0800 Message-Id: <20230505092716.885338-1-yunqiang.su@cipunited.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: TYAPR01CA0225.jpnprd01.prod.outlook.com (2603:1096:404:11e::21) To TYZPR04MB6117.apcprd04.prod.outlook.com (2603:1096:400:25a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6117:EE_|TY0PR04MB6472:EE_ X-MS-Office365-Filtering-Correlation-Id: 95a04b49-3c32-4427-95ff-08db4d4af70b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V6isAGzy9uLbhRAwNQSU7QyUed3OIaVwyQK6ehtxbD12MiyApDRojcQjHV00Q6pqDaQlC1YxdLM/iv5WaiS/SB+Mf/Sp66AhqxOH4s8MzX68H3YrTQXLFu/ad5UgMeW4MqWGljo/8/o9PHYevdUXKW+ZbAr+FHCy66DdXAmIg4M0+0Lrv1SPoaYrJoxAxWxUbElAetEfs8VvArmlsER4drDVKDAsqhJAVriorAU5Tq2x+qDHrs+y2Udo0DY8qVPM8qx5MN1h9SX5ZTECX9Kn9IHd6dLtlfYJVAXgaLedA/W945VvltQcZS5WSuLjAQi/t01pkUBHo5N5cEHVvAqJlFqmOccY2rB9t7JwdtzaVnKqlKWGB5/YRdz+hBA5h2rT8hdUH3lBUekzLNYMLBj6g/TWOQrAmzJ818iUKbh04YjlcP/zvqiAB68KPnkEtyYOFPHY9tOSXC/TRwmWfQ71PIZkLPQVdn4kGzYqYL4rCYH1CvOeVhUfGB+fr87ZKOlSB1fzrGp9AqIlnxHlyJv27N0NEXiQC3NMgsdFb0j7cwNotwYnE9ut293t1j9M/Lms4uZrvG5BK6tQpkqRqMDOISNTWJq+uBcwND2q8b1/BrDzvD0vyMY4FFViIEcBKunjnk0kJz2ibBvu8+o3B9rpSQ== 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)(346002)(396003)(366004)(39830400003)(376002)(451199021)(6666004)(6486002)(52116002)(478600001)(6512007)(6506007)(2616005)(186003)(36756003)(107886003)(86362001)(38100700002)(38350700002)(26005)(1076003)(66556008)(66476007)(4326008)(66946007)(316002)(6916009)(5660300002)(41300700001)(8936002)(8676002)(2906002)(4744005)(142923001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: osJpmJ1DPH2/lBfESIUTWYokxrh/bAaYqKDRBdAmA68mcy7nubslIAyihe4WM7Sk0KFokDyxdNeFkoFFNfUW1ym1tfC644aRLW9dKZonzLv2H5H0vxB5vkC5GWbd7s1Ll8N6Lp288zoyhasbGCqaI2lKjsn+0AJruGPgXQejNrD5gxvB38bv0fJoWjLRMFV3xczBgA/gI+QrqK3urccBz0XE5qNrzce47fQcGIs6PYu6DowFZETK+Kqhyz2R7cT3PUx5XSGbca/giKr2RvIIEHkQbQFDofCRVxLLsNGdI1n9rT/AbLtpkQYCAPapYej622j03TXt//Tao+Krh7sauIhx8jIsTVRatDAokfyfBi8iy+hh62CQGWiKsjq+E2kPdQtT58hwZ6I9Nxmf+AqU7jBB35DieE5EE9SPRlTiPhtz2pda9oqXFNj82re9ph23nlc6lD/xahEXrA1dwySwkdZcQjSV3a+EMiXNwlfVtrCGJWMhx5YIWz4wUvS6jp33j8vh4J/vbXzc+NFgNz8BkS9mXG2IEXbPYoDQZjatXJVax7HcyFNsTbPygIfUfBjTNe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S-Exchange-CrossTenant-Network-Message-Id: 95a04b49-3c32-4427-95ff-08db4d4af70b X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6117.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 09:27:37.2892 (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: r72jFivYUtB2C2WCoiEmzk9wLKLEB0ygnxQT9yVzr5dxAR4kkpYgeiMgEswsyaI5Za40mUgitQt8695I5j4/cngP2DfSQ+z3L5PaLruQKlc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB6472 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, 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?1765045824013228291?= X-GMAIL-MSGID: =?utf-8?q?1765045824013228291?= It is added since 2016 by Add support for .MIPS.abiflags and .gnu.attributes sections b52717c0e104eb603e8189c3c0d3658ef5d903f5 But never documented. --- gas/doc/as.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 353ff860f1b..ea40a9ed75e 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -7816,6 +7816,17 @@ registers and 32-bit general-purpose registers. registers, 32-bit general-purpose registers and a rule that forbids the direct use of odd-numbered single-precision floating-point registers. @end itemize + +@item Tag_GNU_MIPS_ABI_MSA (8) +The MIPS SIMD Architecture (MSA) ABI used by this object file. The value will be: + +@itemize @bullet +@item +0 for file not tagged or not using any ABIs affected by MSA. +@item +1 for files using 128 bit MSA. +@end itemize + @end table @subsection PowerPC Attributes