Message ID | DBBPR83MB06136CFB7DAC249161B30783F8C42@DBBPR83MB0613.EURPRD83.prod.outlook.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=microsoft.com header.i=@microsoft.com header.a=rsa-sha256 header.s=selector2 header.b=Z8kl78Bf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VxKBt1TvBz20Py for <incoming@patchwork.ozlabs.org>; Sat, 8 Jun 2024 23:47:50 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76EA73858294 for <incoming@patchwork.ozlabs.org>; Sat, 8 Jun 2024 13:47:48 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on20719.outbound.protection.outlook.com [IPv6:2a01:111:f403:2606::719]) by sourceware.org (Postfix) with ESMTPS id 465163858D37 for <gcc-patches@gcc.gnu.org>; Sat, 8 Jun 2024 13:47:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 465163858D37 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=microsoft.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=microsoft.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 465163858D37 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2606::719 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1717854447; cv=pass; b=cRwpnWcQfyENoe3cnNqYD0elMqt/6rSqKMvmKZnJFOzfHdEojaafYBHiZx4thidKyD+0kGSjzWY5A5WJpvpBFNJmhk73fQYR8/nxwkknEjwBW7CwR44W0If/lwnnbtWrQWPcNxwine6GjDiSq8PAraw47k2QVeBM8ZeLX/9CEvM= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1717854447; c=relaxed/simple; bh=K2E1FEb73RzCVm1fP3fbyD2UzBBF/p8whw7f6bX3lms=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZHb1PqajPjpg/M0onBauwEEQXKcbVATYkKkIjMEdFjyfKpdHChRZqAtTY94N7UrpA2ICuygaeerp/IicaKjQvZYS9yHlcEHp14cMQjEbMvL7kU5KD/Eo1LFBOxy4h3xJemAeX3CX38EaX7z+0iIbJ3qedkvFD2QmnTBeYwVldp0= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g7hec5XWCDZ3q9ECiHiYQ8f+KjqZYZVJwQ8n8uHpcq8uRVf4mMEVlEzBr/wRBRUNOR8pk9p6Iy8XcGw9CkBGKeHGTvBwbBFwtTlkK6tHF8r7R9ivVHOH3PeE0J93cwus2MmddPCrUypTrGQjhBBrTg+wH4FEvSNYAR40HhITJmw8Qwkc9AN204454O2NBaiajc0DJIA88tTfngaXBr9uK8vwywzuxGu7yWjjvPrciXojDljWf/guEUzRUOxi4AxzCDwx/6cayyA2KWjoYq5BjBLnjli7JuQVYD9iDP4NF+OT8h10ZdYXl1mtlmRQccIDYEfgT+PGgFwv+UhQYTKf7w== 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=v957DOYri1FFf315e6QU2SK+vo7kXBC+KSIh+tqXUyE=; b=ARKCMoB0WYtj90egrPUwQ/Il2cTch+FKUb++LqC5SSStKqXXfngjwfE1hiegLClMJjpX4LwONzBg/JzakdwCVp4BrUj4TshED58/HDKH0vNiCfw+Xe7u8qwfRSQH7Y0lmR12g4oEZJNVcNsijOtM1o14r+1hSSFS1rqNDU4nwGsCCB7Lx3zdbTlfwXf8zCFB936MpPsYpLSVF8+qhzWNm+jU7pv35WIXijq715K5GLSK+G4A2edt34WMSFepwkl+2HLjUkqhbaDNBHBzuXCA6rc9jG+HbpvyklltpQyIhZRC9UMMBkEnlPn7WUXanOhxnzPlEkB/r6T6oNfJcGattA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v957DOYri1FFf315e6QU2SK+vo7kXBC+KSIh+tqXUyE=; b=Z8kl78BffIVgn8TDDDT98plaQ1sj+ZKR3vAhBvFtfQ/xo6rs5GW8bhCYvt1phWt3cW0nxIOOSC9+bMTsUruuG7eWh0EgYdIfoZphysGFOZ9GC60fAKIOrKr9KYNor8DcqxxNXZms4SqAbsN1xa8aBddtMREJ11uomXEAh+TlOck= Received: from DBBPR83MB0613.EURPRD83.prod.outlook.com (2603:10a6:10:533::21) by GV1PR83MB0651.EURPRD83.prod.outlook.com (2603:10a6:150:162::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.13; Sat, 8 Jun 2024 13:47:22 +0000 Received: from DBBPR83MB0613.EURPRD83.prod.outlook.com ([fe80::399d:9bfc:1209:af10]) by DBBPR83MB0613.EURPRD83.prod.outlook.com ([fe80::399d:9bfc:1209:af10%7]) with mapi id 15.20.7677.009; Sat, 8 Jun 2024 13:47:22 +0000 From: Evgeny Karpov <Evgeny.Karpov@microsoft.com> To: Evgeny Karpov <Evgeny.Karpov@microsoft.com>, "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org> Subject: [PATCH v3 4/6] aarch64: Add selectany attribute handling Thread-Topic: [PATCH v3 4/6] aarch64: Add selectany attribute handling Thread-Index: AQHauapj3Gdzf0D/c0WAYEauW+ea2A== Date: Sat, 8 Jun 2024 13:47:22 +0000 Message-ID: <DBBPR83MB06136CFB7DAC249161B30783F8C42@DBBPR83MB0613.EURPRD83.prod.outlook.com> References: <DBBPR83MB0613BEC9F720A5C58E7ED14CF8C42@DBBPR83MB0613.EURPRD83.prod.outlook.com> In-Reply-To: <DBBPR83MB0613BEC9F720A5C58E7ED14CF8C42@DBBPR83MB0613.EURPRD83.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=4cf5d1f9-3011-4a77-8066-ab2b27e02d44; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-06-08T13:11:52Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DBBPR83MB0613:EE_|GV1PR83MB0651:EE_ x-ms-office365-filtering-correlation-id: 862f76bb-3ea8-4c0a-87d0-08dc87c185cb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|376005|366007|1800799015|38070700009; x-microsoft-antispam-message-info: wMofnadrHFu4IztLNWt+ov9Ebal1XaJaM4yfDNcHn7Q8uL9sZo9B8dhsaw9AI/dQ7km9Eq0HIKG0yVL8RBxQ+94dekym/D3cFiC4Ijy3y/cExVAwqPS0/40ubkgfsHdZu4Avziz35gBKiwcU07ajVagLvEqtv49FpmpKEQQ+ky17kfKcZJiKr78kRDjCUqu4f8FR7n7aXvg6n1sORt1K6DIHBf8auYGQGqepqRAt1JBINHncom9tNUPHDdEvBSuSJ6pb9gsKyVoh0leoVFyEEM+0yT+U0jyDLZc0NeuaXIQLm5eqsQ1zRwibhhO26pwruXPu11z6rrE2e5qQ8WjV2No+ebpZgNjLvSKNp+Z4I0LcbtYIyAg49ldr8/NckD/a2rWYHIq8vp70uT8XBpQNZdQxyqJ/8kWVrAKaFPmgcO3PUfnow6J88v9WwYPvA7O3R37ngl1fRIy2u6W7RZZawNov+LAYyWLNJ7V6PxT8syGJFAqgRyKrtebAHyGVFpZNGaj6r8SyOcijNp3iT1TE5glP+dtK9vzm3EfmG41au1pNodX2yeuugAUN/d6RI+mtkZRbjv/HqvWatGYXdvIJIxD7PIxGQA5W+UC/UopLjl1vSQcpMzbABu7CPBJ/uIhkkyaOte4nbf3MHvgA+ymQJiIQQAnpZK3TP1NFWEhCdJrm5mpnVj7IJTDuXvfVVy8WNUZ2Rq93iZJ9uMhQOs7M/Em1FmkUPadKKmPO4nlpqL0YLDMIusDlXMThE0IjyA2ZDdA/KZEPGRCGCunkIAw5JNGqMXOn2YP0f15L/hxabexCbgl1NJD+VlITdhJ/JRAQ5ydyowu/9M1B3GrQ5BKMx3DJWJL+GvB8qiuPJphCfm2yN4+9vjxQs6DNe2dIKaKgZsdQMWjZGEa100Z9v3u4XXq2kRLgLo/iLwPwWMBWeT5mSMIRD758aFyd7+mgqT/mZrou7uZzy2ECz4hgXQH5r3OO9012DaVOWn2jusqz3NvqKIe/U7x29mqrgyHruDRB/0Zgfi2a/SCh8NAdziBzH9thZX5pel6UJP8EsRK99g4vmUaqCgNzBjVShFug+S/OVGnTKWEitKLDIydaWjdwERU9AguG8pifXyhxP+KpykPZ9m5EVlBcjfuhthjX41jwzj5KrY1RXVTT01iJIFcUsFAN6yey1IxG5+JzgCQDyPtrmR6ukaJHnrFPn+Zg/SyCs86adUADhzUMBRStWEl9jWU3lZE7qAPD5mtK0dRn/35MwrDTZHOAGnQ0x0Oe+Yb4sPPLH2pmc0lCAgUWtZMbiRfyrD+Jzvb63oGSx5vL/Dmy850keOPYYVVVjafgPiaiyg7/GIJS034m+O+QinAStAvBkgJMNaJk5qZXUtCEX8c= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR83MB0613.EURPRD83.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(366007)(1800799015)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: wXKgbB/4XF8brQhBvjm1k03mizItgagApLcOvQ4ccfBTKhV0xMV4c+1I+0ErceYNADyItrVZWh5YnBXNnnNJJU/+yGnndw3rd/zsOtPPkCyfb1XYP/I2SvOI49IueMl9dcZmMClkaRvic3CXcz9ACpvEwxx/j+S10VV/ZWs7+MkAA0khkuaYthJRkAzLjj+CVAG+LNHQIcxsZzKG5oKlob+TVt0+Ui3iJ/0qhNSgqFN472sxhuyRfXSVqVU0ADKgJJvx7gjFF6F4Q87PkHUXCZHW3xqVE+ktBpha2LyNxCLfb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uplCKkkyg6mQU/Y1QEAe8/QFfjdFzcmdM5RItd/rYvkbBoipIfqxFcYJu5HqefQTvHxnHKtHyqSuiliQOM0SIPUlXKP5FII7nJiNBGF4OzZHEWQLmTM1Ci+idFdc75y52JZzJKncx+zvan9REDSa5n4f7xBzuSOOtN4fSQwlNCPBJ5XGxRHrYn7/Ekz9tm4uy0dinlpsNeCw74D/YLnHVPJboNJN5AId8wo5sZaiXypKg+F49BNG2ISE0yTNfVv2JLJY/LgmrsH Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DBBPR83MB0613.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 862f76bb-3ea8-4c0a-87d0-08dc87c185cb X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2024 13:47:22.2477 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FcZB1/Fk24MdAyhWXiIZSt59metYrOXztLiVlKNWrwiGy2KvV/Ud4fGQBtX8TpIKe77+TvuW6+OnJcsEEE/3Tg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR83MB0651 X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
Add DLL import/export implementation to AArch64
|
expand
|
diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc index 13191ec8e34..3418e57218f 100644 --- a/gcc/config/aarch64/aarch64.cc +++ b/gcc/config/aarch64/aarch64.cc @@ -859,7 +859,10 @@ static const attribute_spec aarch64_gnu_attributes[] = NULL }, { "Advanced SIMD type", 1, 1, false, true, false, true, NULL, NULL }, { "SVE type", 3, 3, false, true, false, true, NULL, NULL }, - { "SVE sizeless type", 0, 0, false, true, false, true, NULL, NULL } + { "SVE sizeless type", 0, 0, false, true, false, true, NULL, NULL }, +#ifdef SUBTARGET_ATTRIBUTE_TABLE + SUBTARGET_ATTRIBUTE_TABLE +#endif }; static const scoped_attribute_specs aarch64_gnu_attribute_table = diff --git a/gcc/config/aarch64/cygming.h b/gcc/config/aarch64/cygming.h index 0d048879311..76623153080 100644 --- a/gcc/config/aarch64/cygming.h +++ b/gcc/config/aarch64/cygming.h @@ -154,6 +154,9 @@ still needed for compilation. */ flag_stack_check = STATIC_BUILTIN_STACK_CHECK; \ } while (0) +#define SUBTARGET_ATTRIBUTE_TABLE \ + { "selectany", 0, 0, true, false, false, false, \ + mingw_handle_selectany_attribute, NULL } #define SUPPORTS_ONE_ONLY 1