From patchwork Mon Mar 4 17:49:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Karpov X-Patchwork-Id: 209664 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1580112dyc; Mon, 4 Mar 2024 09:50:27 -0800 (PST) X-Forwarded-Encrypted: i=4; AJvYcCU2aZQKlTMDz4QhPUS6wvvl8UqHVfP2ERaG1RwxINoKKnNjZP4YTLyhBYf1UONe2VKkSEEg6uWh0yL+/uYO3P2ddqOKlg== X-Google-Smtp-Source: AGHT+IGOYwvtygoDIahcBRa0A2UV2j6NtITqE52UgFtSTIq9/umK9D/bODaCNO545zBl9TszS7kH X-Received: by 2002:a0c:9b02:0:b0:68f:6f52:e7cb with SMTP id b2-20020a0c9b02000000b0068f6f52e7cbmr11583603qve.55.1709574627008; Mon, 04 Mar 2024 09:50:27 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1709574626; cv=pass; d=google.com; s=arc-20160816; b=hspOLQekBLxUz9dJSukHJzoMIF5MACnr5o0tZ1Qar6gvPy1SXTIa2NZSjEmGuHc57P NXQCZF3IauTpZgX7/vdO21K+kyzn4JMQYibvtQDmoqAn4BG5Vf89ZDgJ9nOzXAf264cn ggYAl/Sv7Xmib2WWMI0aBHbqFVujNyNvrdtP1mCyBDJ/ZroHD2go2vtG2+Sd3Nroza8d pXaD7Djfzj36MeJqauUNo9QAfufn8j89LnS0DFRqZ0u3M1uwfqZqINTb5kLzgZjuhj+K l9pG2rNObYEFcYZFqZs6+IcNIIhwOJ6a0R5OKx3ws5uYoMsc7p10oNSNqqK3z7RyigR/ Q5sg== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:msip_labels:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=l0SIoYCXYXMZ8SnMnHzftlJosY36aBpqRQag2g6n2Js=; fh=+2oejmI9rg4HZgWvTrkP8qDufDd61kvBMNz7Wu2ta60=; b=goEWgmBTzGdf7h7xE551NFqkMRN7nWfWTZ0tqQExmdE/IDUZAx3sT8YzVNnFm+xKOa chKbbeK6XdXeMc+1ZPolh3iW4amApz10ljdkrbjYuVF2gbcq1c3q3RMMD+YtcQRsUqk9 BhnjJWcnXQ3vSfeNVvwJggWA1sXZwySgpdZdLjraFJY6C88G0ff1vISITUvDZg3iA1C4 BlkcZ9LwyWbun4UTnEaRC8B8jTf7SKpqe6XynW5vJ+QwN/ECU38fwWScWUrGuMN6EvSm rQ91lK+9aN9wEIRPZN+njsjVHgT0dAGe8MeoGGnmsZGZbr5f9lUU4x7qMXlEgFTg5hqT EtHw==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=JG9kSaJo; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id qn18-20020a056214571200b0069007a575f5si9970826qvb.226.2024.03.04.09.50.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 09:50:26 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=JG9kSaJo; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF3953858409 for ; Mon, 4 Mar 2024 17:50:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2124.outbound.protection.outlook.com [40.107.15.124]) by sourceware.org (Postfix) with ESMTPS id 951173858C41 for ; Mon, 4 Mar 2024 17:49:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 951173858C41 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 951173858C41 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.15.124 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574586; cv=pass; b=rJ2SFAFmSz0TsAOaXzCuxFValSK9+ut9JJ22ZxYpP6ULJESzec520QUAnuB3CclN+S8i31QqnPkyAnzIR6vRa29ZvyOyQEXHCusyVGt/wk/M0OQUNQUzk5SkZgYt26vXEAuFUgaRa56tn4oA/FOCb81XKC7QOyU47gwTcI0Nytk= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574586; c=relaxed/simple; bh=VFjOlFvEFrioP30Iqx5OKphV43BX7t9FhTOYBQGTU5k=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=LjGaeUiY6X++x3fZ8vPFx5pcrZZ8TFo2mwsfiK4IMMRwPBlsZ/q0zcZL7eRirfgL9B53XJHMcLHJs+DNUVpIL0RevYl6rpv5MqB/Vtv99B1xfEVHQTcoUQK5PZp6NI8TAkJcqree7+Eaf7s+BWL/xsJpf5wlVB4+9Qrz/7TJEv4= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j9Xtuc4xmLl1akB2fx9nQXYa/14tbzFBrqWAWUMHYzG3bcASOTj46ZWRGg2K6EhzXjGjKVjeRaeDTLIXVZKlv8NbnZy2dwYHis1YtA3lQtxBHUUOTyri2YzTim92uEYMQcpHgeiT8FcXhzIdRQPZhya7BZFr2/MlwARUsBwg6T2xix8QLKMBBpGZ6oBA4OTg1EaGHNOIJ3sPs4YTtd9Lai2xIe1toZ0A5S6fLab3/W1nA0ci0hoArsB6mPMSygfwsPMmCD26aVORqRXsWWuOVjbENW5MW4rUQggvff9tkaAk913GRWAMwpPoCqB1isUN+tmuqUc447CxDLNkP7PD4Q== 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=l0SIoYCXYXMZ8SnMnHzftlJosY36aBpqRQag2g6n2Js=; b=aruJ3p1Iiy6urtahadzT+KMMqOCulQ9KN9LGAFV5LC8p1aSKQUJS1wOuDrug4LAbnfIlszRsFDxlRVXi7OKH8JFQNDrxt9Egigm0FvgRuq2qbo0g1E004akmTMD6htsBnPRj5tJpNDb49FHLxfvGxsQixfGlZb6/q5wj/DXBw2BOd/uPvGMZcD21B1zlFqHSOBXdUTOE8ilLGfOnw+AD1hJYXMieIyNkey2AUGBXlR+XI4dr2yqNR31/6N0mvA804nTqhdd3oosyP3AbuL6Af8w9qz8qcPBpDUkB/LW5Dho0o0KTcAsEOCPubHWtnjU2vrclGLUVqpSU5pPR49vkPw== 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=l0SIoYCXYXMZ8SnMnHzftlJosY36aBpqRQag2g6n2Js=; b=JG9kSaJo/hWcrWyZpYAqNEaQwl9T6rJwzSsvPVd8J+MH1j7hIhQQaSLp429y+WB5G8MvxXe9E4A1pWErU9ZEgL7XRm9V5x4yq8xzhdprl+onpuQ7Syv0u6sFIrNg6Y2uKNDapb8zJ2l2OkWWTeiCpluzaxyuxjjicTHgwpC3y+c= Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com (2603:10a6:800:17f::6) by AM7PR83MB0436.EURPRD83.prod.outlook.com (2603:10a6:20b:1bf::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.0; Mon, 4 Mar 2024 17:49:40 +0000 Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7279:eea0:8540:a0f5]) by VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7279:eea0:8540:a0f5%7]) with mapi id 15.20.7386.002; Mon, 4 Mar 2024 17:49:40 +0000 From: Evgeny Karpov To: Evgeny Karpov , "gcc-patches@gcc.gnu.org" CC: "richard.sandiford@arm.com" , "Richard Earnshaw (lists)" , "Andrew Pinski (QUIC)" , Maxim Kuvyrkov , Radek Barton Subject: [PATCH v2 11/13] aarch64: Build and add objects for Cygwin and MinGW for AArch64 Thread-Topic: [PATCH v2 11/13] aarch64: Build and add objects for Cygwin and MinGW for AArch64 Thread-Index: AQHablxUaDuHcHZf4kyAlWwj2odUdw== Date: Mon, 4 Mar 2024 17:49:40 +0000 Message-ID: References: In-Reply-To: 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=804f8e78-f263-4809-bbd5-d515c5934d44; 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-03-04T17:10:26Z; 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: VI1PR83MB0431:EE_|AM7PR83MB0436:EE_ x-ms-office365-filtering-correlation-id: 1aa0fcd1-168d-4afd-207c-08dc3c737758 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: C/ghgg8VSy4HReeL96dyxqi2OIGANz5vz0Oebno57ZAbe4vsdWM/0L4R8SBtnRdBIpLUWHTxoVNDRIsgnyzzwfojUA25EsGfgEjxZPT+azjmkQnCDS9Pu7jJ2sUMRorUbzjHcLR8FDEqC2M+6Xhx5EeL++sxW/FLerZPfuDx56jhwCwQZUg74kao7kr3WKAtpV35pICtml1MluHQvyEVqwlDhRoowbYMlW5au8FBMl9Sd2ZHbKDaRqFN+j2xb248bFimaH3WqfCycslwdH9Hn/eK7Nn7AcC2LDNQIHLgIf1yULNTU0sRD2G+toqQkTTJG1QlOEMA/bxfsGUqyxDgNJ0PF59/AKfIR47ciHcaCGQe3PxBLvj/QzamPAuWd0jVO4i47jW8jjjQiBwZzxUQa0wLNC64BmMEF7Vz/hl+q4YskWOBFloDxDPq8TVvx7wJVI+jsA7MuZyJ/57WRvXJqCNwIqIHdcUSNYx0gvH1+tAfv3dkDKJqiVigfO3GAf/WLqxPVaORWghSMIbBnw71/7dGxJs/8JJx5c8KXPZNBT+Xt7uKaacwlupBMiNnKixpY664QRytwYHGMnUTKJpZj56t6c5/wn5ve9Pi/8LVgj3cRyUk9Qr7mIf+KQEJtP9WX4mNzcy6TJvbBNSZZvVDat4tg9N2na2JoZomvFKBvcWn54KsZvRfxO3rmOdk/EKPK1LYu0zbj/p4dN36cskrqw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR83MB0431.EURPRD83.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: CWvtC9e0zRe75w2QJBHagIkpAYK+v25ELwdAFOjBzgCDRTmRoujbG0T1/J/TEXK4QeIvqZpZfwzT+EPdqMx6VZi5eBMdnzF7ozWkN097AmjVhQwz6JdyfSDLIt8u5sUZzOA8M9JQkoVJD7NVXqeippbwkLxPfBSQpYIXn+8um7Msku35TPcqQUuNfCaY4Slyg+gHo59pdbwxQlPa3Q8Jczk46oLosFlHTLV99JuI47zlK/U3PCNOGvJw5NLX8jLzR1skbqySPk5p/tnscVBAyBK8hs6Jex57V5VFTsq0h+g+PrqJw7CzBQ2UI/R117RCxUXxV33Y6t0XpBucGVSetzgApmcsyls7/WYv22/B2r24hDRdNshrQ7m7oWySQ/c1VcFCcpXfEP2P5vYZa1UfA/8V7phw9eO5140o3ys/rcZ5g6g/igTsaJqfYzbG/qvpvfT0Uqxoi1BwWLNyJiXosLDVrm0O25BLKO7plD7qOOyueXFkTXxfPdD1LUotOp/FMs5J+0URPHV0lpA77wO+GGq27K9FR3HZAD7xAF6hiS1wLuWu6B+2GunFmVSkXgnZhsGnOln4TdvHT0IxsJMbLRNrvzMHkQQn6kfh0SvglA5Rqj4kh32i4wMUUG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RD83.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1aa0fcd1-168d-4afd-207c-08dc3c737758 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:49:40.0525 (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: Nmovpo/1LT6iGMmyP8xvYH5UlENz0khXbFVSa8eJATCrIfTbx+8yl2v3P0ftl50nGoN/AXn88PtdMPypCVs39w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR83MB0436 X-Spam-Status: No, score=-9.9 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, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792618924193646504 X-GMAIL-MSGID: 1792618924193646504 From: Zac Walker Date: Tue, 20 Feb 2024 13:55:51 +0100 Subject: [PATCH v2 11/13] aarch64: Build and add objects for Cygwin and MinGW for AArch64 gcc/ChangeLog: * config.gcc: Build and add objects for Cygwin and MinGW. Add Cygwin and MinGW options to the target. --- gcc/config.gcc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/config.gcc b/gcc/config.gcc index 4471599454b..ed5431b0f5d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1272,6 +1272,11 @@ aarch64-*-mingw*) tm_file="${tm_file} mingw/mingw-stdint.h" tmake_file="${tmake_file} aarch64/t-aarch64" target_gtfiles="$target_gtfiles \$(srcdir)/config/mingw/winnt.cc" + extra_options="${extra_options} mingw/cygming.opt mingw/mingw.opt" + extra_objs="${extra_objs} winnt.o" + c_target_objs="${c_target_objs} msformat-c.o" + d_target_objs="${d_target_objs} winnt-d.o" + tmake_file="${tmake_file} mingw/t-cygming" case ${enable_threads} in "" | yes | win32) thread_file='win32'