From patchwork Mon Mar 4 17:51:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Karpov X-Patchwork-Id: 209666 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1580807dyc; Mon, 4 Mar 2024 09:51:58 -0800 (PST) X-Forwarded-Encrypted: i=4; AJvYcCWbwzbnTjzPB1RSr+YHFyOZmqlYPhTCHBhaSXZNisB1iVSCOMZ5oi/bxcOvrxRHLn7zO/eeG553QTzlv9wUlZS3dN1aug== X-Google-Smtp-Source: AGHT+IGfiz8j+dKY+kYDNH6cUg/WiB6i0a6XXIAeFGhNyBfCs7rl6CvD/0v5lz6686sAIi42kR+f X-Received: by 2002:ad4:45aa:0:b0:690:7508:6670 with SMTP id y10-20020ad445aa000000b0069075086670mr3812742qvu.47.1709574717935; Mon, 04 Mar 2024 09:51:57 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1709574717; cv=pass; d=google.com; s=arc-20160816; b=Fye19CqoJYFjWeYMdqKKJTG3IGA9YHw2asUH9HTsWTK+fHgiB1rZyxYMMtEFHtAFkL ZMpBsa8NGCdcv4rfgTNs8H59Ea4R0EQi3ioeYdjDCUZC71od0lKxNnFDXSwaCMnvtD8X fBmzLDD8cKwZDfNFxnw68baximaKw02hX8mdJelQL7bIyml/d6MfjVcYfChUmk6jz2CU XY+SIf3Nd4sHaW5XS6yQAEEegw2paGopv+C3Mm6kAbXk9ikvWToE6vu+zTyXs/d3IT4L iTGHct9ZsGPkruIsQpzoxXH44eas8UBwGoom9yVxaEjbdoIsvg8AjzXM5ADdfd+zVQYu 0Tbg== 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=jUV3Qb/B/qcOS2H5oEkTIiwV1dkgng/nlCrFaPx+rFY=; fh=+2oejmI9rg4HZgWvTrkP8qDufDd61kvBMNz7Wu2ta60=; b=H5RvSvzy4w5G8He+p2q2yKNLAx7KBuoOG648AKQ5OqSzrMuzI9zzoVtvC8kWnoBFzD vmROVlcEMntmForkzVPkyAw0iKDkqdZafZeiu0drTyqK80cqbYncZ/YwsJL/bnqa50dE dRD0bMUoo4V7xn1wBg36XgfgIkC52B4Fqs9+Aea6oZKTk/2lKkpXXuzSi95ZmEgOAM3c Nt+SkjBObt1mE0/9tjWdlVtM9d8wj0Tn9fKfvAlDE/9A7RAG/lZcFG2pCsVafiKpURgf SvW0U9vFwNr27OtxFQ6qRLwtLJAt5o9y7wpYE+wNlGsxaMnOvhF8kblcw+YVwuM4E+Vp OseQ==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=ZoH9i2R7; 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 gf3-20020a056214250300b0069078004e85si2321654qvb.246.2024.03.04.09.51.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 09:51:57 -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=ZoH9i2R7; 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 A12823858D37 for ; Mon, 4 Mar 2024 17:51:57 +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-db5eur01on2119.outbound.protection.outlook.com [40.107.15.119]) by sourceware.org (Postfix) with ESMTPS id 3450F3858413 for ; Mon, 4 Mar 2024 17:51:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3450F3858413 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 3450F3858413 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.15.119 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574678; cv=pass; b=tDEZztOWzPRKk+81ruAMCud/oZVC8jytToGXKCrobDXZMg1Bmquyc0usmnOdOOv3bqhQK2Tu3B6d40KDCPKr7I3s/gNwI1+vkd/I1JEXkpab3WlrKx2JU1VrZ3B8KbASR+nXaoA59qP9JYxe1027sjMVZb3oip2qHJps8xodYCw= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574678; c=relaxed/simple; bh=WpbhZYEIRLRAnSYhirwQx1YYA05AgSNQvhBF4L2Omkk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=vCMdI6nVxgoS5SUfAZ4NsEyW7jDsucl7dM3qr5yi7/3D4lVX/xGjpf0i/m5G8I99aey76q2uqEGkG4BlU+bNQ1uNy8wtzqhElkoQP5I2H0NYCKjOS8F0zndzkAFKN1Uyw1XBXe/4WHh+ObY4kInj0kb1RWpFwymObNleapwTcoY= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BeLH2cGGXRLGNwG/Vo2R5GRJKxeWvt9zV/LIMgaCrz/5DJBuIVKRDKHiiTfgxgMRo3gimvSO3w2iYTuNNBp/wddfmXJtdJWGBNz++LjYcIJZvHKVGKkUe4t9D+KJ1OA8F4qvaqXmoYmxKenwNsGRU66/dwMf8g9dYyGD0ap+kfn2oWG+p2KT8CgxcD9YQfTKxblegRJFTstkw+NUWQaReyZsjlUlPiIeMaoYMqprUQE8uBWOYuGl8BOyCEUVKvQcLl7pc7Q772zj+yjBl3BsWA4pKbKfTMAfFBmE/JaE1iwwhqb6bMZj1gyjM/iwveqokcytJlcCtDCDnkGiz3YRzQ== 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=jUV3Qb/B/qcOS2H5oEkTIiwV1dkgng/nlCrFaPx+rFY=; b=bJsbr4L27IYYap+8zyTZfSDwolSRr5TbqEQ4Nx5nai3NxSPNlIOsnA6NE04fYmVFoOqBqPe/s5Cz0g0GB2X4HIsNSVgyWH8ayGvjFXiMutJIAZVftNPcVH3FVpDw99ZV0IESNITkNduF5r+XqQNUkYNsr1HtHnxLUaon3fJBGbPIjOFsJ8swqEe855jspqeFKJTRqihJR4MZgN+E/t7ur0iCrqV/jw7M07XLLUTFYEnXCjfdhUYUqMGOa7u/WM0J0dPjZWGAfRCrroeMAIOWVVvbMKGEA51rC1LyvXXsCAbvjOJ72xWzftzYOodU7f55/iAzl/+mRRfUMNz82X4gIw== 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=jUV3Qb/B/qcOS2H5oEkTIiwV1dkgng/nlCrFaPx+rFY=; b=ZoH9i2R7cWRYrt9zSfErlH59qXkoSY67v2cU6ZZJxy4aioX5Q3j9jsRC+/Az/M8wrN6u3no+q0YmwJjM6/nCr6IjOGhn8i8lXWwUdxrULzyX2fpBpacVn+KwLNqKTsIk4zIpo4koAvHm4astGJLSLju0ECynNrh3XxYFXkxQ/Vo= 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:51:13 +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:51:13 +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 13/13] Add aarch64-w64-mingw32 target to libgcc Thread-Topic: [PATCH v2 13/13] Add aarch64-w64-mingw32 target to libgcc Thread-Index: AQHablyMDjOQvbZ0I0m8VQ3aj6ZohA== Date: Mon, 4 Mar 2024 17:51:13 +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: a11bc07b-d9ec-4e8c-a627-08dc3c73af03 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AOvbRTesFfv7Mdg56wIKOhXQyyja3+SVRMbyDkNOtlhvixuyXILcPSdGGrQjG9pmomr67w24T364yxE90ospBxIoqUy19M2uwAnIx9QrB9QLKahbKUF0Y4LRuKyYpjeYEPhSKQCv8vSyJeASmcl5eRKDwRPGS9XSikDp9qOPoOzoLYeMoFAdCz32MUTESvKPNH7C6o4YgT9U5qtKKZnbjtlb7KK45K7zVQXNQGrXnP3LW0OEOaADYeobIAAhFbd9YoLIN5zNvofjQ+HebOj1jCicFKLr6GwLrCgNUn/Lg5t9cXOOjW/GHda9qGKMNZ0/mbyCHjDZDwAWhrDO1j3mKkUg3EK1QXTR8pDr3fp/jk4HeXWU6qlVoPHGeNfRZBM7H2B7lsnw+b9g1Rx9t6BenAr5jHafSHgC4x+FHP3Ovme74KSAJi5utFl3tBC6ZEfcfFciVB8w2mbhXk4080k/tAxnSYpbznGoXgnB4pZ63iI0Ke4tEE82vC9gU3fODHtEYztOCxSZvA1lpC8j/4/rF9kSmMYoV768UWTehY/y/m9VgXiFjnRgD2WUhMOc4pcjvKU8GInriTIx0XWWgD9kqgk6H6vslq0+Bt2wmShhr7aUxv+1DgWGc7141P21sMD80PO5JAfafJad5wtEiAxFi9Q0bupFyspGIkKr5WQS5QnK2KTPXpE2LiHCLn7k0+zoSeu6XALboISIvgA3G0hu4qnwSmXBLCrvXYtJZtRRSAI= 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: S74o73YpktovhHfQQCGDAC4xQ24Ls6tWpWPXtsNRFp5uzRk75lG27SCzcrWQiICQ5mjshWyd79RqLbjkwA2FuODiLIrRt/Y1/7oEKNM4tt8sRBvnGtJxWEW89mPSydJeLvBfsi3S+tU+IsGQj+WRdKX+wKpTSu0O+BnKlAIEbprMUXvpG5HI91CGqHg1Lz8T6y+KbHAHLFukhb1+jPIn9VdDzB4O1eJP7xfD8rKH2AMegAdWar+aSqO/kL55NBy5u9h49eDckbAMqXcQj/GxL8knhzec4FilTJJhI+Y1iiyukyqo59Of/kyykfTTEgOFvQdS1qbQwUToPD1tdvOj8jI5t/YC6DIm2B4c5ra8B+B85IjcO/OCz1NNfM/V2J7ZPV/MjNO2+ViJH9RDjofFbJy7UVJ6wMM8VShqyKsdF4MW8LBl6vAZX5x2FPXirGA0H64bR9CZh28gfPnrhrhD5GZXF7T0ab62E+pzf5d2qFHChPZclsAoKHNMi5vxrkwaxpCPJHWHGfgNa6u1EUa8KjW5Cb3CsC+OdiYXgwU06M54B19zk8K+UnYMLUsh7NbZD4M/Gg7tXsPHy0mydvQCoi0vbwpvCvrCaGIIl7/16i+aEZ+Ywf7+Ox6mfaZdkD2LZoVyn3IG0glVYaxDDNY7So4HBT+DlrTXLwPkrNnTHbgcGmt4Mve0ag7NTymYSZSoZrcSUeHMjLgCtFh/YX4sTP4wikTvksu3i9Q3fNDbA/F/QMAJ3sgnDktyaHPKA4wXkMOtiO71YPySTONnmHYNJnx1hz6NPu+OpwkpoZxwqZUcFaSozV8tJB+zY20ainmOqBK58W+fqsxCRkTDWsq+Rgjgdx2HJ9EcEGddLeOCfxMuOUxSgCTiJyWKcwxgIEZ6Nu9feXo/A4BEV2szhUzPLK6uz7l1xvWkKDJsmM2khek8vqjuMj/ToqCrNjfn9A9kL+NctlgQW7pYyPXMgN4uRQAgoITbwTtEshJVgE016dbQsr1SLq5GhjddmGWdutaeDpx/fjAo+UiMSE1fs2g49nizZW4glkJ05i2u5CAB3FzQtQhBxcc0e/0m+DTHdyyICUGHdT2oh7NdsVlm7ry3ZHvj2Tl+FBRadV1rh0VZ2dji3AvhkW7swQxwSYbDFkV2nAY1+cCHZ/uIN8HiSkkj29Xp6NRTg/qDeL2N4JI8tlNPsQO+67mpetcsz4S4MXgJtkEvyGhHtmEVevrAlD0N7R6llpTSf6R9yx6ZtykarttNNiR2EF+UhiBuqA1OExDFhZXuCA3UjV6E7LAlCbA9u4YAU1Y7AZX7qZJUAyXrc/kYryzIYhLlX1pd/z5d4PqBGKcTd0DHA5W9DBNTsWie40HHIRICFjDRIyMc38UYjQuRAJg0+AEIcGG+nU/WejruZQOQQ6/h+5x/3oBq0W8yukqjDEoGuhQZl4Zn3yk3pGs0mNYCHXDN2+7Hp8ERcFdNn5JM1vHJH3uXFOUSdFu75wmh73FPhML6xTXa5B5nVFVh8T03dKV7FZ34se9BYNPxQPkER0HB703IAYwNUdzwNSCdv40CdxVPHRlk7Rr2JXkHIBQq1aGpqc33qjIq3Mo2 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: a11bc07b-d9ec-4e8c-a627-08dc3c73af03 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:51:13.4777 (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: e/CiY23j4wXFliZaOtEf0h/SkOdhOcfFlG2Jv+cpxLD753XviMtKNDi+vtAYMmts8oJArQ5LjitoGLDvbO813w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR83MB0436 X-Spam-Status: No, score=-10.3 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, 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: 1792619019365206694 X-GMAIL-MSGID: 1792619019365206694 From: Zac Walker Date: Mon, 12 Feb 2024 15:22:47 +0100 Subject: [PATCH v2 13/13] Add aarch64-w64-mingw32 target to libgcc Reuse MinGW definitions from i386 for libgcc. Move reused files to libgcc/config/mingw folder. libgcc/ChangeLog: * config.host: Add aarch64-w64-mingw32 target. Adjust targets after moving MinGW files. * config/i386/t-gthr-win32: Move to... * config/mingw/t-gthr-win32: ...here. * config/i386/t-mingw-pthread: Move to... * config/mingw/t-mingw-pthread: ...here. * config/aarch64/t-no-eh: New file. EH is not yet implemented for the target, and the default definition should be disabled. --- libgcc/config.host | 23 +++++++++++++++---- libgcc/config/aarch64/t-no-eh | 2 ++ libgcc/config/{i386 => mingw}/t-gthr-win32 | 0 libgcc/config/{i386 => mingw}/t-mingw-pthread | 0 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 libgcc/config/aarch64/t-no-eh rename libgcc/config/{i386 => mingw}/t-gthr-win32 (100%) rename libgcc/config/{i386 => mingw}/t-mingw-pthread (100%) diff --git a/libgcc/config.host b/libgcc/config.host index 59a42d3a01f..3396a84893f 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -456,6 +456,21 @@ aarch64*-*-vxworks7*) tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" tmake_file="${tmake_file} t-dfprules" ;; +aarch64-*-mingw*) + case ${target_thread_file} in + win32) + tmake_thr_file="mingw/t-gthr-win32" + ;; + posix) + tmake_thr_file="mingw/t-mingw-pthread" + ;; + esac + tmake_file="${tmake_file} ${cpu_type}/t-no-eh ${tmake_thr_file}" + tmake_file="${tmake_file} t-dfprules" + tmake_file="${tmake_file} ${cpu_type}/t-aarch64" + tmake_file="${tmake_file} ${cpu_type}/t-lse" + tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" + ;; alpha*-*-linux*) tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux" extra_parts="$extra_parts crtfastmath.o" @@ -874,10 +889,10 @@ i[34567]86-*-mingw*) fi case ${target_thread_file} in win32) - tmake_thr_file="i386/t-gthr-win32" + tmake_thr_file="mingw/t-gthr-win32" ;; posix) - tmake_thr_file="i386/t-mingw-pthread" + tmake_thr_file="mingw/t-mingw-pthread" ;; mcf) tmake_thr_file="i386/t-mingw-mcfgthread" @@ -901,10 +916,10 @@ i[34567]86-*-mingw*) x86_64-*-mingw*) case ${target_thread_file} in win32) - tmake_thr_file="i386/t-gthr-win32" + tmake_thr_file="mingw/t-gthr-win32" ;; posix) - tmake_thr_file="i386/t-mingw-pthread" + tmake_thr_file="mingw/t-mingw-pthread" ;; mcf) tmake_thr_file="i386/t-mingw-mcfgthread" diff --git a/libgcc/config/aarch64/t-no-eh b/libgcc/config/aarch64/t-no-eh new file mode 100644 index 00000000000..1802339a583 --- /dev/null +++ b/libgcc/config/aarch64/t-no-eh @@ -0,0 +1,2 @@ +# Not using EH +LIB2ADDEH = diff --git a/libgcc/config/i386/t-gthr-win32 b/libgcc/config/mingw/t-gthr-win32 similarity index 100% rename from libgcc/config/i386/t-gthr-win32 rename to libgcc/config/mingw/t-gthr-win32 diff --git a/libgcc/config/i386/t-mingw-pthread b/libgcc/config/mingw/t-mingw-pthread similarity index 100% rename from libgcc/config/i386/t-mingw-pthread rename to libgcc/config/mingw/t-mingw-pthread