Message ID | 20230419221125.502883-2-indu.bhagat@oracle.com |
---|---|
State | Accepted |
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp695140vqo; Wed, 19 Apr 2023 15:11:53 -0700 (PDT) X-Google-Smtp-Source: AKy350Y5W9cRLnwEW9yWSUvewvFEaTg2rezypSMUaIwWZjezhlVANpjNT1dHm9dW7LJh5LiZ/gec X-Received: by 2002:a17:907:210d:b0:94e:f936:d9a9 with SMTP id qn13-20020a170907210d00b0094ef936d9a9mr15401206ejb.55.1681942313102; Wed, 19 Apr 2023 15:11:53 -0700 (PDT) Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id fc10-20020a1709073a4a00b0094f3815fb0csi8557489ejc.720.2023.04.19.15.11.52 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 15:11:53 -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=@sourceware.org header.s=default header.b=Bg6Eh2Cn; arc=fail (signature failed); 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D21B8385840C for <ouuuleilei@gmail.com>; Wed, 19 Apr 2023 22:11:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D21B8385840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681942311; bh=bvjUICbJkst7TyCg4uCTuYpDA2UIeC0oLHQ77b7fgYg=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Bg6Eh2CnO3q9rFvzkLkEMZLfiz1C97RK2Loyq+vHTdF0UtSReV3DbReDAaeO4ko+g /OjZVET4OJCfOejwrc6UZM0s+JwXBaQde1w5uQSAdjOTYEzI66uZnnmsK5rFb6ZAeo CSWqnKat79B24Z7W67D9PFWxIWK9dAPLvyw1ezLk= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id 0CEAE3858CDA for <binutils@sourceware.org>; Wed, 19 Apr 2023 22:11:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0CEAE3858CDA Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33JL4frX011087 for <binutils@sourceware.org>; Wed, 19 Apr 2023 22:11:41 GMT Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pyktasd92-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 19 Apr 2023 22:11:41 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33JLhmtZ037779 for <binutils@sourceware.org>; Wed, 19 Apr 2023 22:11:40 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3pyjc7gn5m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 19 Apr 2023 22:11:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UcpY2AdRwcBW7e/v3nMbe0lV/wPBcAVMQmCSL81nldBaS3Dngo/nUifev5tyUlv4tOKf9Ik9KxhZJ0dlyI3F2nwrrQczIOemHcyRqSm3/U0ezCZwkFtrFkAcOTyFvmNc5B2rEYW7acN8/tHYMxhTCuu4WQ+KFJbXOhhHIUI6JY5zP/mlbqVA/ysjRqlsHHal3MVwDSI3ly9XiwRBNyIEUC6ltoA+J0K5BEh9O10zdhbmJ3Zov2NqHNsYUkiSnWNr3bzAHFbC4grzyViZbisvJSsrwB3W9L6/6BZuIVDZKjLKbbW1Fe45lxxVAFEDoo9E3j+ZE5PtWJ936S9Uh4jTsg== 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=bvjUICbJkst7TyCg4uCTuYpDA2UIeC0oLHQ77b7fgYg=; b=WKL/W0dC5XbvKMgUwi2frl1gFL2LI7hKKHvYXNhiECnQJc8ROQ5Ifhdz1LgGwTp7Nm5BDy6fI6C8BlA8oGqfzqB4WQdS2K2/1nur48JyhsVDsoZ4D+v65iTSD4GklOVJa4IHq43Bc4f1KK/lfqgqDa/1RuGZN1j2BAijaCuft5utIZnn10HM4f5NlNmZ2pRcR+fMWlyoPyvwSjwLtymQmX+HUWiwLKRQ4aGnhi8OPrd120Oxz4sX+RtJeaVZ4joiArKwsheqx6ZrQs5j3G+K0sHXVgoIfJ2lfBOqc+97+DTwPMXSZSBftd/jBnrZlS9oYx+CcZSvGn6XeXX4KVkItw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none Received: from MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) by SJ0PR10MB4639.namprd10.prod.outlook.com (2603:10b6:a03:2db::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.20; Wed, 19 Apr 2023 22:11:38 +0000 Received: from MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::ff1c:f1fb:8db9:22e2]) by MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::ff1c:f1fb:8db9:22e2%7]) with mapi id 15.20.6298.045; Wed, 19 Apr 2023 22:11:38 +0000 To: binutils@sourceware.org Cc: Indu Bhagat <indu.bhagat@oracle.com> Subject: [COMMITTED 1/6] gas: sframe: use ATTRIBUTE_UNUSED consistently Date: Wed, 19 Apr 2023 15:11:20 -0700 Message-Id: <20230419221125.502883-2-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230419221125.502883-1-indu.bhagat@oracle.com> References: <20230419221125.502883-1-indu.bhagat@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR03CA0126.namprd03.prod.outlook.com (2603:10b6:303:8c::11) To MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2158:EE_|SJ0PR10MB4639:EE_ X-MS-Office365-Filtering-Correlation-Id: d016f163-83e2-4eca-de68-08db41230bdb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aYTZck/LE7Rk/yQ2EQB0GEVgfr+TXG0C+Rjo058JRd8qCOJglXx8BSL/JnKtiKGMN12LwmxiDYrBNFwZX7oyEXxTqFyG1IprZczQS0Btx63m61mvay3Rh4TUSPrpAcYAVuUbYOIEeJ5rxrv8vulht/iQM8dRC9cNnD5SXsD6IzOkrnyo0pN9AFsQWnGRc3s1kYr6wmKEGdjCqtRU+qcNEFYhtc0hGXnnA4fc1qBN0cmFW20ljkTvm7KFdyjU5IXCXT9FmNn9/2eqsXIfiNt6ie+7cP+Z6avqLga2KMCeFy9QybIGdJatDUgeSbMG6EnLocHyQVrp7HoRAJHoex069DpMFLuKSGIT762mQONxSEqcxYW5m4AHBM+53ct7AAKqHOt8G4eAbhOrW2ft8gWWKYzOeJ0zxBtfSZfoDhtwyeoEZdqf+cignbNDvOsr6MSkWBLUZ9H5rNM0HPD6ZSSlJsySuE8PDeX/EXfCgyZPjnxQ+0nmzl1S+2r4kuHOFDzlrsa4d3DdddKd2zHG5EPpf21b09310oGwgmIpSNQMoX26Hmwwn2GybEYQvW8GCVla X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1001MB2158.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(366004)(396003)(39860400002)(136003)(376002)(346002)(451199021)(316002)(41300700001)(4326008)(66946007)(66476007)(66556008)(6916009)(478600001)(44832011)(8936002)(8676002)(5660300002)(38100700002)(6486002)(186003)(83380400001)(2616005)(6666004)(1076003)(107886003)(6512007)(6506007)(86362001)(36756003)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HWV3pNsglON8wz3tVdpzMTBBLlTQ0LfU3CG9J1oFo2EKYxKpARt7IEJ+UpEezpdMpU+iSsn2d9ooEjsi6sTWoa6suZxdgxkpQLvp4liqglfX81l7+lHepKM/FN17ygm/ukjBO3JB1+UPwAqjS7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HFpa2I2t9Jjs0R2DuAY3I49M4lkmMuWAUdrHYpuE4OZArxUvuCnIbU4h6rhw8wfRNdjvOdUPGSa7+pNwNx5WYr7J+FaXDAerYAkDk3C8jk+mKRZYS2qL/VD38+w8LDK3QJcNY2dOs1OVkHzNBI1LAYNpwKA3+EDeJB7CTPdbAgeerlV81IYvqSbw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d016f163-83e2-4eca-de68-08db41230bdb X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2158.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2023 22:11:38.3193 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UKIxyS4oPnBHEIG5GrSIAid4jaJAL9jTAbZyyCGGoQTQOo2Y99Woe+QsmdYFLO+S048rinEWFhFKVnooTmqjwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4639 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-19_14,2023-04-18_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=970 adultscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304190191 X-Proofpoint-ORIG-GUID: o6R5WG8CLxxXroUsiNxQyOBIWV8eqIbI X-Proofpoint-GUID: o6R5WG8CLxxXroUsiNxQyOBIWV8eqIbI X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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> From: Indu Bhagat via Binutils <binutils@sourceware.org> Reply-To: Indu Bhagat <indu.bhagat@oracle.com> 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?1763644342945064239?= X-GMAIL-MSGID: =?utf-8?q?1763644342945064239?= |
Series |
Minor sframe related patches
|
|
Checks
Context | Check | Description |
---|---|---|
snail/binutils-gdb-check | success | Github commit url |
Commit Message
Indu Bhagat
April 19, 2023, 10:11 p.m. UTC
gas/ * gen-sframe.c (sframe_set_version): Use ATTRIBUTE_UNUSED consistently. (output_sframe): Likewise. (sframe_set_fre_info): Remove the usage of ATTRIBUTE_UNUSED. --- gas/gen-sframe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gas/gen-sframe.c b/gas/gen-sframe.c index c5470596d14..9e6a9d16a64 100644 --- a/gas/gen-sframe.c +++ b/gas/gen-sframe.c @@ -276,7 +276,7 @@ sframe_v1_set_func_info (unsigned int fde_type, unsigned int fre_type, /* SFrame version specific operations setup. */ static void -sframe_set_version (uint32_t sframe_version __attribute__((unused))) +sframe_set_version (uint32_t sframe_version ATTRIBUTE_UNUSED) { sframe_ver_ops.format_version = SFRAME_VERSION_1; @@ -297,7 +297,7 @@ sframe_set_fre_info (unsigned int base_reg, unsigned int num_offsets, /* SFrame set func info. */ -ATTRIBUTE_UNUSED static unsigned char +static unsigned char sframe_set_func_info (unsigned int fde_type, unsigned int fre_type, unsigned int pauth_key) { @@ -1366,7 +1366,7 @@ output_sframe (segT sframe_seg) #else /* support_sframe_p */ void -output_sframe (segT sframe_seg __attribute__((unused))) +output_sframe (segT sframe_seg ATTRIBUTE_UNUSED) { }