From patchwork Fri Jun 12 13:29:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 39576 Return-Path: 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 9EBA0395B03F; Fri, 12 Jun 2020 13:30:00 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2083.outbound.protection.outlook.com [40.107.21.83]) by sourceware.org (Postfix) with ESMTPS id 2F4BA395A831 for ; Fri, 12 Jun 2020 13:29:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2F4BA395A831 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Szabolcs.Nagy@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=DH7R+z2S7C3zS1+fHoOGSPKmEQ+2U8QjLTpUzlfhUik=; b=hdzGx8d/mpzk+3UzvHWCYwKxVU4ytqDDmc95+D3lFXXXlv9im0fbHoaLvkVeKAOEQpnvV6U1MNpAYZpWmvbgoOlYRyHBZUQEctwIex2BhLJQZcFCGIsfA5XWlocwgkLXcY9AkQKtVWMzBwXzINssNoBGuVR7iAwIlrM0yofXARQ= Received: from DB6PR07CA0080.eurprd07.prod.outlook.com (2603:10a6:6:2b::18) by AM0PR08MB4068.eurprd08.prod.outlook.com (2603:10a6:208:12b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.20; Fri, 12 Jun 2020 13:29:54 +0000 Received: from DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2b:cafe::f6) by DB6PR07CA0080.outlook.office365.com (2603:10a6:6:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.10 via Frontend Transport; Fri, 12 Jun 2020 13:29:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; sourceware.org; dmarc=bestguesspass 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT020.mail.protection.outlook.com (10.152.20.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.18 via Frontend Transport; Fri, 12 Jun 2020 13:29:54 +0000 Received: ("Tessian outbound d3ae83885012:v59"); Fri, 12 Jun 2020 13:29:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 76660667a5003de9 X-CR-MTA-TID: 64aa7808 Received: from f5e58b9f3c77.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F8752570-FA7E-47A8-BA4D-C74036E9D030.1; Fri, 12 Jun 2020 13:29:49 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f5e58b9f3c77.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 12 Jun 2020 13:29:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hxK/qEcMIaccfnW8Uj0Z1hA49nmjlV8fvm1a7XOF3AR0aDoRSaaIka6INwIq2rAWHMsseCJIfgYcj+rkOfaYrw7WzdNB0bs2fb1tXZqzRM708pd/DSmQncaqPIy7LIFVjwmhCU0+4fAy20NXT0Pmfv4IgrBfNNvfOkrwJBoStGCRHfQGckcb3bp+5kODFFmDrkW2chd0uNz8Oq4rMQZH4I6WYdQrASVcB4m6gWKViXlysVSpON+o3F3vTe/o1bNkozh0sqUKRpZES2jLWSNcwnjV7RtQpTSFHrYZ/bHjOlU64oH/goWDsYMw3KeGsCPBUii1WZyLBznQr35rwogpCg== 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-SenderADCheck; bh=DH7R+z2S7C3zS1+fHoOGSPKmEQ+2U8QjLTpUzlfhUik=; b=Jx1bCtJh9oGnHuju2OCoTfgFSVk3XMGmyUg/b+adyVNB32onoHCFhYN8Shgsh28cd4whLejgGlej9xd82jD1HHqEkYwLiMPDrjxIuG88JVH5gm3fHcngo3pM8KqAHmyDzi0ZPP35kJlmUdR/Rn6N2XrkGBZLRmeLrpwAfogV44+SXCfneCtCNCzRW58zSVjOoNNu9F5QYG+Kd3bpSSPS1J08lEzycFzlY5JfunYdp0hmKy3JptaKhAzx9d1N1CHkTS/D7WJkgfHfwF7UD04JwH25fi3prvsTvETyD5181gG3m4JINHKZBylVRh0bsh/QbJtDqEvJHyhQyLjAlufDLw== 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=DH7R+z2S7C3zS1+fHoOGSPKmEQ+2U8QjLTpUzlfhUik=; b=hdzGx8d/mpzk+3UzvHWCYwKxVU4ytqDDmc95+D3lFXXXlv9im0fbHoaLvkVeKAOEQpnvV6U1MNpAYZpWmvbgoOlYRyHBZUQEctwIex2BhLJQZcFCGIsfA5XWlocwgkLXcY9AkQKtVWMzBwXzINssNoBGuVR7iAwIlrM0yofXARQ= Authentication-Results-Original: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=arm.com; Received: from AM6PR08MB3047.eurprd08.prod.outlook.com (2603:10a6:209:4c::23) by AM6PR08MB3912.eurprd08.prod.outlook.com (2603:10a6:20b:86::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.24; Fri, 12 Jun 2020 13:29:46 +0000 Received: from AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::2404:de9f:78c0:313c]) by AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::2404:de9f:78c0:313c%6]) with mapi id 15.20.3088.022; Fri, 12 Jun 2020 13:29:45 +0000 From: Szabolcs Nagy To: libc-alpha@sourceware.org Subject: [PATCH v4 03/12] aarch64: Add BTI support to assembly files Date: Fri, 12 Jun 2020 14:29:21 +0100 Message-Id: <04a1d3f9c55bf600e85c8ed302524de311a611aa.1591899092.git.szabolcs.nagy@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ClientProxiedBy: SA9PR03CA0017.namprd03.prod.outlook.com (2603:10b6:806:20::22) To AM6PR08MB3047.eurprd08.prod.outlook.com (2603:10a6:209:4c::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (217.140.106.53) by SA9PR03CA0017.namprd03.prod.outlook.com (2603:10b6:806:20::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.20 via Frontend Transport; Fri, 12 Jun 2020 13:29:44 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [217.140.106.53] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 51d33d9b-7ab4-4fd1-8249-08d80ed4b1a3 X-MS-TrafficTypeDiagnostic: AM6PR08MB3912:|AM0PR08MB4068: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-Forefront-PRVS: 0432A04947 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: E1Rx8wr/V4bYCGHeP6hqTlgL7XXy96nZ4OhXSW9WLqwzIwOa5pzUQhi6io2FqlQX1Pe5S0L+E3CJNDob059DeXN0z/muOZcWUOODRDh87M5xVEO5e7QtWDYK3yCBq8EZqPXNx0l103giWxKGTr7o0syf+2BpmHpnJFPs5w+KlnfgMKLqA902dxhzkZwUCTFvy9oSOWKPpvmBXRdILF0W6K5nNgWoJ1bY9FdxHdTEUrvzN31i2IpzFRcsfHlxU78Gj+xp1EBi3MMUE4d3RSj1wGWbxE1wV5mWg+DkJNMuME1j0O0OJOC6cARA+lvozCYTOX8VA7bcNiyq/U4mH/zdAUeKcHBHzvncm5TCCz11OfLpN9bJ3JGkLc4Mg2EA4PivybrzBrcfl3WjOfPxw7YiE/YKoWnahHNoqCaD8P9AWcs= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR08MB3047.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(346002)(396003)(39860400002)(366004)(956004)(66476007)(66556008)(66946007)(6506007)(26005)(6512007)(5660300002)(6916009)(6666004)(2906002)(8676002)(6486002)(52116002)(8936002)(44832011)(186003)(16526019)(36756003)(2616005)(316002)(4326008)(86362001)(83380400001)(69590400007)(478600001)(136400200001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: KYhqAVT+wLnj7VgoepBi93uoHdlqlCW5WhIXUGpdDvQ81wWyL/TE0bqjDrrxeY8d5TkRL9ffSTCoUiHNj4EzcvdI2Ho49FEn3eKBzwtvaagDiBYRdLoSZnQbzQxX7NNvDjFP6Xwa+z2Hei8FenjNFT5QLrp1UOxRpn1qbjzlNls5IQhMT5XGHLCIsCUxsUj31pomTB3CdsG02VR6t9sLNxb9JjR3tqubG+AhePj4SJhBlQubmctugNwjN2VaoXZqRxHnBAmm7+IvwbelhE5m7VYLPVb7nfB+mhNI5ngI4/R2u3rgwLQrNlNsoL9rcFzm19Vvc+VKHXC789qm+Hy75GHLbxQp/Q2TFBP5aOKDn3DrZ0YTVITYikT9vbO2bqlXBgAjhLUu2bBGjTu1LQ+GdEmR+qaIKE/gOPssQfleWBJToYfIi/lqOpRH8+10JsW5Bc5Ar0c6EQaRj50CXxbJtlcxY/1L2g2xutH2NVlInYjbQrtL8XjdCXN+EfAN0jYo X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3912 Original-Authentication-Results: sourceware.org; dkim=none (message not signed) header.d=none; sourceware.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com 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; SFTY:; SFS:(4636009)(136003)(39860400002)(346002)(396003)(376002)(46966005)(2906002)(6666004)(316002)(70206006)(2616005)(336012)(478600001)(956004)(82740400003)(6916009)(186003)(44832011)(6506007)(26005)(86362001)(70586007)(16526019)(4326008)(47076004)(6512007)(8676002)(36756003)(83380400001)(5660300002)(82310400002)(81166007)(6486002)(8936002)(356005)(69590400007)(136400200001); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 9cfed7f6-d7c0-44d9-dc27-08d80ed4ac20 X-Forefront-PRVS: 0432A04947 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BuVEtnyvQLPFAFaBzqvyZOhQ79XJ2QlYUaDXNQKwkhAMeMLRmdZkiNoPP//upSkgUSe8mxqnU1SArTKDGpyIR6AdakJNqYoucCVZuNuU0EJW+uyGX28pmuA9vXhubmjN/DINqopaMSEE5qa05EekJ0/3SRglnT0jaaMqcHuj4iTs5QOAve1K8F4069iXsWH6cUE8uCRi7rlMc2olTSo3xjjfQBxAlmDjOn6LKKJvKSVkHGJF/XKBKEB0Kd1F6um9DdPnH5fPgx8tRQh1HlPRS2SdOTvqFTrAF9dcRjJgyKHbPoH+VZryGp/ZZiknMzLkEpJEgOF1PAAu+mgqj7dgJ4rLezWqG2vc6epOOE2gQLdSxAvBbsbQdpqrhdYbtU9sjVvFw/Plxs939MGZBeeeUOEid23mNzLLh2Fr/Oh+K9kBREDn/RpVAu9+jjwYj801I5QALq2vQhyxQkoV+H1NTw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2020 13:29:54.9003 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 51d33d9b-7ab4-4fd1-8249-08d80ed4b1a3 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4068 X-Spam-Status: No, score=-16.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_STOCKGEN, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sudakshina Das Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" From: Sudakshina Das To enable building glibc with branch protection, assembly code needs BTI landing pads and ELF object file markings in the form of a GNU property note. The landing pads are unconditionally added to all functions that may be indirectly called. When the code segment is not mapped with PROT_BTI these instructions are nops. They are kept in the code when BTI is not supported so that the layout of performance critical code is unchanged across configurations. The GNU property notes are only added when there is support for BTI in the toolchain, because old binutils does not handle the notes right. (Does not know how to merge them nor to put them in PT_GNU_PROPERTY segment instead of PT_NOTE, and some versions of binutils emit warnings about the unknown GNU property. In such cases the produced libc binaries would not have valid ELF marking so BTI would not be enabled.) Note: functions using ENTRY or ENTRY_ALIGN now start with an additional BTI c, so alignment of the following code changes, but ENTRY_ALIGN_AND_PAD was fixed so there is no change to the existing code layout. Some string functions may need to be tuned for optimal performance after this commit. Co-authored-by: Szabolcs Nagy Reviewed-by: Adhemerval Zanella --- sysdeps/aarch64/crti.S | 2 ++ sysdeps/aarch64/crtn.S | 2 ++ sysdeps/aarch64/dl-tlsdesc.S | 3 +++ sysdeps/aarch64/dl-trampoline.S | 2 ++ sysdeps/aarch64/start.S | 1 + sysdeps/aarch64/sysdep.h | 34 ++++++++++++++++++++++++++++++++- 6 files changed, 43 insertions(+), 1 deletion(-) diff --git a/sysdeps/aarch64/crti.S b/sysdeps/aarch64/crti.S index 1728eac37a..c346bcad72 100644 --- a/sysdeps/aarch64/crti.S +++ b/sysdeps/aarch64/crti.S @@ -75,6 +75,7 @@ call_weak_fn: .hidden _init .type _init, %function _init: + BTI_C stp x29, x30, [sp, -16]! mov x29, sp #if PREINIT_FUNCTION_WEAK @@ -89,5 +90,6 @@ _init: .hidden _fini .type _fini, %function _fini: + BTI_C stp x29, x30, [sp, -16]! mov x29, sp diff --git a/sysdeps/aarch64/crtn.S b/sysdeps/aarch64/crtn.S index c3e97cc449..0c1ef112c2 100644 --- a/sysdeps/aarch64/crtn.S +++ b/sysdeps/aarch64/crtn.S @@ -37,6 +37,8 @@ /* crtn.S puts function epilogues in the .init and .fini sections corresponding to the prologues in crti.S. */ +#include + .section .init,"ax",%progbits ldp x29, x30, [sp], 16 RET diff --git a/sysdeps/aarch64/dl-tlsdesc.S b/sysdeps/aarch64/dl-tlsdesc.S index 557ad1d505..9d96c8632a 100644 --- a/sysdeps/aarch64/dl-tlsdesc.S +++ b/sysdeps/aarch64/dl-tlsdesc.S @@ -74,6 +74,7 @@ cfi_startproc .align 2 _dl_tlsdesc_return: + BTI_C DELOUSE (0) ldr PTR_REG (0), [x0, #PTR_SIZE] RET @@ -95,6 +96,7 @@ _dl_tlsdesc_return: cfi_startproc .align 2 _dl_tlsdesc_undefweak: + BTI_C str x1, [sp, #-16]! cfi_adjust_cfa_offset (16) DELOUSE (0) @@ -142,6 +144,7 @@ _dl_tlsdesc_undefweak: cfi_startproc .align 2 _dl_tlsdesc_dynamic: + BTI_C DELOUSE (0) /* Save just enough registers to support fast path, if we fall diff --git a/sysdeps/aarch64/dl-trampoline.S b/sysdeps/aarch64/dl-trampoline.S index 94e965c096..2cbfa81434 100644 --- a/sysdeps/aarch64/dl-trampoline.S +++ b/sysdeps/aarch64/dl-trampoline.S @@ -35,6 +35,7 @@ cfi_startproc .align 2 _dl_runtime_resolve: + BTI_C /* AArch64 we get called with: ip0 &PLTGOT[2] ip1 temp(dl resolver entry point) @@ -126,6 +127,7 @@ _dl_runtime_resolve: cfi_startproc .align 2 _dl_runtime_profile: + BTI_C /* AArch64 we get called with: ip0 &PLTGOT[2] ip1 temp(dl resolver entry point) diff --git a/sysdeps/aarch64/start.S b/sysdeps/aarch64/start.S index d96cf57e2d..75393e1c18 100644 --- a/sysdeps/aarch64/start.S +++ b/sysdeps/aarch64/start.S @@ -46,6 +46,7 @@ .globl _start .type _start,#function _start: + BTI_C /* Create an initial frame with 0 LR and FP */ mov x29, #0 mov x30, #0 diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h index 604c489170..4664329d3a 100644 --- a/sysdeps/aarch64/sysdep.h +++ b/sysdeps/aarch64/sysdep.h @@ -41,12 +41,42 @@ #define ASM_SIZE_DIRECTIVE(name) .size name,.-name +/* Branch Target Identitication support. */ +#define BTI_C hint 34 +#define BTI_J hint 36 + +/* GNU_PROPERTY_AARCH64_* macros from elf.h for use in asm code. */ +#define FEATURE_1_AND 0xc0000000 +#define FEATURE_1_BTI 1 +#define FEATURE_1_PAC 2 + +/* Add a NT_GNU_PROPERTY_TYPE_0 note. */ +#define GNU_PROPERTY(type, value) \ + .section .note.gnu.property, "a"; \ + .p2align 3; \ + .word 4; \ + .word 16; \ + .word 5; \ + .asciz "GNU"; \ + .word type; \ + .word 4; \ + .word value; \ + .word 0; \ + .text + +/* Add GNU property note with the supported features to all asm code + where sysdep.h is included. */ +#if HAVE_AARCH64_BTI +GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI) +#endif + /* Define an entry point visible from C. */ #define ENTRY(name) \ .globl C_SYMBOL_NAME(name); \ .type C_SYMBOL_NAME(name),%function; \ .align 4; \ C_LABEL(name) \ + BTI_C; \ cfi_startproc; \ CALL_MCOUNT @@ -56,6 +86,7 @@ .type C_SYMBOL_NAME(name),%function; \ .p2align align; \ C_LABEL(name) \ + BTI_C; \ cfi_startproc; \ CALL_MCOUNT @@ -68,10 +99,11 @@ .globl C_SYMBOL_NAME(name); \ .type C_SYMBOL_NAME(name),%function; \ .p2align align; \ - .rep padding; \ + .rep padding - 1; /* -1 for bti c. */ \ nop; \ .endr; \ C_LABEL(name) \ + BTI_C; \ cfi_startproc; \ CALL_MCOUNT