From patchwork Mon Mar 4 17:39:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Karpov X-Patchwork-Id: 209656 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1576608dyc; Mon, 4 Mar 2024 09:43:39 -0800 (PST) X-Forwarded-Encrypted: i=4; AJvYcCURMFh7nV4h7Bt6rT7kiWqDXN8fhxXI75f8UiUCPnpHKM2o/TWu4vx9JwXtuxplZ9RRDKSNedG3f27tDXx5L88YrD5UVA== X-Google-Smtp-Source: AGHT+IFSaHa9ATiec8hLck/eD0lHvAyuTwB22zangX4C1kJTyQakd36RjNnT0OLtppjM+s5VNLsQ X-Received: by 2002:a05:6358:6f1f:b0:17b:f042:5d5e with SMTP id r31-20020a0563586f1f00b0017bf0425d5emr11957191rwn.15.1709574218772; Mon, 04 Mar 2024 09:43:38 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1709574218; cv=pass; d=google.com; s=arc-20160816; b=G9Pkej1GJxP487OAqiFtdcQxsk+OOu6cdP8OZ90jwVZOoDlzbnVjNhAPfQBiNZFu0l HPgh4cASHEK4ISdP6/XGB0wW3ji3hH0/5U4HveVFUk0AnEJWVHlFSGfKtnbfK3kUbLdU vHFbaxd1LsxaFCW6/pYzfg3mBVctxrQuhEu4PIVOv6MNL/auc3Du/dAfsbvfNqmzgzpX pXMzreduAorJ5kvUYMmdkRkDzQB/JjDmO+uc7W8o5wIhNx46N8tPJ4+ochzqf3PygYed iXTGBk/08AQzaNem84aGsvdvSh9p3vNUuX7+hcuDiX6yLoJKT7J7WiLoabi3RMQga27+ UFgg== 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=mUqm6AosJxiIvrSf1f9ig1w01sqRu+6R4iAqr0yLhZ8=; fh=+2oejmI9rg4HZgWvTrkP8qDufDd61kvBMNz7Wu2ta60=; b=AB+wjNT9xLl42J8PAEArxekwEm7qeVojc8b9UruxfzezKt0c6dFlfgGd5cx0gt9Ai0 lL1GnbA7bNI4QEglfb1B0ioL/1ZvGTyWDd7c0GordyJ44rk9ObaMFNRXYGQAXeAVVY8k BL/8Ec9sw9tJ7r05RbwhG0Tyujy2AggKSFqdlS02vYtMA62MAw7SSr893YBcC/VWb1SU 5IGdfGSQjlfTjAxrfiM4j2ZuUi/SPXDgHwiSZNWoOg/B9nPBngJriGp29AXiCmHsuJ1v xSQZ4AMS3ebLCZK/HTDu+b5ypJd2UbSsjgItX+HjEGERcjKEo6HRwsla6Kuc4Btfw6xi oXvQ==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=aaCa5uyo; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ld24-20020a056214419800b0068fea008b11si10080990qvb.306.2024.03.04.09.43.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 09:43:38 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=aaCa5uyo; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 711593858288 for ; Mon, 4 Mar 2024 17:43:38 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2125.outbound.protection.outlook.com [40.107.105.125]) by sourceware.org (Postfix) with ESMTPS id 50585385840B for ; Mon, 4 Mar 2024 17:40:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 50585385840B 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 50585385840B Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.105.125 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574005; cv=pass; b=YBl9y6cDo74qtprc21X7s5ui99ZMHOau/Pe1fHey56tZEBYIQWBLiIvlK3Lc4iI//Dm922qo/bTJXbFciIjfQYzDDIlW9kl9wzd+wuc+uUbsALmpM+P6KL7AP9XTStdKgT+TTT350zlB3/63GdC0R745G37WZ2al1I9k+78wvLo= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574005; c=relaxed/simple; bh=vzjifHmrN51OKzpxDAdvDvs2OvPD+LyODGZyF9eu6Yo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Jv5hco69afVdeiy1Q9nO8FVgVsOVyYlR+FldmJ/oxe2v6oe6T2hzKYkVI16qcy4Em5zJr3uMvkrbK1VrZu9voLn8RdnQW/TLa6TDQHWBBikpnIWNoxtc58eMP7j/+ffvT+ZKGITTL2z6CVuZ46Zx7hO6fsFAsL6+b/ofSv854Cg= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XC/WIELw9tUzLwy+0dhO1Clg3VtJxcd8eH+oH7Zsjll7gVATo0Tm4b+JhlPrncqCOLqSZ98jI0NL6fxOqdsr2XK2mlI9GbQBo0tQGbRiMWdTa5POnHNpGWTIQDCVPUhN1rNDp62YHFAwZxqSUbDMlro11c8NC5XrUQDXNzXserh9dKdj64kO+1olOZBOO6M51+NvmgWfAUuVPesJiSNAoJlt3V+ZUqHWApf7Pj0F1+YoXuLP3GA1AMOXBJKlFGsuOjRE2HtCu9biVu7oaSvMQI44eHa+KuI6vLGmR5v+O18FgEQoDT8dmA2SJjhMdqkLwVCTJZLLiJm5arZfpXEXxQ== 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=mUqm6AosJxiIvrSf1f9ig1w01sqRu+6R4iAqr0yLhZ8=; b=DeYWMptbYpPk9kc7OOjP6VBwvCWYYEmWWHEQ+2O82iAQs6XZXlFYtrfSwdEKPG97ED9rCr8ZrJXegd7gEWsAukJn08qZjD3rKqv9F6udnqFTLnXfipvc/3SDRSNvw2QBmsRCxLt6dMlVIqnTA7TwJe5uIf35QGPwKozGcCA6FFNRD7bjZRqsYnJEdQuJHuebbD1dgMgp05rerqDZkSOP4d5a6vuMZItYk1kzIKy0iKjU2gsuzkLvR8ztEs6ifGyLoAefwabGmIn1R4tq1Y3tuNt+W9YsccCEOElVlMRgBDAgTmjhksgiipgE+/tVLeIBsOVhZGx3mqRl9xVmIu+Dgw== 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=mUqm6AosJxiIvrSf1f9ig1w01sqRu+6R4iAqr0yLhZ8=; b=aaCa5uyoWJWu1Vs3ZgYs8s7RmaTlST1ELIwVOpu87pQLh6nifTmrC5+yhxOP69uPuuw/hT/QtvpoMojl+BZOKz5aXPy8rlOOcHkQcs6q+mtUEoKX5S5n81diVQ5/G3UXMo8vTTrnhY9w5gxp8d+kl0hsT9HMqsSNLBmcjtCtCbU= Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com (2603:10a6:800:17f::6) by GVXPR83MB0607.EURPRD83.prod.outlook.com (2603:10a6:150:154::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.3; Mon, 4 Mar 2024 17:39:59 +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:39:59 +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 05/13] Reuse MinGW from i386 for AArch64 Thread-Topic: [PATCH v2 05/13] Reuse MinGW from i386 for AArch64 Thread-Index: AQHablr6O/EQRX5yikW/YgynyBwaZg== Date: Mon, 4 Mar 2024 17:39:59 +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_|GVXPR83MB0607:EE_ x-ms-office365-filtering-correlation-id: ef3fc5dd-af35-485b-415f-08dc3c721d29 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sNWJWaGBNHA/hCdPFKfKJQrCp5AECqU3JP6k0501JxmLIIieF7SlYyQjZshcc3JFJ/+nMlRtDyDwQUoSHbTz9j0XxxDMOjPBS5LXI0ejSKzz9b9yryMbBGqPkSWxsA2SbP0FYYpNrWc8kgSUHBl4nCEUstblRo68fcDdbB2v19sln9+YETewkTORuQ4gEXBPLZJayirFIO077fUdaEcIdEbkJnlaqUs267ccSqGc41Cpv3YI7u4UdvGNlqAZUwxFE9ZI+HK9sG88RVkNpS9Sfrl76YBF4h0mn34Rv6JwfCyNacxVjg+c+3sz3tmeB+dyj8gPuNPkZIXMuqtV0wZE174ueqnrGNtnkus8ujOmOrrOFlt9dGXg4YetH94h0LsqJBkwDbu4lN4aozaIzMBhDpF6frp7bsJMop4txFbk9Al8d7AnoBdJo+rxneJV8/Io/4RO70xcw695H+G2VYd1hwnmOi56KhYFMIT6rDYnsDYvJFSSwwQ1r4CcHGMQepIKaxHV1eUaDd41rb96B3rCFLK97RebQbofmPr23XU7Hmxgr0vS+AI8WugbzqNPaghSm4tWWKlcHoXzLJIwolziSEbemAV7Eu6nwIMg0PEIq8TK0ejHgkFN2M4naZkGouQr5JVeRqjEYZn1QrnNSXboEpiR2XdVpBctcfyw8wEYyHuHHP3el2zE5xmUP01dwzMWDMYb2z5tBSKxvPSNJLrTVKZ8A23vUWwIYrr/XW59w+I= 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: q6bTutB+PfIqUxSR855ARjJAAp6XjJmI4fes+9nex88u/87gKJE9+Bp9/ItvAY9WgDbXIQmv34kLson01SCnMmS2RcGrai0ouUFEPfiBHjQ83WRoN+PzhhE0hWy0sZFjALDwsBLOTr5g4gfh1VjcAegazriMmaCtZnIp9sCZAqZQ/mw0ofZ+NoiTanZq16B5KoLSrbiqYjZPhXJRfEtKQhp83mJYyrhr+2l5MaX+i2jmm6tEBYrdo3pF/d0BL2HHjsbw4opcXUUWy6zqiS3DcGlzk6phuqgH6NbFE1vCc9bbouvPOHvD7nfK8rtYJPa12fGZUaNCg+enq+Bex6jS3Cs5d/Xz3ZbT1qlU43jyFs9xQGJMJJOe+kSF3uIHWo+6YIKkcBOPY3gYsxb5ttXakmZX2cs9x7qjjmYJKQ5/Kg7qQ5xIMZbI4NBRqlrGO8hmtE58CvbtXBsy5CusXbpOlm8uQcPZB3VmdmQ0t7yS9UfENFf3+fs6Taa4lE9ZA4vmpatuXs7KtSdKTrcohV2mWZWsZC46r7L/+LYrJ/a6HADkWP3v/aabEJlzhPnbvREszi4aIS/zJpLGrTKIRCJdHFBh2keZPe3nus6hsTtdzjcexKzxQE1B7pbITEIuUC9tmAUHsJDFUnOPh3uNKALZazNP2DTfTB86I6Y8+ef4ohi2SavZC0eU62hACvruC0tiV+HWEmZpDzDdJRIYuwfrfaNWpbOHiAA/DvhQWwMQ5qd5IxIjZVciHeyjHnnXIsPzw1wXRTwXCAygzPshvtjXrUlY/o5Nnev5KAvH/HdS9Xi1b12STgllUQ8yl1T9aDvDMgH++a4jBw7sMx77Ic1iqSPQtTl3HP73+V3Q/FKfhCsqAF6l8dgdV2G+K+BtJEJCCsGoaQm/SRL1siQD96sHt2N18bQHSHBLlHbI9kcL3/C7FcxY5yV0/m+8YVi8stob4pbSBeT7pGCbYQMrVKf3hzZrCYyGrlTJKCgqFzXY37qTqy+CId7GrTpjD/IU7SSdVrF8W/Zy3rDz+x55YZVcj42bcYqKo7gL+hGgTC3dRi3LHha+uahb9mXVSPLq03E+HxTno1DKdA4FAymnQPz79blR/RfunIo+zcCw41yQoo3hg0sQj2y/9VpgdH8LITk2X9DZNrH8+1qkhXCfAqbuJgLhr90LirDM3X6fu0emMI5Zo7WiXsuRYQlUANr6yPKpIynQB8/SvMmern3bFgGVVwJhF+SM3VTnpQOOXuLK7/zIQevhUdH/GXxfaNq0jrl/OPmxhZw6+fdyEMqhekdDzSpU7+oSU1uTJP2lmZK7yuK/HcU5OExJ9w+g6TSAFmfTUYgaXVqKrVdlbdGUcEu+roVdvoRDgAjp8FZz3HhiSfJcv9VHkUVr8967vNFv1D/ToG6ufY1MAibIF2kiifC+GQPGKqgKWILusbViR2P5mZaya14S49RkzQwUG9T/nLxyoO/r1Dj3KmIOTldJ4Wv4IuFCWRyuX/Y76z6ygKS8XgPguRes1MoQ5oCszl0yrYKA7vIasGgHD0EYvTYo74IRI4QY8Xa4nyXlsc49IIP+k3eSuG9+JomnPlCQ3jdBhJlL MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR83MB0431.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef3fc5dd-af35-485b-415f-08dc3c721d29 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:39:59.2649 (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: 8FFVc9Ss83SMdq4/FIgqueyqyGBQdE+YNltjiWj59MxD4tbxEeK6je2ztNXrSp/yPeQj6LKAUreFRI9nSpcwRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR83MB0607 X-Spam-Status: No, score=-9.5 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: 1792618495591273897 X-GMAIL-MSGID: 1792618495591273897 From: Zac Walker Date: Fri, 1 Mar 2024 02:41:50 +0100 Subject: [PATCH v2 05/13] Reuse MinGW from i386 for AArch64 This patch creates a new config/mingw directory to share MinGW related definitions, and moves there the corresponding existing files from config/i386. gcc/ChangeLog: * config.gcc: Adjust targets after moving MinGW related files from i386 to mingw folder. * config/i386/cygming.opt: Move to... * config/mingw/cygming.opt: ...here. * config/i386/cygming.opt.urls: Move to... * config/mingw/cygming.opt.urls: ...here. * config/i386/cygwin-d.cc: Move to... * config/mingw/cygwin-d.cc: ...here. * config/i386/mingw-stdint.h: Move to... * config/mingw/mingw-stdint.h: ...here. * config/i386/mingw.opt: Move to... * config/mingw/mingw.opt: ...here. * config/i386/mingw.opt.urls: Move to... * config/mingw/mingw.opt.urls: ...here. * config/i386/mingw32.h: Move to... * config/mingw/mingw32.h: ...here. * config/i386/msformat-c.cc: Move to... * config/mingw/msformat-c.cc: ...here. * config/i386/t-cygming: Move to... * config/mingw/t-cygming: ...here and updated. * config/i386/winnt-cxx.cc: Move to... * config/mingw/winnt-cxx.cc: ...here. * config/i386/winnt-d.cc: Move to... * config/mingw/winnt-d.cc: ...here. * config/i386/winnt-stubs.cc: Move to... * config/mingw/winnt-stubs.cc: ...here. * config/i386/winnt.cc: Move to... * config/mingw/winnt.cc: ...here. --- gcc/config.gcc | 22 ++++++++++---------- gcc/config/{i386 => mingw}/cygming.opt | 0 gcc/config/{i386 => mingw}/cygming.opt.urls | 0 gcc/config/{i386 => mingw}/cygwin-d.cc | 0 gcc/config/{i386 => mingw}/mingw-stdint.h | 0 gcc/config/{i386 => mingw}/mingw.opt | 0 gcc/config/{i386 => mingw}/mingw.opt.urls | 0 gcc/config/{i386 => mingw}/mingw32.h | 0 gcc/config/{i386 => mingw}/msformat-c.cc | 0 gcc/config/{i386 => mingw}/t-cygming | 23 ++++++++++++--------- gcc/config/{i386 => mingw}/winnt-cxx.cc | 0 gcc/config/{i386 => mingw}/winnt-d.cc | 0 gcc/config/{i386 => mingw}/winnt-stubs.cc | 0 gcc/config/{i386 => mingw}/winnt.cc | 0 14 files changed, 24 insertions(+), 21 deletions(-) rename gcc/config/{i386 => mingw}/cygming.opt (100%) rename gcc/config/{i386 => mingw}/cygming.opt.urls (100%) rename gcc/config/{i386 => mingw}/cygwin-d.cc (100%) rename gcc/config/{i386 => mingw}/mingw-stdint.h (100%) rename gcc/config/{i386 => mingw}/mingw.opt (100%) rename gcc/config/{i386 => mingw}/mingw.opt.urls (100%) rename gcc/config/{i386 => mingw}/mingw32.h (100%) rename gcc/config/{i386 => mingw}/msformat-c.cc (100%) rename gcc/config/{i386 => mingw}/t-cygming (73%) rename gcc/config/{i386 => mingw}/winnt-cxx.cc (100%) rename gcc/config/{i386 => mingw}/winnt-d.cc (100%) rename gcc/config/{i386 => mingw}/winnt-stubs.cc (100%) rename gcc/config/{i386 => mingw}/winnt.cc (100%) diff --git a/gcc/config.gcc b/gcc/config.gcc index cb6661f44ef..26564ead079 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2161,9 +2161,9 @@ i[4567]86-wrs-vxworks*|x86_64-wrs-vxworks7*) i[34567]86-*-cygwin*) tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/cygming.h i386/cygwin.h i386/cygwin-stdint.h" xm_file=i386/xm-cygwin.h - tmake_file="${tmake_file} i386/t-cygming t-slibgcc" - target_gtfiles="$target_gtfiles \$(srcdir)/config/i386/winnt.cc" - extra_options="${extra_options} i386/cygming.opt i386/cygwin.opt" + tmake_file="${tmake_file} mingw/t-cygming t-slibgcc" + target_gtfiles="$target_gtfiles \$(srcdir)/config/mingw/winnt.cc" + extra_options="${extra_options} mingw/cygming.opt i386/cygwin.opt" extra_objs="${extra_objs} winnt.o winnt-stubs.o" c_target_objs="${c_target_objs} msformat-c.o" cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o" @@ -2179,9 +2179,9 @@ x86_64-*-cygwin*) need_64bit_isa=yes tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/cygming.h i386/cygwin.h i386/cygwin-w64.h i386/cygwin-stdint.h" xm_file=i386/xm-cygwin.h - tmake_file="${tmake_file} i386/t-cygming t-slibgcc" - target_gtfiles="$target_gtfiles \$(srcdir)/config/i386/winnt.cc" - extra_options="${extra_options} i386/cygming.opt i386/cygwin.opt" + tmake_file="${tmake_file} mingw/t-cygming t-slibgcc" + target_gtfiles="$target_gtfiles \$(srcdir)/config/mingw/winnt.cc" + extra_options="${extra_options} mingw/cygming.opt i386/cygwin.opt" extra_objs="${extra_objs} winnt.o winnt-stubs.o" c_target_objs="${c_target_objs} msformat-c.o" cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o" @@ -2217,7 +2217,7 @@ i[34567]86-*-mingw* | x86_64-*-mingw*) if test x$enable_threads = xmcf ; then tm_file="${tm_file} i386/mingw-mcfgthread.h" fi - tm_file="${tm_file} i386/mingw32.h" + tm_file="${tm_file} mingw/mingw32.h" # This makes the logic if mingw's or the w64 feature set has to be used case ${target} in *-w64-*) @@ -2246,8 +2246,8 @@ i[34567]86-*-mingw* | x86_64-*-mingw*) *) ;; esac - tm_file="${tm_file} i386/mingw-stdint.h" - tmake_file="${tmake_file} t-winnt i386/t-cygming t-slibgcc" + tm_file="${tm_file} mingw/mingw-stdint.h" + tmake_file="${tmake_file} t-winnt mingw/t-cygming t-slibgcc" case ${target} in x86_64-w64-*) tmake_file="${tmake_file} i386/t-mingw-w64" @@ -2257,8 +2257,8 @@ i[34567]86-*-mingw* | x86_64-*-mingw*) ;; esac native_system_header_dir=/mingw/include - target_gtfiles="$target_gtfiles \$(srcdir)/config/i386/winnt.cc" - extra_options="${extra_options} i386/cygming.opt i386/mingw.opt" + target_gtfiles="$target_gtfiles \$(srcdir)/config/mingw/winnt.cc" + extra_options="${extra_options} mingw/cygming.opt mingw/mingw.opt" case ${target} in *-w64-*) extra_options="${extra_options} i386/mingw-w64.opt" diff --git a/gcc/config/i386/cygming.opt b/gcc/config/mingw/cygming.opt similarity index 100% rename from gcc/config/i386/cygming.opt rename to gcc/config/mingw/cygming.opt diff --git a/gcc/config/i386/cygming.opt.urls b/gcc/config/mingw/cygming.opt.urls similarity index 100% rename from gcc/config/i386/cygming.opt.urls rename to gcc/config/mingw/cygming.opt.urls diff --git a/gcc/config/i386/cygwin-d.cc b/gcc/config/mingw/cygwin-d.cc similarity index 100% rename from gcc/config/i386/cygwin-d.cc rename to gcc/config/mingw/cygwin-d.cc diff --git a/gcc/config/i386/mingw-stdint.h b/gcc/config/mingw/mingw-stdint.h similarity index 100% rename from gcc/config/i386/mingw-stdint.h rename to gcc/config/mingw/mingw-stdint.h diff --git a/gcc/config/i386/mingw.opt b/gcc/config/mingw/mingw.opt similarity index 100% rename from gcc/config/i386/mingw.opt rename to gcc/config/mingw/mingw.opt diff --git a/gcc/config/i386/mingw.opt.urls b/gcc/config/mingw/mingw.opt.urls similarity index 100% rename from gcc/config/i386/mingw.opt.urls rename to gcc/config/mingw/mingw.opt.urls diff --git a/gcc/config/i386/mingw32.h b/gcc/config/mingw/mingw32.h similarity index 100% rename from gcc/config/i386/mingw32.h rename to gcc/config/mingw/mingw32.h diff --git a/gcc/config/i386/msformat-c.cc b/gcc/config/mingw/msformat-c.cc similarity index 100% rename from gcc/config/i386/msformat-c.cc rename to gcc/config/mingw/msformat-c.cc diff --git a/gcc/config/i386/t-cygming b/gcc/config/mingw/t-cygming similarity index 73% rename from gcc/config/i386/t-cygming rename to gcc/config/mingw/t-cygming index af01f69acd1..f5de941c8e5 100644 --- a/gcc/config/i386/t-cygming +++ b/gcc/config/mingw/t-cygming @@ -20,37 +20,40 @@ # doing the build, it may not be installed yet. LIMITS_H_TEST = true -winnt.o: $(srcdir)/config/i386/winnt.cc $(CONFIG_H) $(SYSTEM_H) coretypes.h \ +winnt.o: $(srcdir)/config/mingw/winnt.cc $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \ $(TM_P_H) $(HASH_TABLE_H) $(GGC_H) $(LTO_STREAMER_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/i386/winnt.cc + $(srcdir)/config/mingw/winnt.cc -winnt-cxx.o: $(srcdir)/config/i386/winnt-cxx.cc $(CONFIG_H) $(SYSTEM_H) coretypes.h \ +winnt-cxx.o: $(srcdir)/config/mingw/winnt-cxx.cc $(CONFIG_H) $(SYSTEM_H) \ + coretypes.h \ $(TM_H) $(TREE_H) flags.h \ $(TM_P_H) $(HASHTAB_H) $(GGC_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/i386/winnt-cxx.cc + $(srcdir)/config/mingw/winnt-cxx.cc -winnt-stubs.o: $(srcdir)/config/i386/winnt-stubs.cc $(CONFIG_H) $(SYSTEM_H) coretypes.h \ +winnt-stubs.o: $(srcdir)/config/mingw/winnt-stubs.cc $(CONFIG_H) $(SYSTEM_H) \ + coretypes.h \ $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \ $(TM_P_H) $(HASHTAB_H) $(GGC_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/i386/winnt-stubs.cc + $(srcdir)/config/mingw/winnt-stubs.cc -cygwin-d.o: $(srcdir)/config/i386/cygwin-d.cc +cygwin-d.o: $(srcdir)/config/mingw/cygwin-d.cc $(COMPILE) $< $(POSTCOMPILE) -winnt-d.o: $(srcdir)/config/i386/winnt-d.cc +winnt-d.o: $(srcdir)/config/mingw/winnt-d.cc $(COMPILE) $< $(POSTCOMPILE) -msformat-c.o: $(srcdir)/config/i386/msformat-c.cc $(CONFIG_H) $(SYSTEM_H) coretypes.h \ +msformat-c.o: $(srcdir)/config/mingw/msformat-c.cc $(CONFIG_H) $(SYSTEM_H) \ + coretypes.h \ $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h output.h $(TREE_H) flags.h \ $(TM_P_H) $(HASHTAB_H) $(GGC_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/i386/msformat-c.cc + $(srcdir)/config/mingw/msformat-c.cc STMP_FIXINC=stmp-fixinc diff --git a/gcc/config/i386/winnt-cxx.cc b/gcc/config/mingw/winnt-cxx.cc similarity index 100% rename from gcc/config/i386/winnt-cxx.cc rename to gcc/config/mingw/winnt-cxx.cc diff --git a/gcc/config/i386/winnt-d.cc b/gcc/config/mingw/winnt-d.cc similarity index 100% rename from gcc/config/i386/winnt-d.cc rename to gcc/config/mingw/winnt-d.cc diff --git a/gcc/config/i386/winnt-stubs.cc b/gcc/config/mingw/winnt-stubs.cc similarity index 100% rename from gcc/config/i386/winnt-stubs.cc rename to gcc/config/mingw/winnt-stubs.cc diff --git a/gcc/config/i386/winnt.cc b/gcc/config/mingw/winnt.cc similarity index 100% rename from gcc/config/i386/winnt.cc rename to gcc/config/mingw/winnt.cc