Message ID | 20240103071526.3846985-6-indu.bhagat@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <binutils-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 463D43857007 for <patchwork@sourceware.org>; Wed, 3 Jan 2024 07:20:07 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id A4AEF3858296 for <binutils@sourceware.org>; Wed, 3 Jan 2024 07:15:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A4AEF3858296 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A4AEF3858296 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704266150; cv=pass; b=w8WywgByrXAnNNGeh6ZhBtulhoxRjdYAuCw4FRX/DMPfuHZde12h3dTXu4fXEHZ8EJQmCsLmVMG74x+sFhc+GLetgPjooCCHq78ThX5Wq4V5NGIvKn2hJH3R5u9DqPO2V8H8oRLgX1fL9gVXyrruWTqFo7M+sfFJ7VKKP5E/EAc= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704266150; c=relaxed/simple; bh=Cpz2D+5P7yEeeOqWhcEIF8G3Mz++YGe81qGbeUimz/k=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=HlVzY81kUZLVy9L/aMJJ6BqskygKyz5Mz78RqUomruBTAMUeTe8np3JTCianssETDpwF8DcTL0ubS06SVT0G2WiSwcYcNfvbGG3vMru8Aluc4pvPHwpB9sZQYOALWSuaOcFPfUW0Xb8XpnzMTSKwKOXrYSHOVBOdTFvxQpPjbaU= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4030i6ot012314 for <binutils@sourceware.org>; Wed, 3 Jan 2024 07:15:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=r0YF/ZaWbBD+vmf9puabAPK3aIvdLzYdJQTzztycyN4=; b=SDTVJCjrZxI5f0dyoX5eJ7el6rpxIiXt/B7ApIhmvHWgXaK41mwjWxE1FzcFJ3kP296H 43VLrKiAuVNop4yW9vTbBbWuYDQJmm4aXpcG7CGugw8JA7pV/nWh/y52wTOZbrxdsm2l LwHh+GfXjJ3UzahGX5LRvxR2tieRci0FtSpeNt3WgDXHXUXCV3Y5Uxx5WXw5jDIJ1/kd v3VN0Dvl8CvZKX/ZzKju6g0CqDoPbLQ2ND8uHmwip/PPqJmL/DLBfHO0VDiXzEJucVtu iUQQbtiXdWY5we2nHn3ick0ofV7AjqFsXTJZcPaYSRBkY45zugfSRBUSc2cNrdUqCNdL RA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3vab8d4ec1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 03 Jan 2024 07:15:47 +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 4036qiuv033552 for <binutils@sourceware.org>; Wed, 3 Jan 2024 07:15:46 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2041.outbound.protection.outlook.com [104.47.51.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3va9n8qaaq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 03 Jan 2024 07:15:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BxSBl98L0mM5gkByycEOfVNyDMMEl9FZxR5cl595LXpHQX13M7J70swBDoaQ/fB2FRGqG7wcAL/OOGE3gnfassLKiCIPUNT3ZoKJss4ETBEWOWv0yhFzbVAf9rIRH9nKLASjaolkHIVUQIXU9O9WN9AAKJeUVrkhISJPTYYVgVaf9UkxSB0pDoB/v3UHBnrN49RZcCyc4UwAjPUEtZC7hBmLyiJJ67u6TZDDgzrptv0qigUUpjWWZdF6mSR1UcXQG1uSlsh6FNYZnj/FopwE+oU8GqcpDDEQKpxZuivGW6wBKSX+D91QwZxFrNq0OoTz/CqTwptDmtZg/7VbMzDHHw== 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=r0YF/ZaWbBD+vmf9puabAPK3aIvdLzYdJQTzztycyN4=; b=RGZ4iI0ZYx7AbxXbk4qv0HPwey1X+3a6QbbkvNcdekN7UUycKfFIwg4uPIlKD051z8yemxUC90YLq6iHmibxYVDeCsiOAmBASojCgK7BXtKQBF2shq9NaDg5+khBteOpgWIrz0dYa0X1TPtATjSSOixRzkkgUMrs4jEGWA+gGwUTpDmGhII0j4Dbm1K/2IZ1khiURrrjfLbU7fpyEkTtgzyqZX+RZ+VZg4XpFYlJbzVOkDdFMHti+mW4XQB7Xpyshplgdhqz1JQpeTx/37LhKtGGO2CqiO/WkpFdCwqppd5OswC9263NNqITevbfYd6fbkGpCwy7+qoz9QVktCcqVQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r0YF/ZaWbBD+vmf9puabAPK3aIvdLzYdJQTzztycyN4=; b=Epnvqfpq5Grrni0Qdh0L7CupyR4/+M4erT+y0qGHA51e/+GKsALyFj7KL/eOScsskS7bAsY0RzS0vhX8JZcAms2bSrD+Ty52QSYA6ld77kIl3Mko8/F4YGgnvkbyFXNNB/72gp3lu9neQ/gOk/9Zcc6c5uGGsRu3gdpTX2F5pdY= Received: from MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) by CY8PR10MB6777.namprd10.prod.outlook.com (2603:10b6:930:98::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Wed, 3 Jan 2024 07:15:44 +0000 Received: from MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::fde7:fb92:8ea1:a5ac]) by MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::fde7:fb92:8ea1:a5ac%4]) with mapi id 15.20.7159.013; Wed, 3 Jan 2024 07:15:44 +0000 From: Indu Bhagat <indu.bhagat@oracle.com> To: binutils@sourceware.org Cc: Indu Bhagat <indu.bhagat@oracle.com> Subject: [PATCH, V4 05/14] gas: dw2gencfi: expose dot_cfi_sections for scfidw2gen Date: Tue, 2 Jan 2024 23:15:17 -0800 Message-ID: <20240103071526.3846985-6-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240103071526.3846985-1-indu.bhagat@oracle.com> References: <20240103071526.3846985-1-indu.bhagat@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4PR03CA0091.namprd03.prod.outlook.com (2603:10b6:303:b7::6) To MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2158:EE_|CY8PR10MB6777:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a957d11-8517-4a2d-3d6e-08dc0c2bccd5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JYAZKELYhyBF4w1xIuF3MWum0GsxEhpYTjNQyVYwjPR3F1KjOvY+ZPo/VNhCwCKziwwulWnGha0dM+Dp7wIu3CTWwqQJk4uvOCbourLMv4l/XEJXfINB40iXkWn8uMsFM65kmTE3WwImEhh6cspu+JNI5gwCF09Hf2/LLW295lJHF668T/deB95NoMHC+jazo9F5wOvDg5jlLdqrb7zEmKL+Y1uRzqVqx5qPogOaSSBqCNsIJubEvFv5zIOECxioFnUBmIOXlTeEHkqVjkEJRexnyYEH7PNVwHnQOo3qpkrEusioMHycHgIk9Wv0wvvQCUidMgkTgOv+ZYISIPNcBnGGXNWiUIgIUQhatq1oDPxOVothBC36ntFV2tcUjD4ipkZXpzqp1GD4x/AKg2+cnoeY7AfsLbqrOW3JrbkUjoMbqOdZRIyEs9FLbeJuMgbkAJLh+r02YM6mn05g9yk5pwznlwGmyS4JADtQjthxCc6A6ZjU19FuJ/iPvUjj2YTRJIWQf/rQpq77koJUprW8Q7qRcAcC+b68PcU8CFa4rJYMw4xovL+8cECPRjFnE6h0mmLllfJLAErObTVR58VMohJrlflu0smWkGEURyRdb7GAUrtA7x2IVaH8xDQ+B79f 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:(13230031)(366004)(346002)(396003)(136003)(39860400002)(376002)(230922051799003)(230173577357003)(230273577357003)(1800799012)(186009)(451199024)(64100799003)(38100700002)(36756003)(86362001)(107886003)(1076003)(2616005)(6506007)(6512007)(6666004)(4326008)(478600001)(6486002)(8936002)(8676002)(316002)(66476007)(83380400001)(66556008)(66946007)(6916009)(41300700001)(2906002)(44832011)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WyZEqRPgQPMBvNcEq5tqMAxfei9REPptq+YlB4/Ep/FPwfF5UlkPk54zA6EnZ7Jd0GMqOX7k5OZhxH7mTRZLO5FO9TaOp/nSG1YQjhbZYSmE+VbnvRUYdgPveANjK33eqcUgR49mc5JIveL2mD9Qcw6uf6sbO17DshfGiYfQk3BD160DgdKkAh6F9dafghg1zuyXLEQdDrMZlB9GQL+jEqkV5DQlIPfDwOi1W7yBR3VyD66eMGd6Hwx9K1X4EIPYL0Asj0blIc/6FpwnJDdYeHwWIzWSbXf2/AAPzR9NDVCPMjDxBziBSh8d+kJDG1cEdjt7DfxCGK50mAZOUpSax3WjFOwSUDo7jlTCy80tEi2FRpNYSQ9Tym7DP8QitU51IYUNXAtxJVyT8DoKbY215158vCKfBekjqST2FPHPUP9DGATqqSnRBP5YK0AtGB+a7OT2iLIhqVRJvrt56pMgdYhr+pvVEChyaPfHH9W3lUdYDhBtApNTUlJKtWtgG2IndIoSy9+R3NGCIULD7yIqDV7DP6D7iGfjvyRhYm+AMQmglMbpnSgvpHNBVZVfy/O+Uaf00ITTArMEcG8NKIK0vVEkHbb5NYNDsq9lDBeeEI73JB7XenY+tP2AhfkwsBAYXQwiPxJsjVopRdZxba3E/tUg7hMjIipvJbo+ihMU+8ec0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865B9gN+wfBd1jS44290Tsv4dfgjpkTepNmmkDpjCEfgWG2o7SLfI3Jm6dgBmtXYJtgDnx9le5uugEZhjea1vtz8Ecihhhnz7JjBeAI2NL0YxnWdEY/UXCoMHnlDKHiIs4rU+wmw8JVGH10cXNUYYh3LBN/zXT4EZV2nK8opMZMis6vNT4E0zufffsifEZOJ0CElBvgFzIe9Jx5gNrGvGuOtQglwXSfFDQS7lBg/FUQpe9nlf5fghU6CzAZ4eotFHJIsuzLAlORoVZJyu+W7o3PWOIeIx5x/7ZXhLgyKWI4CaIiDQsbd06FC2MFMpIDOiLjNzZP+lQVj93ydvMknSYt4X7gQ188HbGXpkBeWIESNbQxmXy7o3GXyAO0UNZCIcVKCTjc9YME12YALudrDZIGCEDyVJ++BdRiqLaVLTp+DVwaqSWF/rCvRrcgqY281FQCpb7od4B8Qxlbrzjxfjq3Fyxl998bxar4ilHWcEJJqoSboXXiDkAEav1/4Ia85kAmHA3NjFNeAMwJ+Ei+ldRja0aAy/hZisBrMC3W6ng9FWPjmztb5mu0wIn2oE= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a957d11-8517-4a2d-3d6e-08dc0c2bccd5 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2158.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2024 07:15:44.0427 (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: DcDbWia86bbv1rNee4oVTlxXnouppIpJ+f3pWWYQtvgPCQ3+YKPoSsxwcHzs4Ktp5GA1SQSk6W+dKPQyZTMLig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6777 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-03_02,2024-01-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 mlxscore=0 malwarescore=0 phishscore=0 adultscore=0 suspectscore=0 mlxlogscore=771 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401030059 X-Proofpoint-GUID: Rkbi1-Shhh4Pl_N_Qzf_VDcJ_vxL9hCS X-Proofpoint-ORIG-GUID: Rkbi1-Shhh4Pl_N_Qzf_VDcJ_vxL9hCS X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, 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.30 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+patchwork=sourceware.org@sourceware.org |
Series |
Synthesize CFI for hand-written asm
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_binutils_build--master-arm | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_check--master-arm | success | Testing passed |
Commit Message
Indu Bhagat
Jan. 3, 2024, 7:15 a.m. UTC
[No changes from V3 to V4] [New patch in V3] scfidw2gen will use this for processing the .cfi_sections directive. gas/ * dw2gencfi.c (dot_cfi_sections): Not static anymore. * dw2gencfi.h (dot_cfi_sections): Mark as extern. --- gas/dw2gencfi.c | 3 +-- gas/dw2gencfi.h | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index cdef8d09978..284691cd4c8 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -687,7 +687,6 @@ cfi_add_CFA_restore_state (void) static void dot_cfi (int); static void dot_cfi_escape (int); -static void dot_cfi_sections (int); static void dot_cfi_startproc (int); static void dot_cfi_endproc (int); static void dot_cfi_fde_data (int); @@ -1206,7 +1205,7 @@ dot_cfi_label (int ignored ATTRIBUTE_UNUSED) demand_empty_rest_of_line (); } -static void +void dot_cfi_sections (int ignored ATTRIBUTE_UNUSED) { int sections = 0; diff --git a/gas/dw2gencfi.h b/gas/dw2gencfi.h index f574826456a..9e29b55ace3 100644 --- a/gas/dw2gencfi.h +++ b/gas/dw2gencfi.h @@ -41,6 +41,10 @@ extern const pseudo_typeS cfi_pseudo_table[]; # define tc_cfi_endproc(fde) ((void) (fde)) #endif +/* Parse CFI assembler directive .cfi_sections. This is an external function + because SCFI functionality also uses the same implementation. */ +extern void dot_cfi_sections (int); + /* cfi_finish() is called at the end of file. It will complain if the last CFI wasn't properly closed by .cfi_endproc. */ extern void cfi_finish (void);