From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 6BED33849ACE for ; Tue, 7 May 2024 16:05:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6BED33849ACE Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6BED33849ACE Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::630 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715097957; cv=none; b=Ay8STeDemmAJXTfnMvwv7gkv2QddEjJ+p+mP9MM0Fx8d6DrIZXVq5haVFMlx07xvr+nogutXBW89C9jWlb+UvAkIcUQzox5g5FpBTkkIK3OV/6tQbTdwRSkFH9MZeKu3P6OR6+4QUd6M6lmsh+WzlPPKVrgckFigEtjzAanymak= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715097957; c=relaxed/simple; bh=pIaLjlNnGJT+mlC/Vp5mb23e4I3lNLPk/7bK6lFj47c=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=SFJeed//xYKuuN/Lrco/1ZYzjDwD0TYwLOFgQrnSNkd3G+aLxRg8SHz+flgpvXAftTJxovKJkJRnVeGpM6Uhre+8wKNuHdUIGd6Gfgm+gTn8NY2RUeojx/A7i47LAOmM98ik4LjXqcn4IyyQ+mHiZjERdNwmZ70CTfItmjZ7eKQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a59a934ad50so761026566b.1 for ; Tue, 07 May 2024 09:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715097953; x=1715702753; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9ZNlzrccGBm9M98xLWl6ZyUxyOMHYAk+7OfTdXBTUOA=; b=I+q56zZfVbY9jIP+YrMxuCtrgN4OybgIrDojFD4DWvKv3EULG4vIto1Zbh9KjT1uGy +hrPRi7WNr38IVxiJcPycBw8A+8B1xSxJ/FAjNjwE8/srUM21QoE57mBksCboJotWRlT 3Lws3G2dtTPUmuP8/6gC/G6RWl6jZa94GtMn0jCtD9dLXQA5KSloH1t2Qnnu20KiUdaa I1hwX30jdpSdQ8dcDL9pSEkoivBMPyo85ZYxGi5/0tWH1eu3MrCzjvJf1YBEHsQRQPHz zIdIu+5lnh4bknGsF0hdTA8RBzgkoeHQ2440ln1DqfT3/PbBpiXSXTt8FyJZVYXV2WgH pZGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715097953; x=1715702753; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9ZNlzrccGBm9M98xLWl6ZyUxyOMHYAk+7OfTdXBTUOA=; b=vYjBK79APlJ9rYdLcEiNNd/2rBoeFx9z/NpEzIpA87IBf6fHpKeQKss4iROCaxzZ2b fXuv8TWuEp6uuOSnYBl59KVoZcLm16crJafozeRNVtKdei/wRvl7d5K9njMgBv6vSwSn 5GCF2JAPxTunDs1J8hR/iXX2BK+oHeDNp+aCo1MRqAjw37EF5+Cqga1nmYUA0QAZ70h4 VSAMx3KQEr3gGuPsEl/UykhheIasHWM8aNnsB6ZY4i0+2AfadtgswhHBh2IgCjYTJkhj 694jphEbbauHs9S4Y0e2zVCdIVoK0DjOJMupbEs6t2kOC81DF4pd+/ElX9hVg6KQgg6u JnDQ== X-Gm-Message-State: AOJu0YxRro/WtsT86xUf/WYO/hSJa9iEO0fhGTd10K6qR6OZhUh0R2+7 6HL5OKnLuwV1iww08e6SWcFeee7lG7hHHEXy0diPWwCDj5YQ0So9+sqsFEZVvaqwVVZIyZFWuks oQfl8kc0V/WHxEUswPyCYa2Gh/j6pGyNw/eBONw== X-Google-Smtp-Source: AGHT+IETvXzDb1wL+Sxib0odvovB+BrW37qmuGKJ7/ProzUo+PH//5K7WtajLMoF5Or/tDHAnUc6gLBY1r+3PSJRgJ8= X-Received: by 2002:a17:906:3e4c:b0:a59:a431:f955 with SMTP id t12-20020a1709063e4c00b00a59a431f955mr6593839eji.73.1715097953050; Tue, 07 May 2024 09:05:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Christophe Lyon Date: Tue, 7 May 2024 18:05:41 +0200 Message-ID: Subject: Re: [PATCH v3 00/12] Add aarch64-w64-mingw32 target To: Evgeny Karpov Cc: "gcc-patches@gcc.gnu.org" , "richard.sandiford@arm.com" , "Richard Earnshaw (lists)" , Maxim Kuvyrkov , Radek Barton , Zac Walker Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, I've just pushed this patch series, congratulations! Thanks, Christophe On Thu, 11 Apr 2024 at 15:40, Evgeny Karpov wrote: > > Hello, > > Thank you for reviewing v2! > v3 addresses all comments on v2. > > v3 Changes: > - Exclude the aarch64_calling_abi declaration from the patch series. > - Refactor x18 adjustment for MS ABI. > - Remove unnecessary headers. > - Add an extra comment to explain empty definitions. > - Use gcc_unreachable for definitions that are needed for compilation, > but not used by the aarch64-w64-mingw32 target. > - Retain old index entries. > - Rebase from 11th April 2024 > > Regards, > Evgeny > > > Zac Walker (12): > Introduce aarch64-w64-mingw32 target > aarch64: Mark x18 register as a fixed register for MS ABI > aarch64: Add aarch64-w64-mingw32 COFF > Reuse MinGW from i386 for AArch64 > Rename section and encoding functions from i386 which will be used in > aarch64 > Exclude i386 functionality from aarch64 build > aarch64: Add Cygwin and MinGW environments for AArch64 > aarch64: Add SEH to machine_function > Rename "x86 Windows Options" to "Cygwin and MinGW Options" > aarch64: Build and add objects for Cygwin and MinGW for AArch64 > aarch64: Add aarch64-w64-mingw32 target to libatomic > Add aarch64-w64-mingw32 target to libgcc > > fixincludes/mkfixinc.sh | 3 +- > gcc/config.gcc | 47 +++-- > gcc/config/aarch64/aarch64-abi-ms.h | 34 ++++ > gcc/config/aarch64/aarch64-coff.h | 91 +++++++++ > gcc/config/aarch64/aarch64-protos.h | 5 + > gcc/config/aarch64/aarch64.h | 13 +- > gcc/config/aarch64/cygming.h | 172 ++++++++++++++++++ > gcc/config/i386/cygming.h | 18 +- > gcc/config/i386/cygming.opt.urls | 30 --- > gcc/config/i386/i386-protos.h | 12 +- > gcc/config/i386/mingw-w64.opt.urls | 2 +- > gcc/config/lynx.opt.urls | 2 +- > gcc/config/{i386 => mingw}/cygming.opt | 0 > gcc/config/mingw/cygming.opt.urls | 30 +++ > gcc/config/{i386 => mingw}/cygwin-d.cc | 0 > gcc/config/{i386 => mingw}/mingw-stdint.h | 9 +- > gcc/config/{i386 => mingw}/mingw.opt | 0 > gcc/config/{i386 => mingw}/mingw.opt.urls | 2 +- > gcc/config/{i386 => mingw}/mingw32.h | 4 +- > 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 | 30 +-- > gcc/doc/invoke.texi | 10 + > gcc/varasm.cc | 2 +- > libatomic/configure.tgt | 2 +- > 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 > 32 files changed, 473 insertions(+), 93 deletions(-) > create mode 100644 gcc/config/aarch64/aarch64-abi-ms.h > create mode 100644 gcc/config/aarch64/aarch64-coff.h > create mode 100644 gcc/config/aarch64/cygming.h > delete mode 100644 gcc/config/i386/cygming.opt.urls > rename gcc/config/{i386 => mingw}/cygming.opt (100%) > create mode 100644 gcc/config/mingw/cygming.opt.urls > rename gcc/config/{i386 => mingw}/cygwin-d.cc (100%) > rename gcc/config/{i386 => mingw}/mingw-stdint.h (86%) > rename gcc/config/{i386 => mingw}/mingw.opt (100%) > rename gcc/config/{i386 => mingw}/mingw.opt.urls (86%) > rename gcc/config/{i386 => mingw}/mingw32.h (99%) > 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 (97%) > 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%) > > -- > 2.25.1 >