From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2059.outbound.protection.outlook.com [40.107.241.59]) by sourceware.org (Postfix) with ESMTPS id 9A3753858D28 for ; Tue, 17 Jan 2023 19:49:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9A3753858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WmhQYqYuITkIDggtu6vHKqkYtAgCaABJVisCimBb7eY=; b=McXyP1we1wfGsq4nckdGmEn+Axf0Y0tiMDghs3hoXq7WiuW3UpgZ8d8ToNK7P8h6wT01ixjLFs+dZMqbrRjL3S66HYPRYxJe/FpAXzvd6KF0k53MTloD9i091Vt4rlaMBKXxEYEWmh7WgIRnw/g6Wj0BwlKQLa3S5mWKoW5k6xo= Received: from DU2PR04CA0065.eurprd04.prod.outlook.com (2603:10a6:10:232::10) by PA4PR08MB7643.eurprd08.prod.outlook.com (2603:10a6:102:261::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Tue, 17 Jan 2023 19:49:52 +0000 Received: from DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:232:cafe::56) by DU2PR04CA0065.outlook.office365.com (2603:10a6:10:232::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.19 via Frontend Transport; Tue, 17 Jan 2023 19:49:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT024.mail.protection.outlook.com (100.127.142.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13 via Frontend Transport; Tue, 17 Jan 2023 19:49:52 +0000 Received: ("Tessian outbound b1d3ffe56e73:v132"); Tue, 17 Jan 2023 19:49:52 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a1a777695be08357 X-CR-MTA-TID: 64aa7808 Received: from 2a64a72b4494.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3784054E-928C-439B-BB53-7A4D6EF2F05A.1; Tue, 17 Jan 2023 19:49:41 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2a64a72b4494.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 17 Jan 2023 19:49:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BjWp9jwSR6AqtcIAMCyR/zDSI5WOUUehEwfoDjlyc+4cy02iuEYQ6Yj/CdQbqf+FU8FvlxI4COhI4v2tPs/sy57BoEmU2o8JVVIckxlGjWBTw6/mt9mb0gF0NnVOb4tVUJHBEStYY3OSgnscxK8f9N4EWZzc5pgTxRlkng83Hj52gFAZyv6TffvdqAxjcoa8J0ZLTfAnFFU24rveD8DbmrbFGyuDZAnn6eDLVQhCzyfrwuQpuNnidvTyelccDrVr6ihVsnmCyAmsu/admBs6WuSVk1sO+YWgw2PKYaCTmP4IV5uywUiy6nVatgK80M2ZlzaJYgHQTluMvcZ5hOZy8Q== 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=WmhQYqYuITkIDggtu6vHKqkYtAgCaABJVisCimBb7eY=; b=SVlaaXeldRxvkrJGABZXLGwoAAjHtjoHO24wT0sN8P69XCbdUYwY8CTACEOz4rXxlwcBxqHebNFMvZB4EQcQCtxlWQqS6rr5Df3YRBzCpDKqkY4oTPSSt2v3Df4Fsemf5G18kk1Zio649/BNM28xQFMoiWO6BCId78fo+R3qtO04geTqH+W/ceFRGYlKSd0H/a5nFDltV1iNxxqrpSAOp8QgpfONExWR7X9jTV2qOOKK1ustKuEoblVxLwdn1JhDMMF5fNXo6qHj3yocx1vfJ0gEXNnBb+Vq77bKqxeEn8joLj5sJDG3pJHWCxLP8jw1uDsF1P5naoxZF/kZriNPVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WmhQYqYuITkIDggtu6vHKqkYtAgCaABJVisCimBb7eY=; b=McXyP1we1wfGsq4nckdGmEn+Axf0Y0tiMDghs3hoXq7WiuW3UpgZ8d8ToNK7P8h6wT01ixjLFs+dZMqbrRjL3S66HYPRYxJe/FpAXzvd6KF0k53MTloD9i091Vt4rlaMBKXxEYEWmh7WgIRnw/g6Wj0BwlKQLa3S5mWKoW5k6xo= Received: from PAWPR08MB8982.eurprd08.prod.outlook.com (2603:10a6:102:33f::20) by AM8PR08MB5716.eurprd08.prod.outlook.com (2603:10a6:20b:1d5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Tue, 17 Jan 2023 19:49:39 +0000 Received: from PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::66e4:4940:d096:4f7]) by PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::66e4:4940:d096:4f7%9]) with mapi id 15.20.5986.023; Tue, 17 Jan 2023 19:49:39 +0000 From: Wilco Dijkstra To: =?Windows-1252?Q?Martin_Li=9Aka?= , Jakub Jelinek , Richard Sandiford CC: Szabolcs Nagy , GCC Patches Subject: Re: [PATCH] libgcc: Fix uninitialized RA signing on AArch64 [PR107678] Thread-Topic: [PATCH] libgcc: Fix uninitialized RA signing on AArch64 [PR107678] Thread-Index: AQHZBaV7QJXP5PsIOEaE2xn0UPfNoK5fraD4gC1vVrSAAwPdgIAH9Zp0gANNm4CABeavAIAAAIzv Date: Tue, 17 Jan 2023 19:49:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: PAWPR08MB8982:EE_|AM8PR08MB5716:EE_|DBAEUR03FT024:EE_|PA4PR08MB7643:EE_ X-MS-Office365-Filtering-Correlation-Id: b6fac701-20ee-45f1-edae-08daf8c4001f x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: hTSl9fokeobr5jfZJtQpG8PbNRolAH8MeC95YIG8dj/Abpu/Eu5wC080lqfUwersx0/8/QOLUSn9Yhex6dfShrWKPy7fht/hDyXST4q7SRXnaJetYh6xBBfhQMei+JB9jINEce9dQlfKgFGPLZGDFE6mLxEXD1hIewhxdpQF7DoapKaL3+h5uJKCZ8psnFPQdwNf41m68LhYlfcyjw9W/pLWxtcWoxGY3p+RD4vJcBQxKm+h1C8ywLJmLNqI9UvUx9SNsTifXQ2Vfg1A/A0kWeFRjbP2jFIh+Og/Cn06O3nDK3RMKHG5Z5He51EyiBRlNOiOu4dJTI1XIvJTp8s7cxAsSZCrC0iw2vUxxJWyq4Z3ol2/SHqEmEcyPWLWhwdJWPJHEDtVGmUJechnuoYO2khPYMTq6IEb6fh8PNmrCyuiqq+nM2H/KmAdpTdXFi3YXzeTrJoEdrmh3zqj4tcOT3Ne+DHokab2JufzHi93bAWnE/5KA+nImXNuYbu0Vi1df4aG86+6LrSYPn+yvlqiHT8Z65EvZWmEvRZYLG6qZ/cMOFEIMtyJaUrT2DIqF97Q67bOKlzpQfnhzFwNiRGJada612BDw65++lhzrPIEUgq9vmXv8s0BjgmA+T2v2ChGvkr2q29TuZzpM/ofSEXSp1MqyREWwsQs3o9cgqCL+1X9YAT0ApoVt6a7lwzgNSp+joBj8KQFBLamUvdyiMpgyg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAWPR08MB8982.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(346002)(366004)(39860400002)(396003)(376002)(451199015)(316002)(38100700002)(8676002)(66446008)(71200400001)(186003)(52536014)(66946007)(64756008)(66556008)(8936002)(122000001)(5660300002)(91956017)(76116006)(66476007)(4326008)(7696005)(86362001)(38070700005)(9686003)(110136005)(41300700001)(2906002)(83380400001)(54906003)(6636002)(26005)(478600001)(33656002)(55016003)(6506007);DIR:OUT;SFP:1101; Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5716 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: c60d4363-0245-43ad-18af-08daf8c3f843 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lzGFasfsIDSrAs8WitMFwJhTomuIWMAeYSgDs4SCyKWxVKDQM/HxToXuA6J/UFakfdcmLd+/MIZcY5hFv+XqEboOlNOGjREm+fWCnVW6rATm50vImgy9BCTFUslZEjvFfzhnzADeL9zaWupjAlR61ooN14pTJ3jB7u8p44f8o8P4JNKDLvqGPdFFjNfAmYGJ4VWRqvmbJNdkiSnWK4vC3GeYoH/TRRN/7EOOM5BHuTFzViTeeYBxQYN4neK4ZwIj40npp3W8yI0woN5/EuWshWI0I5jvIMPXDGiLXOrwwK+dCuNcpyH1G1CQd7A3OUbWOfA8SxN5nZ7tHkVXI2mkVyhxl4NYYdy4CsFBPoMOg9WbtDATJPHHL4HUN7qYRtEU20Icgn7F3U64Uws0dTgNLAWNTZdpxZqBksks4Fw6QYmECuk3piIjwai27qcJZvJy1Cf2ZNvX8jYzm0HfLKnV47Dxz4rz5i3BXzFK4TuGy6+IyI0QRqQz5A8/y5/2yYOb4gzvMY0FyaWxgjuhhyQgkFq1TA39KdMeE4fyrM+YiW0isiTOyMXGVJEQrRYqP3uRMFZ2TpcPZbGEWPgpcDjGsOCNUHOcobBANrJZ2FER7V0jY20qIW9f9vC9bxedaptQGihXgCWmQ8jKH1KzXkRouTJSXM/eRyW3iqzdZmZhUd1MtD2Pt25At3+HmWtQLpaepmOqPd+nf3rz9HMazBT50w== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230022)(4636009)(136003)(376002)(39860400002)(396003)(346002)(451199015)(46966006)(36840700001)(40470700004)(40460700003)(6506007)(36860700001)(356005)(82740400003)(2906002)(316002)(81166007)(33656002)(8676002)(5660300002)(55016003)(110136005)(52536014)(47076005)(8936002)(54906003)(82310400005)(40480700001)(478600001)(26005)(186003)(4326008)(7696005)(86362001)(336012)(6636002)(70206006)(83380400001)(70586007)(9686003)(41300700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2023 19:49:52.5561 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6fac701-20ee-45f1-edae-08daf8c4001f X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB7643 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,GIT_PATCH_0,KAM_DMARC_NONE,KAM_LOTSOFHASH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi,=0A= =0A= > @Wilco, can you please send the rebased patch for patch review? We would= =0A= > need in out openSUSE package soon.=0A= =0A= Here is an updated and rebased version:=0A= =0A= Cheers,=0A= Wilco=0A= =0A= v4: rebase and add REG_UNSAVED_ARCHEXT.=0A= =0A= A recent change only initializes the regs.how[] during Dwarf unwinding=0A= which resulted in an uninitialized offset used in return address signing=0A= and random failures during unwinding. The fix is to encode the return=0A= address signing state in REG_UNSAVED and a new state REG_UNSAVED_ARCHEXT.= =0A= =0A= Passes bootstrap & regress, OK for commit?=0A= =0A= libgcc/=0A= PR target/107678=0A= * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.=0A= * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.=0A= * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to =0A= encode the return address signing state.=0A= * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)=0A= Check current return address signing state.=0A= (aarch64_frob_update_contex): Remove.=0A= =0A= ---=0A= diff --git a/libgcc/config/aarch64/aarch64-unwind.h b/libgcc/config/aarch64= /aarch64-unwind.h=0A= index 874cf6c3e77fb72d999f51b636d74cb0b5728bbd..727c27ba5da983958b3134715d9= d4d7c0af5c1e2 100644=0A= --- a/libgcc/config/aarch64/aarch64-unwind.h=0A= +++ b/libgcc/config/aarch64/aarch64-unwind.h=0A= @@ -29,8 +29,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. = If not, see=0A= =0A= #define MD_DEMANGLE_RETURN_ADDR(context, fs, addr) \=0A= aarch64_demangle_return_addr (context, fs, addr)=0A= -#define MD_FROB_UPDATE_CONTEXT(context, fs) \=0A= - aarch64_frob_update_context (context, fs)=0A= =0A= static inline int=0A= aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)=0A= @@ -55,42 +53,27 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *= context)=0A= =0A= static inline void *=0A= aarch64_demangle_return_addr (struct _Unwind_Context *context,=0A= - _Unwind_FrameState *fs ATTRIBUTE_UNUSED,=0A= + _Unwind_FrameState *fs,=0A= _Unwind_Word addr_word)=0A= {=0A= void *addr =3D (void *)addr_word;=0A= - if (context->flags & RA_SIGNED_BIT)=0A= + const int reg =3D DWARF_REGNUM_AARCH64_RA_STATE;=0A= +=0A= + if (fs->regs.how[reg] =3D=3D REG_UNSAVED)=0A= + return addr;=0A= +=0A= + /* Return-address signing state is toggled by DW_CFA_GNU_window_save (wh= ere=0A= + REG_UNDEFINED means enabled), or set by a DW_CFA_expression. */=0A= + if (fs->regs.how[reg] =3D=3D REG_UNSAVED_ARCHEXT=0A= + || (_Unwind_GetGR (context, reg) & 0x1) !=3D 0)=0A= {=0A= _Unwind_Word salt =3D (_Unwind_Word) context->cfa;=0A= if (aarch64_cie_signed_with_b_key (context) !=3D 0)=0A= return __builtin_aarch64_autib1716 (addr, salt);=0A= return __builtin_aarch64_autia1716 (addr, salt);=0A= }=0A= - else=0A= - return addr;=0A= -}=0A= -=0A= -/* Do AArch64 private initialization on CONTEXT based on frame info FS. M= ark=0A= - CONTEXT as return address signed if bit 0 of DWARF_REGNUM_AARCH64_RA_ST= ATE is=0A= - set. */=0A= -=0A= -static inline void=0A= -aarch64_frob_update_context (struct _Unwind_Context *context,=0A= - _Unwind_FrameState *fs)=0A= -{=0A= - const int reg =3D DWARF_REGNUM_AARCH64_RA_STATE;=0A= - int ra_signed;=0A= - if (fs->regs.how[reg] =3D=3D REG_UNSAVED)=0A= - ra_signed =3D fs->regs.reg[reg].loc.offset & 0x1;=0A= - else=0A= - ra_signed =3D _Unwind_GetGR (context, reg) & 0x1;=0A= - if (ra_signed)=0A= - /* The flag is used for re-authenticating EH handler's address. */=0A= - context->flags |=3D RA_SIGNED_BIT;=0A= - else=0A= - context->flags &=3D ~RA_SIGNED_BIT;=0A= =0A= - return;=0A= + return addr;=0A= }=0A= =0A= #endif /* defined AARCH64_UNWIND_H && defined __ILP32__ */=0A= diff --git a/libgcc/unwind-dw2-execute_cfa.h b/libgcc/unwind-dw2-execute_cf= a.h=0A= index 264c11c03ec4a09cac2c19a241c5b110b1b6b602..aef377092ceede6bdda8532679f= 9b081c98fadce 100644=0A= --- a/libgcc/unwind-dw2-execute_cfa.h=0A= +++ b/libgcc/unwind-dw2-execute_cfa.h=0A= @@ -278,10 +278,15 @@=0A= case DW_CFA_GNU_window_save:=0A= #if defined (__aarch64__) && !defined (__ILP32__)=0A= /* This CFA is multiplexed with Sparc. On AArch64 it's used to toggle= =0A= - return address signing status. */=0A= + return address signing status. REG_UNSAVED/REG_UNSAVED_ARCHEXT=0A= + mean RA signing is disabled/enabled. */=0A= reg =3D DWARF_REGNUM_AARCH64_RA_STATE;=0A= - gcc_assert (fs->regs.how[reg] =3D=3D REG_UNSAVED);=0A= - fs->regs.reg[reg].loc.offset ^=3D 1;=0A= + gcc_assert (fs->regs.how[reg] =3D=3D REG_UNSAVED=0A= + || fs->regs.how[reg] =3D=3D REG_UNSAVED_ARCHEXT);=0A= + if (fs->regs.how[reg] =3D=3D REG_UNSAVED)=0A= + fs->regs.how[reg] =3D REG_UNSAVED_ARCHEXT;=0A= + else=0A= + fs->regs.how[reg] =3D REG_UNSAVED;=0A= #else=0A= /* ??? Hardcoded for SPARC register window configuration. */=0A= if (__LIBGCC_DWARF_FRAME_REGISTERS__ >=3D 32)=0A= diff --git a/libgcc/unwind-dw2.h b/libgcc/unwind-dw2.h=0A= index e2f81983e1dcf3df6aebde2454630b7bee87d597..53e1b183c7d60112a14411d3356= c49cb39cd0de7 100644=0A= --- a/libgcc/unwind-dw2.h=0A= +++ b/libgcc/unwind-dw2.h=0A= @@ -29,6 +29,7 @@ enum {=0A= REG_SAVED_EXP,=0A= REG_SAVED_VAL_OFFSET,=0A= REG_SAVED_VAL_EXP,=0A= + REG_UNSAVED_ARCHEXT, /* Target specific extension. */=0A= REG_UNDEFINED=0A= };=0A= =0A= diff --git a/libgcc/unwind-dw2.c b/libgcc/unwind-dw2.c=0A= index 9c5bf7821916d8ac8e10e25a7123cd03f848019a..d0afce7a9ea9f5b12a5a01ef1e9= 40e1452b48cab 100644=0A= --- a/libgcc/unwind-dw2.c=0A= +++ b/libgcc/unwind-dw2.c=0A= @@ -137,9 +137,6 @@ struct _Unwind_Context=0A= #define SIGNAL_FRAME_BIT ((~(_Unwind_Word) 0 >> 1) + 1)=0A= /* Context which has version/args_size/by_value fields. */=0A= #define EXTENDED_CONTEXT_BIT ((~(_Unwind_Word) 0 >> 2) + 1)=0A= - /* Bit reserved on AArch64, return address has been signed with A or B= =0A= - key. */=0A= -#define RA_SIGNED_BIT ((~(_Unwind_Word) 0 >> 3) + 1)=0A= _Unwind_Word flags;=0A= /* 0 for now, can be increased when further fields are added to=0A= struct _Unwind_Context. */=0A= @@ -1200,6 +1197,7 @@ uw_update_context_1 (struct _Unwind_Context *context,= _Unwind_FrameState *fs)=0A= {=0A= case REG_UNSAVED:=0A= case REG_UNDEFINED:=0A= + case REG_UNSAVED_ARCHEXT:=0A= break;=0A= =0A= case REG_SAVED_OFFSET:=0A= =0A= =0A=