head 1.36; access; symbols pkgsrc-2023Q4:1.36.0.12 pkgsrc-2023Q4-base:1.36 pkgsrc-2023Q3:1.36.0.10 pkgsrc-2023Q3-base:1.36 pkgsrc-2023Q2:1.36.0.8 pkgsrc-2023Q2-base:1.36 pkgsrc-2023Q1:1.36.0.6 pkgsrc-2023Q1-base:1.36 pkgsrc-2022Q4:1.36.0.4 pkgsrc-2022Q4-base:1.36 pkgsrc-2022Q3:1.36.0.2 pkgsrc-2022Q3-base:1.36 pkgsrc-2022Q2:1.35.0.2 pkgsrc-2022Q2-base:1.35 pkgsrc-2022Q1:1.34.0.6 pkgsrc-2022Q1-base:1.34 pkgsrc-2021Q4:1.34.0.4 pkgsrc-2021Q4-base:1.34 pkgsrc-2021Q3:1.34.0.2 pkgsrc-2021Q3-base:1.34 pkgsrc-2021Q2:1.31.0.2 pkgsrc-2021Q2-base:1.31 pkgsrc-2021Q1:1.30.0.8 pkgsrc-2021Q1-base:1.30 pkgsrc-2020Q4:1.30.0.6 pkgsrc-2020Q4-base:1.30 pkgsrc-2020Q3:1.30.0.4 pkgsrc-2020Q3-base:1.30 pkgsrc-2020Q2:1.30.0.2 pkgsrc-2020Q2-base:1.30 pkgsrc-2020Q1:1.29.0.12 pkgsrc-2020Q1-base:1.29 pkgsrc-2019Q4:1.29.0.14 pkgsrc-2019Q4-base:1.29 pkgsrc-2019Q3:1.29.0.10 pkgsrc-2019Q3-base:1.29 pkgsrc-2019Q2:1.29.0.8 pkgsrc-2019Q2-base:1.29 pkgsrc-2019Q1:1.29.0.6 pkgsrc-2019Q1-base:1.29 pkgsrc-2018Q4:1.29.0.4 pkgsrc-2018Q4-base:1.29 pkgsrc-2018Q3:1.29.0.2 pkgsrc-2018Q3-base:1.29 pkgsrc-2018Q2:1.28.0.14 pkgsrc-2018Q2-base:1.28 pkgsrc-2018Q1:1.28.0.12 pkgsrc-2018Q1-base:1.28 pkgsrc-2017Q4:1.28.0.10 pkgsrc-2017Q4-base:1.28 pkgsrc-2017Q3:1.28.0.8 pkgsrc-2017Q3-base:1.28 pkgsrc-2017Q2:1.28.0.4 pkgsrc-2017Q2-base:1.28 pkgsrc-2017Q1:1.28.0.2 pkgsrc-2017Q1-base:1.28 pkgsrc-2016Q4:1.27.0.4 pkgsrc-2016Q4-base:1.27 pkgsrc-2016Q3:1.27.0.2 pkgsrc-2016Q3-base:1.27 pkgsrc-2016Q2:1.26.0.14 pkgsrc-2016Q2-base:1.26 pkgsrc-2016Q1:1.26.0.12 pkgsrc-2016Q1-base:1.26 pkgsrc-2015Q4:1.26.0.10 pkgsrc-2015Q4-base:1.26 pkgsrc-2015Q3:1.26.0.8 pkgsrc-2015Q3-base:1.26 pkgsrc-2015Q2:1.26.0.6 pkgsrc-2015Q2-base:1.26 pkgsrc-2015Q1:1.26.0.4 pkgsrc-2015Q1-base:1.26 pkgsrc-2014Q4:1.26.0.2 pkgsrc-2014Q4-base:1.26 pkgsrc-2014Q3:1.24.0.4 pkgsrc-2014Q3-base:1.24 pkgsrc-2014Q2:1.24.0.2 pkgsrc-2014Q2-base:1.24 pkgsrc-2014Q1:1.23.0.4 pkgsrc-2014Q1-base:1.23 pkgsrc-2013Q4:1.23.0.2 pkgsrc-2013Q4-base:1.23 pkgsrc-2013Q3:1.20.0.2 pkgsrc-2013Q3-base:1.20 pkgsrc-2013Q2:1.19.0.2 pkgsrc-2013Q2-base:1.19 pkgsrc-2013Q1:1.18.0.4 pkgsrc-2013Q1-base:1.18 pkgsrc-2012Q4:1.18.0.2 pkgsrc-2012Q4-base:1.18 pkgsrc-2012Q3:1.17.0.8 pkgsrc-2012Q3-base:1.17 pkgsrc-2012Q2:1.17.0.6 pkgsrc-2012Q2-base:1.17 pkgsrc-2012Q1:1.17.0.4 pkgsrc-2012Q1-base:1.17 pkgsrc-2011Q4:1.17.0.2 pkgsrc-2011Q4-base:1.17 pkgsrc-2011Q3:1.16.0.12 pkgsrc-2011Q3-base:1.16 pkgsrc-2011Q2:1.16.0.10 pkgsrc-2011Q2-base:1.16 pkgsrc-2011Q1:1.16.0.8 pkgsrc-2011Q1-base:1.16 pkgsrc-2010Q4:1.16.0.6 pkgsrc-2010Q4-base:1.16 pkgsrc-2010Q3:1.16.0.4 pkgsrc-2010Q3-base:1.16 pkgsrc-2010Q2:1.16.0.2 pkgsrc-2010Q2-base:1.16 pkgsrc-2010Q1:1.15.0.6 pkgsrc-2010Q1-base:1.15 pkgsrc-2009Q4:1.15.0.4 pkgsrc-2009Q4-base:1.15 pkgsrc-2009Q3:1.15.0.2 pkgsrc-2009Q3-base:1.15 pkgsrc-2009Q2:1.14.0.28 pkgsrc-2009Q2-base:1.14 pkgsrc-2009Q1:1.14.0.26 pkgsrc-2009Q1-base:1.14 pkgsrc-2008Q4:1.14.0.24 pkgsrc-2008Q4-base:1.14 pkgsrc-2008Q3:1.14.0.22 pkgsrc-2008Q3-base:1.14 cube-native-xorg:1.14.0.20 cube-native-xorg-base:1.14 pkgsrc-2008Q2:1.14.0.18 pkgsrc-2008Q2-base:1.14 cwrapper:1.14.0.16 pkgsrc-2008Q1:1.14.0.14 pkgsrc-2008Q1-base:1.14 pkgsrc-2007Q4:1.14.0.12 pkgsrc-2007Q4-base:1.14 pkgsrc-2007Q3:1.14.0.10 pkgsrc-2007Q3-base:1.14 pkgsrc-2007Q2:1.14.0.8 pkgsrc-2007Q2-base:1.14 pkgsrc-2007Q1:1.14.0.6 pkgsrc-2007Q1-base:1.14 pkgsrc-2006Q4:1.14.0.4 pkgsrc-2006Q4-base:1.14 pkgsrc-2006Q3:1.14.0.2 pkgsrc-2006Q3-base:1.14 pkgsrc-2006Q2:1.13.0.4 pkgsrc-2006Q2-base:1.13 pkgsrc-2006Q1:1.13.0.2 pkgsrc-2006Q1-base:1.13 pkgsrc-2005Q4:1.11.0.2 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.10.0.4 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.10.0.2 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.7.0.6 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.4 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.2 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.36 date 2022.06.28.11.31.14; author wiz; state Exp; branches; next 1.35; commitid D2UoJrTHpoHEANJD; 1.35 date 2022.05.23.11.56.34; author micha; state Exp; branches; next 1.34; commitid AlLU0yugastqTaFD; 1.34 date 2021.09.22.05.59.26; author mef; state Exp; branches; next 1.33; commitid MQODHFQktYBrJU9D; 1.33 date 2021.09.22.02.35.40; author mef; state Exp; branches; next 1.32; commitid IIS5epWtHChxBT9D; 1.32 date 2021.09.08.12.02.59; author micha; state Exp; branches; next 1.31; commitid BWKhe49Ftd4sb98D; 1.31 date 2021.05.24.19.49.25; author wiz; state Exp; branches; next 1.30; commitid qokaiStTApGMcrUC; 1.30 date 2020.04.26.09.47.39; author rillig; state Exp; branches; next 1.29; commitid fVrD2gXDH4gNvS5C; 1.29 date 2018.07.16.12.56.48; author mef; state Exp; branches; next 1.28; commitid bsxnsP4ZxfVXrmKA; 1.28 date 2017.01.30.12.07.36; author mef; state Exp; branches; next 1.27; commitid G0TGeGR3tQRvhZDz; 1.27 date 2016.07.09.06.37.58; author wiz; state Exp; branches; next 1.26; commitid dlqnocGpOoXV2Cdz; 1.26 date 2014.10.30.21.41.57; author mef; state Exp; branches; next 1.25; commitid JzKFFRaY0EETUgWx; 1.25 date 2014.10.23.10.25.11; author mef; state Exp; branches; next 1.24; commitid CUmlkSXfJH1GojVx; 1.24 date 2014.06.15.15.54.41; author mef; state Exp; branches; next 1.23; commitid K2jnAZSQ8OpqoDEx; 1.23 date 2013.12.31.00.56.17; author mef; state Exp; branches; next 1.22; commitid YXJOM7LKOEKpLdjx; 1.22 date 2013.12.31.00.48.48; author mef; state Exp; branches; next 1.21; commitid xjtwSbJq7h3QHdjx; 1.21 date 2013.11.19.23.06.24; author dsainty; state Exp; branches; next 1.20; commitid lTUcaMecusRJrWdx; 1.20 date 2013.08.07.02.41.30; author mef; state Exp; branches; next 1.19; commitid rU1169xjU7FU1t0x; 1.19 date 2013.05.31.12.39.46; author wiz; state Exp; branches; next 1.18; commitid hIeXGcx6VfKHwMRw; 1.18 date 2012.10.03.00.10.28; author asau; state Exp; branches; next 1.17; 1.17 date 2011.11.26.04.39.31; author sbd; state Exp; branches; next 1.16; 1.16 date 2010.06.20.16.23.56; author tron; state Exp; branches; next 1.15; 1.15 date 2009.08.27.15.26.41; author hasso; state Exp; branches; next 1.14; 1.14 date 2006.08.03.19.22.31; author wiz; state Exp; branches; next 1.13; 1.13 date 2006.03.05.16.27.23; author jlam; state Exp; branches; next 1.12; 1.12 date 2006.02.05.23.08.29; author joerg; state Exp; branches; next 1.11; 1.11 date 2005.12.05.20.49.56; author rillig; state Exp; branches; next 1.10; 1.10 date 2005.05.22.20.07.44; author jlam; state Exp; branches; next 1.9; 1.9 date 2005.04.11.21.45.10; author tv; state Exp; branches; next 1.8; 1.8 date 2005.03.24.21.12.52; author wiz; state Exp; branches; next 1.7; 1.7 date 2004.08.06.16.31.09; author uebayasi; state Exp; branches; next 1.6; 1.6 date 2004.05.08.04.50.50; author snj; state Exp; branches; next 1.5; 1.5 date 2004.01.22.07.54.07; author grant; state Exp; branches; next 1.4; 1.4 date 2003.09.19.12.34.26; author wiz; state Exp; branches; next 1.3; 1.3 date 2003.08.09.10.36.58; author seb; state Exp; branches; next 1.2; 1.2 date 2003.08.07.13.41.34; author seb; state Exp; branches; next 1.1; 1.1 date 2003.07.15.21.46.26; author wennmach; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.07.15.21.46.26; author wennmach; state Exp; branches; next ; desc @@ 1.36 log @*: recursive bump for perl 5.36 @ text @# $NetBSD: Makefile,v 1.35 2022/05/23 11:56:34 micha Exp $ DISTNAME= binutils-2.38 PKGNAME= ${DISTNAME:S/^/avr-/} PKGREVISION= 1 CATEGORIES= cross MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@@NetBSD.org COMMENT= GNU binutils for Atmel AVR 8-bit RISC microcontrollers LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 USE_LANGUAGES= c c++ # No need to use makeinfo - this package doesn't install the documentation. USE_TOOLS+= gmake USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_PKGLOCALEDIR= yes USE_GNU_CONFIGURE_HOST= no CONFIGURE_ARGS+= --enable-deterministic-archives CONFIGURE_ARGS+= --disable-lto CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --disable-werror CONFIGURE_ARGS+= --target=avr CONFIGURE_ARGS+= --with-system-zlib AUTO_MKDIRS= yes TEST_DEPENDS= dejagnu>=1.6.2:../../devel/dejagnu TEST_TARGET= check # Prevent the need to run texi2pod.pl and pod2mane # hence the need for perl as build dependency. post-configure: set -e; \ cd ${WRKSRC}; \ for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi \ gas/doc/as.1; do \ ${TOUCH} $${f}; \ done # emulator/simulavr wants libbfd.so or libbfd.a and bfd.h # --with-bfd=path location of AVR-binutils version of libbfd install # where include/bfd.h and lib/libbfd.a are found (from binutils) post-build: set -e; \ (cd ${WRKSRC}/bfd; ${GMAKE} all libbfd.a); post-install: # emulators/simulvar needs library files (cd ${WRKSRC}/bfd; \ ${GMAKE} install-exec install-data; \ ${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la \ ${DESTDIR}${PREFIX}/avr/lib; \ ${INSTALL_DATA} bfd.h ${DESTDIR}${PREFIX}/avr/include; \ ) # emulators/simulavr wants libiberty (cd ${WRKSRC}/libiberty ; \ ${INSTALL_DATA} libiberty.* ${DESTDIR}${PREFIX}/avr/lib/libiberty \ ) # emulators/simulavr wants following header files (cd ${WRKSRC}/include; \ for f in ansidecl.h symcat.h diagnostics.h ; do \ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/avr/include; \ done; \ ) # Plugins may collide with other binutils flavours ${MV} ${DESTDIR}${PREFIX}/lib/bfd-plugins \ ${DESTDIR}${PREFIX}/avr/lib/ BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.35 log @cross/avr-binutils: Update to 2.38 2022-02-09 Nick Clifton 2.38 release. * ChangeLog.git.2.37-2.38: New file. 2022-01-22 Nick Clifton * configure: Regenerate. 2022-01-22 Nick Clifton * 2.38 release branch created. 2022-01-17 Nick Clifton Update config.[guess|sub] from upstream: 2022-01-09 Idan Horowitz config.guess: recognize SerenityOS * config.guess (*:SerenityOS:*:*): Recognize. (timestamp): Update. 2022-01-03 Bernhard Voelker Fix GPLv3 license headers to use a comma instead of semicolon See: https://www.gnu.org/licenses/gpl-3.0.html#howto Update license headers automatically using the following script: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * config.guess: Adjust via the above command. (timestamp): Update. * config.sub: Likewise. * doc/config.guess.1: Regenerate. * doc/config.sub.1: Likewise. 2022-01-01 Dmitry V. Levin Update copyright years * config.guess: Update copyright years. * config.sub: Likewise. 2021-12-25 Dmitry V. Levin config.sub: alias armh to armv7l ALT uses armh as an alias for armv7l-alt-linux-gnueabihf since 2012. * config.sub (armh-unknown|armh-alt): Set cpu, vendor, and basic_os. (timestamp): Update. 2021-12-24 Dmitry V. Levin config.sub: alias aarch64le to aarch64 Apparently, QNX reports aarch64 as aarch64le on little-endian machines. * config.sub (aarch64le-*): Set cpu to aarch64. (timestamp): Update. 2021-12-13 Dmitry V. Levin config.sub: fix typo in timestamp * config.sub: Fix timestamp. 2021-11-30 Andreas F. Borchert config.guess: x86_64-pc-solaris2.11 is not properly recognized config.guess guesses Solaris 11 to run on a 32-bit platform despite Solaris 11 no longer supporting any 32-bit platform. See the following code at lines 434 to 445: | SUN_ARCH=i386 | # If there is a compiler, see if it is configured for 64-bit objects. | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | # This test works for both compilers. | if test "$CC_FOR_BUILD" != no_compiler_found; then | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | grep IS_64BIT_ARCH >/dev/null | then | SUN_ARCH=x86_64 | fi | fi If "cc" is installed, i.e. the Oracle Studio compiler, this one is chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle and also gcc bootstrapped from sources on that platform with a default configuration will by default generate 32-bit binaries -- even on a 64-bit platform. And __amd64 will not be defined for compilations targeting a 32-bit platform. This is different from the corresponding behaviour on GNU/Linux systems where the local platform is targeted by default. Thus, as long as you do not add "-m64" or if you have a custom-built gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris despite living on a 64-bit platform. * config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the test by adding the "-m64" flag. This will work properly for Solaris 10 as well (the last Solaris release that supported x86 32-bit platforms). 2021-10-27 Jordi Sanfeliu Recognize Fiwix $ make check cd testsuite && bash config-guess.sh && rm uname PASS: config.guess checks (137 tests) cd testsuite && bash config-sub.sh PASS: config.sub checks (882 tests) PASS: config.sub idempotency checks (819 tests) PASS: config.sub canonicalise each config.guess testcase (137 tests) * config.guess (i*86:Fiwix:*:*): Recognize. * config.sub (fiwix*): Likewise. 2021-10-18 Kinshuk Dua config.sub: Fix typo in comment Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305 2021-08-14 Nick Bowler config.sub: work around command assignment bug in some shells When combining variable assignments with a shell command, some older shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh) have a bug which causes the assignment to alter the current execution environment whenever the command is a shell built-in. For example: % dash -c 'x=good; x=bad echo >/dev/null; echo $x' good % jsh -c 'x=good; x=bad echo >/dev/null; echo $x' bad The config.sub script contains a few commands of the form: IFS=- read ... which triggers this bug, causing the IFS assignment to persist for the remainder of the script. This can cause misbehaviour in certain cases, for example: % jsh config.sub i386-linux-gnu config.sub: test: unknown operator gnu % jsh config.sub i386-gnu/linux sed: can't read s|gnu/linux|gnu|: No such file or directory Invalid configuration `i386-gnu/linux': OS `' not recognized * config.sub: Save and restore IFS explicitly to avoid shell bugs. * doc/config.sub.1: Regenerate. 2021-08-04 Jeremy Soller config.sub: add Linux Relibc Target $ make check cd testsuite && bash config-guess.sh && rm uname PASS: config.guess checks (136 tests) cd testsuite && bash config-sub.sh PASS: config.sub checks (881 tests) PASS: config.sub idempotency checks (818 tests) PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.sub (relibc*): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data (x86_64-linux-relibc): New test. 2021-07-06 Stephanos Ioannidis config.sub: add Zephyr RTOS support This adds the Zephyr RTOS targets in preparation for implementing the Zephyr RTOS-specific toolchain support. $ make check cd testsuite && bash config-guess.sh && rm uname PASS: config.guess checks (136 tests) cd testsuite && bash config-sub.sh PASS: config.sub checks (880 tests) PASS: config.sub idempotency checks (817 tests) PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.sub (zephyr*): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data: Add testcases for *-zephyr. 2021-07-03 Ozkan Sezer config.sub: disable shellcheck SC2006 / SC2268 warnings This is in line with the recent config.guess change in commit 12fcf67c9108f4c4b581eaa302088782f0ee40ea * config.sub (shellcheck disable): Add SC2006,SC2268. Suggested-by: Jacob Bachmeyer 2021-07-03 Ozkan Sezer config.sub: normalize the quoting in the `echo FOO | sed ...` Some cases quote the argument to echo and some do not. At runtime it probably does not matter because the substituted values will never contain whitespace, but quoting them all would make shellcheck more useful. * config.sub: Consistently quote the argument of echo. * doc/config.sub.1: Regenerate. Suggested-by: Jacob Bachmeyer 2021-07-02 Ozkan Sezer config.sub: replace POSIX $( ) with classic ` ` throughout This is in line with the recent config.guess change in commit d70c4fa934de164178054c3a60aaa0024ed07c91. The patch was generated using patch-6.gawk script introduced in that commit. * config.sub: Revert POSIX command substitutions to classic form. 2021-06-04 Vineet Gupta Recognize arc32 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the 32-bit ARCv2 ISA) | make check | cd testsuite && bash config-guess.sh && rm uname | PASS: config.guess checks (136 tests) | cd testsuite && bash config-sub.sh | PASS: config.sub checks (864 tests) | PASS: config.sub idempotency checks (801 tests) | PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.guess (arc32:Linux:*:*): Recognize. * config.sub (arc32): Likewise. 2021-05-27 Jacob Bachmeyer Remove automatic patch generators These tools have served their purposes and need not be kept outside of the repository history any longer. This patch as a diff also collects the contents of the various tools in one convenient place. * patch-1.gawk: Remove. * patch-3.gawk: Likewise. * patch-6.gawk: Likewise. 2021-05-26 Jacob Bachmeyer config.guess: manual fixups after previous automatic patch The tool could not handle command substitutions that span lines, but fortunately there were only two such substitutions in the script. The test for which universe is active on Pyramid is rewritten into a case block because it was the only use of a command substitution as an argument to the test command, which would require quoting. * config.guess: Rewrite "if" for Pyramid systems to "case". 2021-05-26 Jacob Bachmeyer config.guess: replace POSIX $( ) with classic ` ` throughout The previous replacement of backticks with POSIX command substitutions was ill-considered and illogical: this script recognizes many archaic machine types that probably never had POSIX shells, therefore it needs to be able to run successfully under pre-POSIX shells. This patch was generated using the included GNU Awk program. * config.guess: Revert POSIX command substitutions to classic form. * patch-6.gawk: Store the tool that produced the automated patch. 2021-05-26 Jacob Bachmeyer config.guess: manual fixup after previous automated patches This patch provides the special handling for the GNU system. As these were two small and unique edits, they were not included in the scripts. This patch also cleans up other minor issues that must be addressed before reverting to classic command substitutions and updates "shellcheck" directives to account for changes in this script and the change in "shellcheck" towards reporting individual portability issues. 2021-05-26 Jacob Bachmeyer config.guess: automatic fixups after previous automated patch This patch was generated using the following command: sed -i config.guess \ -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \ -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \ -e \ '/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g' * config.guess: Remove unneeded quotes in other variable assignments, standardize spacing for "echo ... | sed" substitutions. 2021-05-26 Jacob Bachmeyer config.guess: remove unneeded quotes and factor command substitutions This is further cleanup and simplifies some constructs that can confuse Emacs' syntax highlighting while generally reducing required quoting. This patch was generated using the included GNU Awk program. * config.guess: Remove unneeded variable quotes and factor out command substitutions when setting GUESS. * patch-3.gawk: Store the tool that produced the automated patch. 2021-05-25 Jacob Bachmeyer config.guess: manual fixups after previous automatic patch * config.guess: Adjust a few "leftover" cases that the tool could not easily recognize and fixes comment indentation in a few other special cases. 2021-05-25 Jacob Bachmeyer config.guess: use intermediate variable with uname results This will allow quoting to be significantly simplified in another pass through the file. This patch was generated using the included GNU Awk program. * config.guess: Use GUESS variable to hold results of uname analysis. * patch-1.gawk: Store the tool that produced the automated patch. 2021-05-25 Jacob Bachmeyer config.guess: introduce intermediate variable with uname results This will allow quoting to be significantly simplified in another pass through the file. * config.guess: Introduce GUESS variable to hold results of uname analysis. 2021-05-24 Dmitry V. Levin config.guess: fix shellcheck warning SC2154 While, according to Plan 9 documentation, the environment variable $cputype is set to the name of the kernel's CPU's architecture, shellcheck warns that cputype is referenced but not assigned. Be on the safe side and do not use cputype if it is not defined or empty. * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154. 2021-05-24 Dmitry V. Levin config.guess: remove redundant quotes in case commands According to the GNU Autoconf Portable Shell Programming manual, the Bourne shell does not systematically split variables and back-quoted expressions, in particular on the right-hand side of assignments and in the argument of 'case'. The change is made automatically using the following command: $ sed -E -i 's/(\)/\1\2\3/' config.guess * config.guess: Simplify case commands by removing quotes around the argument. Suggested-by: Jacob Bachmeyer 2021-05-24 Dmitry V. Levin config.guess: simplify exit status workaround on alphaev67-dec-osf5.1 Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap reset before exiting to avoid a spurious non-zero exit status on alphaev67-dec-osf5.1. Simplify that code a bit by moving the exit trap reset around. * config.guess (alpha:OSF1:*:*): Reset exit trap earlier. * doc/config.guess.1: Regenerate. 2021-10-29 Eli Zaretskii * gdb/doc/gdb.texinfo (Command Options): (Data): Document '-memory-tag-violations'. Update the example. 2021-09-28 Andrew Burgess * src-release.sh (GDB_SUPPPORT_DIRS): Add libbacktrace. 2021-09-27 Nick Alcock PR libctf/27967 * libtool.m4 (LT_PATH_NM): Try BSDization flags with a user-provided NM, if there is one. Run nm on itself, not on /dev/null, to avoid errors from nms that refuse to work on non-regular files. Remove other workarounds for this problem. Strip out blank lines from the nm output. 2021-09-27 Nick Alcock PR libctf/27967 * libtool.m4 (lt_cv_sys_global_symbol_pipe): Augment symcode for Solaris 11. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2021/09/22 05:59:26 mef Exp $ d5 1 @ 1.34 log @(cross/avr-binutils) emulator/simulavr wants diagnostics.h @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2021/09/22 02:35:40 mef Exp $ d3 1 a3 1 DISTNAME= binutils-2.37 a4 1 PKGREVISION= 2 @ 1.33 log @(cross/avr-binutls, emulater/simulvar) Fix libiberty issue @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2021/09/08 12:02:59 micha Exp $ d5 1 a5 1 PKGREVISION= 1 d65 1 a65 1 for f in ansidecl.h symcat.h; do \ @ 1.32 log @cross/avr-binutils: Update to 2.37 2021-07-18 Nick Clifton * 2.37 release. 2021-07-03 Nick Clifton * 2.37 release branch created. 2021-07-03 Nick Clifton * libiberty: Sync with gcc. Bring in: 2021-06-30 Gerald Pfeifer * make-temp-file.c (usrtmp): Remove. (choose_tmpdir): Remove use of usrtmp. 2021-06-28 Indu Bhagat * simple-object.c (handle_lto_debug_sections): Copy over .BTF section. 2021-06-28 Indu Bhagat David Faust Jose E. Marchesi Weimin Pan * simple-object.c (handle_lto_debug_sections): Copy over .ctf sections. 2021-06-05 John David Anglin PR target/100734 * configure.ac: Use libiberty snprintf and vsnprintf on hppa*-*-hpux*. * configure: Regenerate. 2021-05-06 Tom Tromey * hashtab.c (htab_eq_string): New function. 2021-05-04 Eric Botcazou * configure.ac: Make test for variables more robust. * configure: Regenerate. 2021-05-03 H.J. Lu PR bootstrap/99703 * configure: Regenerated. 2021-04-21 Andreas Schwab PR demangler/100177 * rust-demangle.c (demangle_const_char): Properly print the character value. 2021-03-31 Patrick Palka PR c++/88115 * cp-demangle.c (d_dump, d_make_comp, d_expression_1) (d_count_templates_scopes): Handle DEMANGLE_COMPONENT_VENDOR_EXPR. (d_print_comp_inner): Likewise. : Revert r11-4926 change. : Likewise. * testsuite/demangle-expected: Adjust __alignof__ tests. 2021-03-16 Nick Clifton * sha1.c (sha1_process_bytes): Use memmove in place of memcpy. 2021-02-20 Mike Frysinger * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, $(srcdir)/aclocal.m4): Define. (configure_deps): Rename to ... (aclocal_deps): ... this. Replace aclocal.m4 with acinclude.m4. ($(srcdir)/configure): Replace $(configure_deps) with $(srcdir)/aclocal.m4. * aclocal.m4: Move libiberty macros to acinclude.m4, then regenerate. * acinclude.m4: New file. * configure: Regenerate. 2021-02-19 Ayush Mittal * argv.c (expandargv): free allocated buffer if read fails. 2021-02-01 Martin Sebor * dyn-string.c (dyn_string_insert_cstr): Use memcpy instead of strncpy to avoid -Wstringop-truncation. 2021-05-29 Mike Frysinger * configure.ac: Add gnulib to configdirs for sim. * configure: Regenerate. 2021-05-24 Maciej W. Rozycki * MAINTAINERS: Update path to readline config.{sub,guess} files. 2021-05-24 Maciej W. Rozycki * config.guess: Import from upstream. * config.sub: Likewise. 2021-05-18 Mike Frysinger * Makefile.def: Add configure-sim dependency on all-gnulib. * Makefile.in: Regenerated. 2021-05-04 Nick Clifton * configure.ac (AC_PROG_CC): Replace with AC_PROG_CC_C99. * configure: Regenerate. 2021-03-18 Nick Alcock PR libctf/27482 * Makefile.def: Add install-bfd dependencies for install-libctf and install-ld, and install-strip-bfd dependencies for install-strip-libctf and install-strip-ld; move the install-ld dependency on install-libctf to join it. * Makefile.in: Regenerated. 2021-03-12 Mike Frysinger * Makefile.def: Remove all-sim dependency on configure-gdb. * Makefile.in: Regenerated. 2021-02-28 H.J. Lu PR binutils/26766 * Makefile.tpl (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Add PGO_BUILD_TRAINING=yes. (PGO_BUILD_TRAINING_MFLAGS): New. (all): Pass $(PGO_BUILD_TRAINING_MFLAGS) to the PGO build. 2021-02-09 Alan Modra * configure.ac: Delete arm*-*-symbianelf* entry. * configure: Regenerate. 2021-01-26 Nick Alcock * Makefile.def: Add install-libctf dependency to install-ld. * Makefile.in: Regenerated. 2021-01-12 Mike Frysinger * src-release.sh (do_proto_toplev): Rewrite indentation. 2021-01-11 H.J. Lu PR binutils/26766 * configure.ac: * configure: Regenerated. 2021-01-11 H.J. Lu PR ld/27173 * configure: Regenerated. * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Check if AR works with --plugin and rc before enabling --plugin. 2021-01-09 H.J. Lu PR binutils/26766 * Makefile.tpl (BUILD_CFLAGS): New. (CFLAGS): Append $(BUILD_CFLAGS). (CXXFLAGS): Likewise. (PGO_BUILD_GEN_FLAGS_TO_PASS): New. (PGO_BUILD_TRAINING_CFLAGS): Likewise. (PGO_BUILD_TRAINING_CXXFLAGS): Likewise. (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise. (PGO_BUILD_TRAINING_MFLAGS): Likewise. (PGO_BUILD_USE_FLAGS_TO_PASS): Likewise. (PGO-TRAINING-TARGETS): Likewise. (PGO_BUILD_TRAINING): Likewise. (all): Add '+' to the command line for recursive make. Support the PGO build. * configure.ac: Add --enable-pgo-build[=lto]. AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and PGO_BUILD_LTO_CFLAGS. Enable the PGO build in Makefile. * Makefile.in: Regenerated. * configure: Likewise. 2021-01-09 H.J. Lu * Makefile.tpl (AR): Add @@AR_PLUGIN_OPTION@@ (RANLIB): Add @@RANLIB_PLUGIN_OPTION@@. * configure.ac: Include config/gcc-plugin.m4. AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION. * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and RANLIB if possible. * Makefile.in: Regenerated. * configure: Likewise. 2021-01-09 Nick Clifton * 2.36 release branch crated. 2021-01-07 Samuel Thibault * libtool.m4: Match gnu* along with other GNU systems. 2021-01-07 Alan Modra * config.sub: Accept OS of eabi* and gnueabi*. 2021-01-05 Nick Alcock * Makefile.def (libctf): No longer no_check. Checking depends on all-ld. * Makefile.in: Regenerated. 2021-01-05 Nick Clifton * libiberty: Sync with gcc. Bring in: 2021-01-04 Martin Liska * strverscmp.c: Convert to utf8 from iso8859. 2020-12-22 Jason Merrill PR c++/67343 * cp-demangle.h (struct d_info): Add unresolved_name_state. * cp-demangle.c (d_prefix): Add subst parm. (d_nested_name): Pass it. (d_unresolved_name): Split out from... (d_expression_1): ...here. (d_demangle_callback): Maybe retry with old sr mangling. * testsuite/demangle-expected: Add test. 2020-12-21 Jason Merrill * cp-demangle.c (d_expression_1): Recognize qualified-id on RHS of dt/pt. * testsuite/demangle-expected: Add test. 2020-12-21 Jason Merrill * cp-demangle.c (d_unqualified_name): Clear is_expression. * testsuite/demangle-expected: Add tests. 2020-11-25 Matthew Malcomson * configure: Regenerate. * configure.ac: Avoid using sanitizer. 2020-11-13 Eduard-Mihai Burtescu * rust-demangle.c (struct rust_demangler): Add skipping_printing and bound_lifetime_depth fields. (eat): Add (v0-only). (parse_integer_62): Add (v0-only). (parse_opt_integer_62): Add (v0-only). (parse_disambiguator): Add (v0-only). (struct rust_mangled_ident): Add punycode{,_len} fields. (parse_ident): Support v0 identifiers. (print_str): Respect skipping_printing. (print_uint64): Add (v0-only). (print_uint64_hex): Add (v0-only). (print_ident): Respect skipping_printing, Support v0 identifiers. (print_lifetime_from_index): Add (v0-only). (demangle_binder): Add (v0-only). (demangle_path): Add (v0-only). (demangle_generic_arg): Add (v0-only). (demangle_type): Add (v0-only). (demangle_path_maybe_open_generics): Add (v0-only). (demangle_dyn_trait): Add (v0-only). (demangle_const): Add (v0-only). (demangle_const_uint): Add (v0-only). (basic_type): Add (v0-only). (rust_demangle_callback): Support v0 symbols. * testsuite/rust-demangle-expected: Add v0 testcases. 2020-11-13 Seija Kijin * strstr.c (strstr): Make implementation ANSI/POSIX compliant. 2020-11-11 Patrick Palka PR c++/88115 * cp-demangle.c (d_print_comp_inner) : Don't print the "operator " prefix for __alignof__. : Always print parens around the operand of __alignof__. * testsuite/demangle-expected: Test demangling for __alignof__. 2020-11-09 Christophe Lyon * pex-win32.c (pex_win32_exec_child): Initialize orig_err. 2020-10-06 Martin Liska PR lto/97290 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Use sh_link of a .symtab_shndx section. 2021-01-05 Alan Modra * config.guess: Import from upstream. * config.sub: Likewise. 2020-12-16 Martin Liska Tom de Vries * gdb/debuginfod-support.c (struct user_data): Remove has_printed field. Add meter field. (progressfn): Print progress using meter. 2020-12-02 Enze Li * .gitignore: Add gnu global outputs. 2020-12-02 Simon Marchi * .gitignore: Sync with gcc. 2020-10-26 Andreas Rammhold * src-release.sh: Use sha256sum instead of md5sum. 2020-10-14 Andrew Burgess * Makefile.in: Rebuild. * Makefile.def: Make distclean-gnulib depend on distclean-gdb and distclean-gdbserver. 2020-07-24 Aaron Merey * configure: Rebuild. * configure.ac: Remove AC_DEBUGINFOD. 2020-07-04 Nick Clifton Binutils 2.35 branch created. 2020-04-21 Stephen Casner PR 25830 * configure.ac (noconfigdirs): Exclude gdb & gprof for pdp11. * configure: Rebuild. 2020-03-12 Tom Tromey * Makefile.in: Rebuild. * Makefile.def (gdbserver): Depend on gdbsupport. 2020-03-12 Tom Tromey * Makefile.in: Rebuild. * Makefile.def (gdbsupport): Don't depend on bfd. 2020-03-12 Tom Tromey * Makefile.in: Rebuild. * Makefile.def (gdbsupport): Depend on intl. 2020-02-17 Tom Tromey * configure: Rebuild. * configure.ac (configdirs): Add gnulib and gdbsupport when building gdbserver. 2020-02-14 Tom Tromey * Makefile.in: Rebuild. * Makefile.def: Make gdbserver require gnulib and libiberty. 2020-02-07 Tom Tromey Pedro Alves * src-release.sh (GDB_SUPPORT_DIRS): Add gdbserver. * gdbserver: New directory, moved from gdb/gdbserver. * configure.ac (host_tools): Add gdbserver. Only build gdbserver on certain systems. * Makefile.in, configure: Rebuild. * Makefile.def (host_modules, dependencies): Add gdbserver. * MAINTAINERS: Add gdbserver. 2020-01-28 Sergio Durigan Junior * src-release.sh (getver): Look for gdbsupport's create-version.sh script at the current directory if tool is "gdb". 2020-01-19 Simon Marchi * remote-sim.c (gdbsim_target::wait): Return sim_data->remote_sim_ptid instead of inferior_ptid. 2020-01-18 Nick Clifton Binutils 2.34 branch created. 2020-01-18 Nick Clifton Synchronize top level configure files with master version: 2020-01-01 Ben Elliston * config.guess: Update copyright years. * config.sub: Likewise. 2019-12-21 Ben Elliston * config.guess (set_cc_for_build): Prevent multiple calls by checking if $tmp is already set. We can't check CC_FOR_BUILD as the user may set it externally. Thanks to Torbjörn Granlund for the bug report. 2019-12-21 Torbjörn Granlund * config.guess (alpha:Linux:*:*): Guard against missing /proc/cpuinfo by redirecting standard error to /dev/null. 2019-09-12 Daniel Bittman * config.guess (*:Twizzler:*:*): New. * config.sub (-twizzler*): New. 2019-07-24 Ben Elliston * config.guess (mips:OSF1:*.*): Whitespace cleanup. 2019-06-30 Ben Elliston * config.sub (case $os): Match nsk* and powerunix. Don't later match nsk* and set os=nsk which removes the OS version number. 2019-06-30 Ben Elliston * config.sub: Recognise os108*. 2019-06-26 Ben Elliston * config.sub (hp300): Set $os to hpux. 2019-06-26 Ben Elliston * config.sub (vsta): Move into alphabetical order. 2019-06-10 Ben Elliston * config.guess (*:OS108:*:*): Recognise new OS. 2019-05-28 Ben Elliston * config.guess (*:Darwin:*:*): Run xcode-select to determine if a system compiler is installed. If not, do not run set_cc_for_build, as the default cc will open a dialog box asking to install Xcode. If no C compiler is available, guess based on uname -p and uname -m. 2019-05-28 Ben Elliston * config.guess (*:Darwin:*:*): Simplify UNAME_PROCESSOR. 2020-01-17 Simon Marchi * Makefile.def: Add dependencies of all-gdbsupport on all-bfd. * Makefile.in: Re-generate. 2020-01-14 Tom Tromey * src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport. * MAINTAINERS: Add gdbsupport. * configure: Rebuild. * configure.ac (configdirs): Add gdbsupport. * gdbsupport: New directory, move from gdb/gdbsupport. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. 2020-01-09 Aaron Merey * config/debuginfod.m4: New file. Add macro AC_DEBUGINFOD. Adds new configure option --with-debuginfod. * configure: Regenerate. * configure.ac: Call AC_DEBUGINFOD. 2019-12-26 Christian Biesinger * .gitignore: Add perf.data and perf.data.old. 2019-10-17 Sergio Durigan Junior * src-release.sh (GDB_SUPPORT_DIRS): Add libctf. 2019-10-17 Alan Modra PR 29 * src-release.sh (getver): Replace "head -1" with "head -n 1". 2019-07-30 Nick Alcock * Makefile.def (host_modules): libctf is no longer no_install. * Makefile.in: Regenerated. 2019-07-13 Nick Alcock * Makefile.def (dependencies): all-ld depends on all-libctf. * Makefile.in: Regenerated. 2019-09-09 Phil Blundell binutils 2.33 branch created 2019-08-19 Tom Tromey * configure: Rebuild. * configure.ac: Add --with-static-standard-libraries. 2019-08-09 Nick Clifton * libiberty: Sync with gcc. Bring in: 2019-08-08 Martin Liska PR bootstrap/91352 * lrealpath.c (is_valid_fd): New function. 2019-07-24 Martin Liska PR lto/91228 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Find first '\0' starting from gnu_lto + 1. 2019-07-12 Ren Kimura * simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx. This fixes a Bug 90924. 2019-07-22 Martin Liska * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Do not search for gnu_lto_v1, but search for first '\0'. 2019-07-18 Eduard-Mihai Burtescu * cplus-dem.c: Include rust-demangle.h. * rust-demangle.c: Include rust-demangle.h. * rust-demangle.h: New file. 2019-05-31 Michael Forney * cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__ is non-zero. 2019-04-30 Ben L * d-demangle.c (dlang_parse_assocarray): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_tuple): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_structlit): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_arrayliteral): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_integer): Fix stack underflow. * testsuite/d-demangle-expected: Add testcase. * cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'. * testsuite/demangle-expected: Add testcase. * cp-demangle.c (d_encoding): Guard against NULL return values from d_right (dc). * testsuite/demangle-expected: Add testcase. 2019-04-29 Ben L * cp-demangle.c (d_expression_1): Don't peek ahead unless the current char is valid. * testsuite/demangle-expected: Add testcase. 2019-04-10 Nick Clifton PR 89394 * cp-demangle.c (cplus_demangle_fill_name): Reject negative lengths. (d_count_templates_scopes): Replace num_templates and num_scopes parameters with a struct d_print_info pointer parameter. Adjust body of the function accordingly. Add recursion counter and check that the recursion limit is not reached. (d_print_init): Pass dpi parameter to d_count_templates_scopes. Reset recursion counter afterwards, unless the recursion limit was reached. 2019-07-13 Joel Brobecker * src-release (getver): If $tool/gdbsupport/create-version.sh exists, use that to determine the version number. 2019-06-21 Andreas Schwab * src-release.sh (GDB_SUPPORT_DIRS): Add gnulib. 2019-06-14 Tom Tromey * MAINTAINERS: Add gnulib. * gnulib: New directory, move from gdb/gnulib. * configure.ac (host_libs): Add gnulib. * configure: Rebuild. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. 2019-06-03 Nick Clifton Revert: 2019-05-29 Nick Clifton * configure.ac (noconfigdirs): Add libctf if the target does not use the ELF file format. * configure: Regenerate. 2019-05-29 Nick Clifton * src-release.sh (do_proto_toplev): Add libctf to list of directories that can be disabled. 2019-05-29 Nick Clifton * configure.ac (noconfigdirs): Add libctf if the target does not use the ELF file format. * configure: Regenerate. 2019-05-28 Nick Alcock * Makefile.def (dependencies): configure-libctf depends on all-bfd and all its deps. * Makefile.in: Regenerated. 2019-05-28 Nick Alcock * MAINTAINERS: Add libctf. 2019-05-28 Nick Alcock * Makefile.def (host_modules): Add libctf. * Makefile.def (dependencies): Likewise. libctf depends on zlib, libiberty, and bfd. * Makefile.in: Regenerated. * configure.ac (host_libs): Add libctf. * configure: Regenerated. 2019-05-23 Jose E. Marchesi * config.guess: Synchronize with config project master sources. * config.sub: Likewise. * readline/support/config.guess: Likewise. * readline/support/config.sub: Likewise. 2019-04-10 Nick Clifton * libiberty: Sync with gcc. Bring in: 2019-04-10 Nick Clifton PR 89394 * cp-demangle.c (cplus_demangle_fill_name): Reject negative lengths. (d_count_templates_scopes): Replace num_templates and num_scopes parameters with a struct d_print_info pointer parameter. Adjust body of the function accordingly. Add recursion counter and check that the recursion limit is not reached. (d_print_init): Pass dpi parameter to d_count_templates_scopes. Reset recursion counter afterwards, unless the recursion limit was reached. 2018-06-24 Nick Clifton 2.32 branch created. 2019-01-14 Rainer Orth Merge from GCC: PR target/88535 * config.guess: Import upstream version 2019-01-03. * config.sub: Import upstream version 2019-01-01. 2019-01-10 Nick Clifton * libiberty: Sync with gcc. Bring in: 2019-01-09 Sandra Loosemore PR other/16615 * cp-demangle.c: Mechanically replace "can not" with "cannot". * floatformat.c: Likewise. * strerror.c: Likewise. 2018-12-22 Jason Merrill Remove support for demangling GCC 2.x era mangling schemes. * cplus-dem.c: Remove cplus_mangle_opname, cplus_demangle_opname, internal_cplus_demangle, and all subroutines. (libiberty_demanglers): Remove entries for ancient GNU (pre-3.0), Lucid, ARM, HP, and EDG demangling styles. (cplus_demangle): Remove 'work' variable. Don't call internal_cplus_demangle. 2019-01-03 ÐилÑн ÐалаÑзов * configure.ac: Don't configure readline if --with-system-readline is used. * configure: Re-generate. 2018-10-31 Joseph Myers Merge from GCC: PR bootstrap/82856 * multilib.am: New file. From automake. 2018-09-12 Sergio Durigan Junior * src-release.sh (GDB_SUPPORT_DIRS): Add "contrib". 2018-07-16 Nick Clifton * src-release.sh (DEVO_SUPPORT): Add test-driver and ar-lib. 2018-07-06 Sebastian Huber * config.sub: Sync with upstream version 2018-07-03. 2018-07-05 Sebastian Huber * config.guess: Sync with upstream version 2018-06-26. * config.sub: Sync with upstream version 2018-07-02. 2018-06-29 Alexandre Oliva * configure.ac: Introduce support for @@unless/@@endunless. * Makefile.tpl (dep-kind): Rewrite with cond; return postbootstrap in some cases. (make-postboot-dep, postboot-targets): New. (dependencies): Do not output postbootstrap dependencies at first. Output non-target ones changed for configure to depend on stage_last @@if gcc-bootstrap, and the original deps @@unless gcc-bootstrap. * configure.in, Makefile.in: Rebuilt. 2018-06-24 Nick Clifton * configure: Regenerate. 2018-06-19 Simon Marchi * libtool.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE. * README-maintainer-mode: Update version requirements. * ar-lib: New file. * test-driver: New file. * configure: Re-generate. 2018-06-18 Eric Botcazou * Makefile.def (fortran): Add check-target-libgomp-fortran. * Makefile.tpl (check-target-libgomp-fortran): New phony target. * Makefile.in: Regenerate. * configure: Regenerate. 2018-06-18 Simon Marchi * configure.ac: Sync with GCC, remove MPX-related things. 2018-05-01 Nick Clifton * config.guess: Synchronize with config project master sources. * config.sub: Likewise. 2018-05-01 Francois H. Theron * configure.ac: Added "nfp" target. * configure: Regenerate. 2018-02-13 Maciej W. Rozycki * configure.ac (noconfigdirs): Add `ld'. * configure: Regenerate. 2018-01-30 Nick Clifton * src-release.sh (do_proto_toplev): Add patterns for more junk files to delete before creating the tarball. 2018-01-29 Nick Clifton * src-release.sh (do_proto_toplev): Strip patch remnant files from the sources before creating the tarball. @ text @d1 1 a1 1 # $NetBSD$ d5 1 d59 4 @ 1.31 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2020/04/26 09:47:39 rillig Exp $ d3 1 a3 1 DISTNAME= binutils-2.30 a4 1 PKGREVISION= 1 d11 1 a11 1 LICENSE= gnu-gpl-v3 d13 1 a17 1 GNU_CONFIGURE_STRICT= no # several sub-configures know --enable-nls d21 6 a26 8 # follows to devel/binutils # PR pkg/48504, ksh is sufficient for NetBSD 5.2 and NetBSD 6.1 .include "../../mk/bsd.prefs.mk" .if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \ empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*) USE_TOOLS+= ksh CONFIG_SHELL= ksh .endif d28 1 a28 1 CONFIGURE_ARGS+= --disable-werror --target=avr --disable-nls d30 2 a31 1 AUTO_MKDIRS= yes d33 2 a34 2 # Prevent the need to run texi2pod.pl and pod2man hence # the need for perl as build dependency. d51 1 a51 1 # Emulator/simulvar needs library files d54 2 a55 1 ${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la ${DESTDIR}${PREFIX}/avr/lib; \ d58 1 a58 1 # emulator/simulavr wants following header files d62 1 a62 1 done; \ d64 6 @ 1.30 log @cross/*-binutils: allow unknown --enable-nls configure option The top-level configure script does not know this option, but it calls several sub-configures that all know it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2018/07/16 12:56:48 mef Exp $ d5 1 @ 1.29 log @Update cross/avr-binutils to 2.30 Date: Sat, 27 Jan 2018 16:33:36 +0000 This release contains numerous bug fixes, and also the following new features: In the assembler: * Add support for location views in DWARF debug line information. In the BFD linker: * Add -z separate-code to generate separate code PT_LOAD segment. * Add "-z undefs" command line option as the inverse of the "-z defs" option. * Add -z globalaudit command line option to force audit libraries to be run for every dynamic object loaded by an executable - provided that the loader supports this functionality. * Tighten linker script grammar around file name specifiers to prevent the use of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would previously be accepted but had no effect. * The EXCLUDE_FILE directive can now be placed within any SORT_* directive within input section lists. In the GOLD linker: * Add support for .MIPS.options sections (MIPS only). * Add support for compound relocations (MIPS only). * Add --emit-stub-syms, --no-tls-optimize, --tls-get-addr-optimize options (PowerPC only). * Add -z text-unlikely-segment option. * Add plugin support for adding new input files (LDPT_REGISTER_NEW_INPUT_HOOK). In the utilities: * Add --debug-dump=links option to readelf and --dwarf=links option to objdump which displays the contents of any .gnu_debuglink or .gnu_debugaltlink sections. * Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links option to objdump which causes indirect links into separate debug info files to be followed when dumping other DWARF sections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2017/01/30 12:07:36 mef Exp $ d17 1 @ 1.28 log @Updated cross/avr-binutils 2.24 to 2.27 ---------------------------------- (From binutils/NEWS) ---------------------------------- Changes in 2.27: * Add a configure option, --enable-64-bit-archive, to force use of a 64-bit format when creating an archive symbol index. * Add --elf-stt-common= option to objcopy for ELF targets to control whether to convert common symbols to the STT_COMMON type. Changes in 2.26: * Add option to objcopy to insert new symbols into a file: --add-symbol =[
:][,] * Add support for the ARC EM/HS, and ARC600/700 architectures. * Extend objcopy --compress-debug-sections option to support --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF targets. * Add --update-section option to objcopy. * Add --output-separator option to strings. Changes in 2.25: * Add --data option to strings to only print strings in loadable, initialized data sections. Change the default behaviour to be --all, but add a new configure time option of --disable-default-strings-all to restore the old default behaviour. * Add --include-all-whitespace to strings. * Add --dump-section option to objcopy. * Add support for the Andes NDS32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2016/07/09 06:37:58 wiz Exp $ d3 1 a3 1 DISTNAME= binutils-2.27 @ 1.27 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2014/10/30 21:41:57 mef Exp $ d3 1 a3 1 DISTNAME= binutils-2.24 a4 1 PKGREVISION= 1 @ 1.26 log @'CONFIG_SHELL= ksh' is only necessary for NetBSD-[5-6]* and 6.99.* @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2014/10/23 10:25:11 mef Exp $ d5 1 @ 1.25 log @Use CONFIG_SHELL instead of PKGSRC_MAKE_ENV, thanks wiz@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2014/06/15 15:54:41 mef Exp $ d19 7 a25 2 # ./configure.lineno: 3239: Syntax error: Missing '}' # Makefile:2991: recipe for target 'configure-opcodes' failed d27 1 @ 1.24 log @(pkgsrc) Remove libiberty work around (upstream) Bump Version 2.23.2 to 2.24 (From binutils-2.24/binutils/NEWS) --------------------------- Changes in 2.24: * Objcopy now supports wildcard characters in command line options that take section names. * Add support for Altera Nios II. (From binutils-2.24/ChangeLog) --------------------------- (cross_only): Remove target-libiberty. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2011/11/26 04:39:31 sbd Exp $ d19 3 a57 7 # ./configure.lineno: 3239: Syntax error: Missing '}' # Makefile:2991: recipe for target 'configure-opcodes' failed # gmake[1]: *** [configure-opcodes] Error 1 # gmake[1]: Leaving directory 'cross/avr-binutils/work/binutils-2.24' # see avr-binutils PKGSRC_MAKE_ENV+= SH=/bin/ksh @ 1.23 log @Correct comment as SunOS 5.11 not 5.1, thanks @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2013/12/31 00:48:48 mef Exp $ d3 1 a3 1 DISTNAME= binutils-2.23.2 a47 10 # Rename to avoid conflict to native and other cross assembler. # and clang differs its path so, (the same as h8300-elf-binutils). # (SunOS 5.11 places at amd64 instead of x86_64) (cd ${DESTDIR}${PREFIX}; \ for d in amd64/libiberty.a ${MACHINE_ARCH}/libiberty.a libiberty.a; \ do if [ -f lib/$$d ]; then \ ${MV} lib/$$d avr/lib/libiberty.a; \ break; \ fi; \ done; ) d55 7 @ 1.22 log @Adjust install path for SunOS 5.1 ( it places at amd64 directory instead of xf86_64). Should not affect other than SunOS 5.1 (64bit). Discussed on pkgsrc-bulk@@, thanks joerg@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2013/11/19 23:06:24 dsainty Exp $ d50 1 a50 1 # (SunOS 5.1 places at amd64 instead of x86_64) @ 1.21 log @The patch comment (and reality) indicates the patch is against the wrong file. But this package doesn't actually install any info files, so a simpler solution is to not use makeinfo at all. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2013/08/07 02:41:30 mef Exp $ d50 1 d52 1 a52 1 for d in ${MACHINE_ARCH}/libiberty.a libiberty.a; \ @ 1.20 log @(pkgsrc) patches/patch-aa (was not to install libiberty) .. removed patches/patch-ac (was not to install-recursive under opcodes) .. removed patches/patch-a[bdefghij] Added comments (all are as 'Avoid installing info'). Makefile Added installing libbfd.so libbfd.a bfd.h for simulavr. Installs libiberty.a as avr/lib/libiberty.a Installs ansidecl.h and symcat.h for simulavr (upstream) Bump Version 2.19.1 to 2.23.2 (From binutils-2.23.2/binutils/NEWS) --------------------------- Changes in 2.23: * Add support for the VLE extension to the PowerPC architecture. * Add support for x64 Windows target of the delayed-load-library. * Add support for the Renesas RL78 architecture. Changes in 2.22: * Add support for displaying the contents of .debug.macro sections. * Add --preprocessor-arg option to windres to specify additional options passed to preprocessor. * Add --dwarf-start and --dwarf-end to readelf and objdump. These are used by the new Emacs mode, see dwarf-mode.el. * Add support for the Tilera TILEPro and TILE-Gx architectures. changes in 2.21: * Add --interleave-width option to objcopy to allowing copying a range of bytes from the input to the output with the --interleave option. * Add support for the TMS320C6000 (TI C6X) processor family. * Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) using the -u / --unwind option. * Add --dyn-syms to readelf to dump dynamic symbol table. * A new tool - elfedit - has been added to directly manipulate ELF format binaries. * Add to dlltool .def file feature of aliasing PE internal symbol name by '== ' option. * Add a new command line option -a / --addresses to addr2line to display the address before function name or source filename. * Add a new command line option -p / --pretty-print to addr2line to have a more human readable output. * The hppa/som targets can now be compiled on any host. Changes in 2.20: * Add support for delay importing to dlltool. Use the --output-delaylib switch to create a delay-import library. The resulting app will load the dll as soon as the first function is called. It will link to __delayLoadHelper2() from the static delayimp library, which will import LoadLibraryA and GetProcAddress from kernel32. * Add a new command line option, --insn-width=WIDTH, to objdump to specify number of bytes to be displayed on a single line when disassembling instructions. * Readelf can now display the relocated contents of a section as a sequence of bytes via the --relocated-dump= command line option. * The gprof program has been given a new command line option: --external-symbols-table= which reads in symbols from a specified file. * The plugin target has been added to bfd. It can load the same shared objects used by gold and uses them to provide basic support for new file formats. * The verilog memory hex dump file format is now supported as an output format for objcopy. * Add --file-alignment, --heap, --image-base, --section-alignment, --stack and --subsystem command line options to objcopy, which will set PE optional header. * Option --dwarf/-W of objdump is now as flexible as readelf --debug-dump/-w. * --as-needed now links in a dynamic library if it satisfies undefined symbols in regular objects, or in other dynamic libraries. In the latter case the library is not linked if it is found in a DT_NEEDED entry of one of the libraries already linked. * Added --prefix=PREFIX and --prefix-strip=LEVEL switches to objdump to add absolute paths for -S. * Add new option --use-nul-prefixed-import-tables to dlltool to allow fall- back to old import table generation with null element prefix. * Added --identify-strict switch to cause --identify to report an error when the import library is associated with multiple DLLs. * Added --identify option to dlltool, which determines the name of the DLL associated with the specified . * Support for PowerPC booke64 instructions has been removed. The assembler no longer accepts -mbooke32 or -mbooke64 and the disassembler no longer accepts -Mbooke32 or -Mbooke64. Instead, -mbooke and -Mbooke should be used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2011/11/26 04:39:31 sbd Exp $ d13 2 a14 1 USE_TOOLS+= gmake makeinfo @ 1.19 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2012/10/03 00:10:28 asau Exp $ d3 2 a4 3 DISTNAME= binutils-2.19.1 PKGNAME= avr-binutils-2.19.1 PKGREVISION= 2 d7 1 d11 1 a12 1 USE_BZIP2= yes d14 1 d19 3 a21 1 CONFIGURE_ARGS+= --disable-werror --target=avr d26 1 d33 29 a61 1 .include "../../devel/zlib/buildlink3.mk" @ 1.18 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2011/11/26 04:39:31 sbd Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.17 log @Add missing devel/zlib buildlink. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2010/06/20 16:23:56 tron Exp $ a11 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.16 log @Don't treat compiler warnings as errors. Newer versions of GCC produce a lot of "format not a string literal and no format arguments" warnings while building this package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2009/08/27 15:26:41 hasso Exp $ d5 1 d31 1 @ 1.15 log @Update to 2.19.1. Upstream changelog is obviously too massive to paste it here. All hard update work done by Simon 'corecode' Schubert and minor modifications (DESTDIR etc) by me. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2006/08/03 19:22:31 wiz Exp $ d19 1 a19 1 CONFIGURE_ARGS+= --target=avr @ 1.14 log @Reset maintainer, email bounced with: Mailbox closed for this recipient @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2006/03/05 16:27:23 jlam Exp $ d3 2 a4 3 DISTNAME= binutils-2.13.2.1 PKGNAME= avr-binutils-2.13.2.1 PKGREVISION= 2 d11 2 d17 1 @ 1.13 log @* Teach the tools framework how to supply the pkgsrc version of makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2006/02/05 23:08:29 joerg Exp $ d9 1 a9 1 MAINTAINER= karlj@@mdstud.chalmers.se @ 1.12 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2005/12/05 20:49:56 rillig Exp $ d13 1 a13 1 USE_TOOLS+= gmake a15 1 USE_MAKEINFO= YES @ 1.11 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2005/05/22 20:07:44 jlam Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.10 log @Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2005/04/11 21:45:10 tv Exp $ d18 1 a18 1 CONFIGURE_ARGS= --target=avr @ 1.9 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2005/03/24 21:12:52 wiz Exp $ d13 1 a13 1 USE_GNU_TOOLS+= make @ 1.8 log @Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be useful. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2004/08/06 16:31:09 uebayasi Exp $ a12 1 USE_BUILDLINK3= yes @ 1.7 log @Update MASTER_SITES. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.6 2004/05/08 04:50:50 snj Exp $ # FreeBSD Id: ports/devel/avr-binutils/Makefile,v 1.9 2003/03/07 06:00:08 ade Exp @ 1.6 log @Convert to buildlink3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2004/01/22 07:54:07 grant Exp $ d8 1 a8 1 MASTER_SITES= ${MASTER_SITE_SOURCEWARE:=binutils/releases/} @ 1.5 log @replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2003/09/19 12:34:26 wiz Exp $ d14 1 a14 1 USE_BUILDLINK2= yes @ 1.4 log @Don't install info pages, to avoid conflict with binutils package. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2003/08/09 10:36:58 seb Exp $ d15 1 a15 1 USE_GMAKE= yes @ 1.3 log @USE_NEW_TEXINFO is unnecessary now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2003/08/07 13:41:34 seb Exp $ d6 1 a20 2 INFO_FILES= as.info binutils.info ld.info @ 1.2 log @Use GNU_CONFIGURE and fix its arguments accordingly. Use buildlink2. Handle info files properly. Remove leftovers from FreeBSD port Makefile. Be careful about perl usage i.e. kill it. XXX This package should install itself in a separate directory hierarchy like other "cross" packages or marked as conflicting with some other (like devel/binutils). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2003/07/15 21:46:26 wennmach Exp $ a17 1 USE_NEW_TEXINFO= YES @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d13 1 d15 1 a15 2 CONFIGURE_ARGS= --target=avr --prefix=${PREFIX} USE_LIBTOOL= yes d17 15 a31 5 HAS_CONFIGURE= yes LIBTOOLFILES= configure bfd/configure binutils/configure \ etc/configure gas/configure gprof/configure \ intl/configure ld/configure libiberty/configure \ opcodes/configure @ 1.1.1.1 log @First of a series of packages to support cross-development for Atmel AVR series microcontrollers. Provided by Karl Janmar in PR 22139, with several changes by myself. Original package from FreeBSD. @ text @@