From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id A7C9F3855025 for ; Fri, 16 Jul 2021 15:54:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A7C9F3855025 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-425-riyPX_--NCyhYrSncyVvmA-1; Fri, 16 Jul 2021 11:54:51 -0400 X-MC-Unique: riyPX_--NCyhYrSncyVvmA-1 Received: by mail-wr1-f70.google.com with SMTP id m9-20020a0560000089b02901362e1cd6a3so4940938wrx.13 for ; Fri, 16 Jul 2021 08:54:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EjvyTfR2LUICKWrRhGKPLpv6XNKcyIX8k8fj5pfyCGo=; b=tyiiqbBbzvGyazL8vsl6aBPc6elqd7C50zpmQm31rvEgyZkH01U0PDulLIbtqEIAk5 QLHxcIHwvyaDhIs1pVkkG7P+frSywN6Z3qUpiR439ZSBtIenPFz9EowuyJRex7ItNy7G FKc4zXE6Zr4qVMhBVxAFh4+p52chgQLiSiX+s8Mu55j/vgFNrxQELJ5/8Uw2w4mpO5qB M+jupGsDLGtpuYCgaiAaDe5NPaljqSSbXPx1PP6L0Nt6uJPm5sLeYSzsvq/sMmUFyY4Q Xzf3BPzlvza+9iCpEZJ3YXiLLcmBqdQEGrgd2Acj+tMxR5aE4h3P7mFdEgf3AxWp++eY DT0A== X-Gm-Message-State: AOAM530v9Lim55hrzdl1UsuiMlt9Ggtc63rc5OVt5pNR4nw1t7FkNBTX tqlhvvdw4cDvsZ+BvImLQHiurS5lz1a61IOjxSVG1fPhikY9CDQBXsd1ttLOkAH/VzPCLStg6mW uQLVVyABipsd/VzSmrg== X-Received: by 2002:a1c:1bd0:: with SMTP id b199mr11324453wmb.108.1626450890252; Fri, 16 Jul 2021 08:54:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlGhKF43Kb47v3XRbjznonY/ySk4q8tqdrN1Z/gZSRycR9oXMcns/7atadIrvWCqj8y/wfhQ== X-Received: by 2002:a1c:1bd0:: with SMTP id b199mr11324431wmb.108.1626450890024; Fri, 16 Jul 2021 08:54:50 -0700 (PDT) Received: from [192.168.1.5] ([80.168.238.114]) by smtp.gmail.com with ESMTPSA id o28sm11399630wra.71.2021.07.16.08.54.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Jul 2021 08:54:49 -0700 (PDT) To: John Ericson , binutils@sourceware.org Cc: Alyssa Ross References: <20210706134044.1124582-1-git@JohnEricson.me> <20210706195533.1363069-1-git@JohnEricson.me> From: Nick Clifton Subject: Re: [PATCH] Make *-netbsd mean ELF rather than a.out for all CPU archs Message-ID: <9c296ba3-104c-7565-bc14-7de31616bb12@redhat.com> Date: Fri, 16 Jul 2021 16:54:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210706195533.1363069-1-git@JohnEricson.me> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2021 15:54:53 -0000 Hi John, > As discussed previously, a.out support is now quite deprecated, and in > some cases removed, in both Binutils itself and NetBSD, so this legacy > default makes little sense. One problem with that - the NS32K target. As far as I can see this target only supports aout format NetBSD, not ELF... Possibly NS32K support in NetBSD is entirely deprecated. If so, then we can add the ns32k-netbsd target to the obsolete list. But I would like to have you confirm this first. > diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp > index 59e25df99b0..bfb8911737a 100644 > --- a/binutils/testsuite/lib/binutils-common.exp > +++ b/binutils/testsuite/lib/binutils-common.exp > @@ -63,9 +63,7 @@ proc is_elf_format {} { > return 0 > } > > - if { ![istarget *-*-netbsdelf*] > - && ( [istarget vax-*-netbsd*] > - || [istarget ns32k-*-netbsd*]) } { > + if { [istarget *-*-netbsdaout* } { > return 0 > } > Typo. The new line should be: + if { [istarget *-*-netbsdaout*] } { Ie with a closing square parenthesis. A patch with the typo corrected and NS32K added to the obsolete list in config.bfd is approved, provided that you can confirm that the NS32K is no longer supported. Cheers Nick