From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 77B4B3858D1E for ; Tue, 3 Jan 2023 19:07:05 +0000 (GMT) Received: by mail-wr1-x42d.google.com with SMTP id co23so30636259wrb.4 for ; Tue, 03 Jan 2023 11:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=wmQ+ufu3Jpfx8hZl6dnhqPO2GgNWtCp/N0NeBwPJvbw=; b=SDHRP9//HmneDFDe4hDg8BKD/KZI1oa4canh2MD6TkhmoBG9Jdu+hdaWSh6GV9/a9f r6S38jurM8/gOnBw2dTfiZw+aJo/vRFXZIWqTy1YpG2m8jeQq4AmN8nXksVcSbh/0VEt s7EqTVAu4sc20TPkEXGM952QUpjn39oPYk2O3GOBRhwSitWBIJSU7WQ7VLrXu0Yl5aWB FDy5Vi+2zxWHgVUmwiYnO63Hfn7uggHI8dtbCSW4H4krpb3mNXWV3oKe60LkaLs4TJ5r kkM/BeUBLShL2vP0KvOskMJ/Co1sWXWIx7yIzEjVORa42Lsxd6h+B9ZfRWIZUq3gs328 VaCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wmQ+ufu3Jpfx8hZl6dnhqPO2GgNWtCp/N0NeBwPJvbw=; b=DtEMA6hSwSnm+Kfup1L10EX4YsF1zCtvGWpDg9lfAF0whBgvi4M+5S5o5yf9h5fpXY RDYoVG5hrPkMwm//vabzSaMsP0Sknr/nfPWFf/5PLUlfIr8SdsG36B7B2lw2eENJxCqJ 7ECrZfn8KQmu/c+ldSPpMPZTlqsymk6pygPgG/29SwH344XICEMW4rktVbHtdtuU+cJP y96rMHLWBsM0XCMHIhXRM91TTHzH7U7LT6HmwhyMWL2644L8Ps6NM9fz1bqlLexcnob3 LyVAiIgQUlWX6PJObnMkwJ96CJcQp5ty+wSHeS/mS41YJZpchwIsR/p/EFtTcFt7obNj kmrg== X-Gm-Message-State: AFqh2ko2ZAVMazNHDHHPErTiT78+zf7znZn7EEXlBFxet2Knsw7EcRTj 0phP5GaBSuH2E/lAzHSndNg= X-Google-Smtp-Source: AMrXdXu9jGtgo1NsH0XYLAIQ54YA2hnV83PBNlrf2tNWo8EUeYZ6MotP+ZCm+AmjX3J9tQSPXNU4Jw== X-Received: by 2002:a5d:4538:0:b0:278:da32:8263 with SMTP id j24-20020a5d4538000000b00278da328263mr23875152wra.64.1672772824317; Tue, 03 Jan 2023 11:07:04 -0800 (PST) Received: from ?IPV6:2a02:8010:64ea:0:8eb8:7eff:fe53:9d5f? ([2a02:8010:64ea:0:8eb8:7eff:fe53:9d5f]) by smtp.googlemail.com with ESMTPSA id f8-20020a5d58e8000000b0022e57e66824sm36679533wrd.99.2023.01.03.11.07.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jan 2023 11:07:03 -0800 (PST) Sender: Mark Harmstone Message-ID: Date: Tue, 3 Jan 2023 19:07:02 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 1/8] ld: Rename aarch64pe emulation target to arm64pe Content-Language: en-US To: Andrew Pinski Cc: Tamar Christina , =?UTF-8?Q?Martin_Storsj=c3=b6?= , Richard Earnshaw , NightStrike , "wej22007@outlook.com" , "zac.walker@linaro.org" , binutils , "nickc@redhat.com" References: <20221230024055.31841-1-mark@harmstone.com> <01e2b3d2-ad18-27ba-9761-82d2d521c00e@foss.arm.com> <005b709d-acf5-f266-1e4f-41d2c3918ba3@harmstone.com> From: Mark Harmstone In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,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: On 3/1/23 18:33, Andrew Pinski wrote: > My thoughts. arm64 has always been a bad name and should not be > referenced anywhere. It is bad that Microsoft and LLVM folks have > started using it. > We should be consistent with the elf targets here and use aarch64pe > and then add an alias just for compatibility reasons with LLVM. > We should push LLVM folks to the same and everyone over to aarch64 > instead of arm64. > > Thanks, > Andrew Pinski What would this achieve? To reiterate, this is a string that the compiler passes to the linker. Users wouldn't ever see it unless they're doing some pretty low-level stuff. I agree with Nick's suggestion, that we keep the patch as it is but add a comment explaining the name to anyone curious. Simplicity is a more important engineering principle than consistency... particularly when the naming scheme isn't consistent anyway. Mark