From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 8435D385840C; Sun, 12 Nov 2023 17:21:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8435D385840C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8435D385840C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699809703; cv=none; b=nakzYvq+t5ztBN77FLgiPiJdNKBV0q930A65Fyol9MJ5nkek7vYM3mRIRsHIU+dPZ+ibtJisRMM+O2YJPTHRf8gmrTlgugxhC9nRJkLWnWbPsRnDdjHNMGDFqqg0Uwe2RHRYjo4P7+awkkrChhcU0ZuJZxWTLQQYE9so3FPriQY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699809703; c=relaxed/simple; bh=9mu/iHjypzXpt0qJ0YGghs5K1lv7e5POWTLj2/ZC3B8=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=CffVooWQ2EJ/5hmAfZ4/+gkmC0bs6lUCy1BcaU1AZpQwQEJNr7fnnrALRaIcZ/oZf1vz88LSr4x3bIM/UR6ZsaQtbAirVTsmwSrT1cR5Gl1uFuprZxSsgmzt+bSnjHU59yXcNrGxItCi9XTyFYl6Ar73AEx+3MTHl0RY/B27qV8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id A9274302FDD8; Sun, 12 Nov 2023 18:21:40 +0100 (CET) Date: Sun, 12 Nov 2023 18:21:40 +0100 From: Mark Wielaard To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Martin Jambor , nickc@redhat.com Subject: Re: [PATCH] Regenerate gas/config.in and ld/configure Message-ID: <20231112172140.GP31613@gnu.wildebeest.org> References: <20231112171138.1553448-1-mark@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231112171138.1553448-1-mark@klomp.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-3034.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,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 List-Id: Apologies, the below should of course have gone to binutils not gdb-patches. The script runs for the whole binutils-gdb git repo though. On Sun, Nov 12, 2023 at 06:11:38PM +0100, Mark Wielaard wrote: > commit d173146d9 "MIPS: Change all E_MIPS_* to EF_MIPS_*" > changed gas/config.in to rename USE_E_MIPS_ABI_O32 to USE_EF_MIPS_ABI_O32 > this new name sorts differently when regenerating gas/config.in > > commit e922d1eaa "Add ability to change linker warning messages into > errors when reporting executable stacks and/or executable segments." > Introduced two new help strings for --enable-error-execstack and > --enable-error-rwx-segments in configure.ac which weren't included > in ld/configure when regenerated. > > * gas/config.in: Regenerate. > * ld/configure: Likewise. > --- > > Martin Jambor has a script from Martin Liska which can regenerate > and check auto* files are properly created with the intended autoconf > and automake version for gcc. We adapted it to binutils and added > a buildbot to use the script to check the binutils-gdb git repo. > It found these two small discrepancies. OK to push? > > https://inbox.sourceware.org/gcc/20231108233059.GA31613@gnu.wildebeest.org/T/ > https://inbox.sourceware.org/buildbot/ZVECB_5PCtf2FW4R@elastic.org/T/ > > gas/config.in | 6 +++--- > ld/configure | 8 ++++++-- > 2 files changed, 9 insertions(+), 5 deletions(-) > > diff --git a/gas/config.in b/gas/config.in > index ea21757f6a7..6333a964c71 100644 > --- a/gas/config.in > +++ b/gas/config.in > @@ -261,12 +261,12 @@ > /* Use b modifier when opening binary files? */ > #undef USE_BINARY_FOPEN > > -/* Use emulation support? */ > -#undef USE_EMULATIONS > - > /* Allow use of EF_MIPS_ABI_O32 on MIPS targets. */ > #undef USE_EF_MIPS_ABI_O32 > > +/* Use emulation support? */ > +#undef USE_EMULATIONS > + > /* Enable extensions on AIX 3, Interix. */ > #ifndef _ALL_SOURCE > # undef _ALL_SOURCE > diff --git a/ld/configure b/ld/configure > index 468c3bd525d..46d9f3c7111 100755 > --- a/ld/configure > +++ b/ld/configure > @@ -1536,9 +1536,13 @@ Optional Features: > enable DT_TEXTREL check in ELF linker > --enable-separate-code enable -z separate-code in ELF linker by default > --enable-warn-execstack enable warnings when creating an executable stack > + --enable-error-execstack > + turn executable stack warnings into errors > --enable-warn-rwx-segments > enable warnings when creating segments with RWX > permissions > + --enable-error-rwx-segments > + turn executable segment warnings into errors > --enable-default-execstack > create an executable stack if an input file is > missing a .note.GNU-stack section > @@ -11657,7 +11661,7 @@ else > lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 > lt_status=$lt_dlunknown > cat > conftest.$ac_ext <<_LT_EOF > -#line 11658 "configure" > +#line 11664 "configure" > #include "confdefs.h" > > #if HAVE_DLFCN_H > @@ -11763,7 +11767,7 @@ else > lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 > lt_status=$lt_dlunknown > cat > conftest.$ac_ext <<_LT_EOF > -#line 11764 "configure" > +#line 11770 "configure" > #include "confdefs.h" > > #if HAVE_DLFCN_H > -- > 2.39.3 >