2026-01-08 Nick Clifton <nickc@redhat.com> Import the following commits from the master config sources: commit a2287c3041a3f2a204eb942e09c015eab00dc7dd Author: Collin Funk <collin.funk1@gmail.com> Date: Wed Jul 9 19:29:18 2025 -0700 Adjust 'time-stamp' variables to modern Emacs commit 973e3e6af23b73a4f1b8d95680454cae22593bf8 Author: Pat Pannuto <ppannuto@ucsd.edu> Date: Wed Jun 11 16:11:36 2025 -0700 config.sub: Add Tock OS support This adds the Tock OS targets in preparation for implementing the Tock OS-specific toolchain support. commit 3a71dc102953608d4592ec401b519837c28a672a Author: Oskari Alaranta <oskari.alaranta@bananymous.com> Date: Tue Jun 3 23:06:06 2025 +0300 config.sub: recognize banan_os commit f91a544533876c70f43b9fd51064b2bcf3fa7382 Author: Siteshwar Vashisht <svashisht@redhat.com> Date: Thu May 8 15:14:55 2025 +0200 config.sub: fix a duplicated case pattern commit 484648c73f3843b256dd011bd415e81594300a0a Author: Russell Keith-Magee <russell@keith-magee.com> Date: Tue Jan 7 03:27:54 2025 -0500 config.sub: Include support for arm64_32 and iOS/tvOS/watchOS simulators commit 7f4149527babe92cb5da1032734f5cb90cefdac5 Author: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> Date: Fri Dec 13 16:59:18 2024 +0100 config.sub: add intelgt as a basic machine commit 9f6e0fe8ce04628bbd4a455118ff3f8309a1aef9 Author: mintsuki <mintsuki@protonmail.com> Date: Wed Nov 20 19:25:34 2024 +0100 ironclad: change ironclad to ironclad-mlibc 2025-07-13 Nick Clifton <nickc@redhat.com> * 2.45 Binutils Branch point. 2025-01-19 Nick Clifton <nickc@redhat.com> * 2.44 Binutils Branch point. 2024-07-20 Nick Clifton <nickc@redhat.com> * 2.43 Binutils Branch point. 2024-07-15 Nick Clifton <nickc@redhat.com> Import the following upstream commits to the config files: commit 948ae97ca5703224bd3eada06b7a69f40dd15a02 Update copyright years commit 471d8141d3a9fd845fe2ddd20b10569ab6437bc9 config.sub: recognize nanoMIPS CPUs commit ee6ea2f13ba4dc0836665d3c50099135bba36287 config.guess: recognize ironclad OS commit 5e2f254bcb505da063ba541b25df2c3f567b5517 config.sub: recognize ironclad OS commit 0e4a5b3a1ec551bf3cf4d432f4506ef02d1674c5 config.sub: recognize *-*-uefi commit d21518c6c819d285c6d9ec0c39c55615d0dde19c Recognize the VideoCore 4 processor commit a9a369e97a39a49e675712aee4035ed662d24d71 config.guess: detect LLVM-libc via features.h commit 5b83c2ff5da15451cb566e1837253d0f60543dd7 config.sub: add LLVM-libc support 2024-03-20 Simon Marchi <simon.marchi@efficios.com> * .pre-commit-config.yaml: Bump black hook to 24.3.0 2024-03-20 Simon Marchi <simon.marchi@efficios.com> * .pre-commit-config.yaml: New. 2024-03-14 Simon Marchi <simon.marchi@efficios.com> * Makefile.def: Add configure-gdbserver and all-gdbserver dependencies on all-libiconv. * Makefile.in: Re-generate. 2024-01-15 Nick Clifton <nickc@redhat.com> * 2.42 branch point. 2023-11-15 Arsen Arsenović <arsen@aarsen.me> * intl: Remove directory. Replaced with out-of-tree GNU gettext. * .gitignore: Add '/gettext*'. * configure.ac (host_libs): Replace intl with gettext. (hbaseargs, bbaseargs, baseargs): Split baseargs into {h,b}baseargs. (skip_barg): New flag. Skips appending current flag to bbaseargs. <library exemptions>: Exempt --with-libintl-{type,prefix} from target and build machine argument passing. * configure: Regenerate. * Makefile.def (host_modules): Replace intl module with gettext module. (configure-ld): Depend on configure-gettext. * Makefile.in: Regenerate. * src-release.sh: Remove references to the intl/ directory. 2023-07-03 Nick Clifton <nickc@redhat.com> 2.41 Branch Point. 2023-06-26 Nick Clifton <nickc@redhat.com> * Import these updates to the config scripts commit 4ad4bb7c30aca1e705448ba8d51a210bbd47bb52 Author: Paul Eggert <eggert@cs.ucla.edu> Date: Fri Jun 23 09:55:10 2023 -0700 Quote 'like this', not `like this'. commit 63acb96f92473ceb5e21d873d7c0aee266b3d6d3 Author: Paul Eggert <eggert@cs.ucla.edu> Date: Sat Jan 21 00:15:01 2023 -0600 Fix config.sub spelling typo for "athlon" commit 4ce12a5c9125cedc0d0ba584444a6865396923ec Author: Dmitry V. Levin <ldv@altlinux.org> Date: Sun Jan 1 08:00:00 2023 +0000 Update copyright years commit c397e2c040bce50bcdccb131f90115ba7e8bfc19 Author: Arsen Arsenovi <arsen@aarsen.me> Date: Sat Sep 17 23:34:48 2022 +0200 config.sub: add linux-mlibc targets commit 9f9f9b0b13197269848c76e3e057a3ed0680b4bf Author: Arsen Arsenovi <arsen@aarsen.me> Date: Sat Sep 17 23:34:47 2022 +0200 config.guess: support running on Managarm systems commit 87e6687749da7bb2ab158a79fa83721c19ed9246 Author: Arsen Arsenovi <arsen@aarsen.me> Date: Sat Sep 17 23:34:46 2022 +0200 config.sub: add managarm-{mlibc,kernel} targets commit 20403c5701973a4cbd7e0b4bbeb627fcd424a0f1 Author: Xiaotian Wu <wuxiaotian@loongson.cn> Date: Mon Aug 1 16:05:29 2022 +0800 Remove loongarchx32 commit 02ba26b218d3d3db6c56e014655faf463cefa983 Author: Alexander von Gluck IV <kallisti5@unixzen.com> Date: Wed May 25 15:43:13 2022 -0500 config.guess: Update Haiku guesses commit f56a7140386d08a531bcfd444d632b28c61a6329 Author: Bruno Haible <bruno@clisp.org> Date: Sun May 8 19:08:08 2022 +0200 config.guess (x86_64:Linux:*:*): Detect 32-bit ABI. 2023-04-20 Nick Clifton <nickc@redhat.com> * SECURITY.txt: New file. * src-release.sh (DEVO_SUPPORT): Add SECURITY.txt. 2022-12-31 Nick Clifton <nickc@redhat.com> * 2.40 binutils branch created. 2022-10-10 Nick Clifton <nickc@redhat.com> * src-release.sh: Add "-r <date>" option to create reproducible tarballs based upon a fixed timestamp of <date>. * binutils/README-how-to-make-a-release: Add a line showing how to use -r <date> when creating a binutils release. 2022-10-04 Nick Clifton <nickc@redhat.com> * README-maintainer-mode: Add a minimum version of dejagnu requirement. 2022-09-08 Nick Clifton <nickc@redhat.com> * README-maintainer-mode: Update minimum version of gettext required. 2022-07-08 Nick Clifton <nickc@redhat.com> * 2.39 branch created. 2022-07-04 Nick Clifton <nickc@redhat.com> * libiberty: Synchronize with GCC. Bring in: 2022-07-01 Nick Clifton <nickc@redhat.com> PR demangler/105039 * rust-demangle.c (demangle_const): Add recursion limit. 2022-06-26 Simon Marchi <simon.marchi@efficios.com> * configure.ac: Add AC_CONFIG_MACRO_DIRS call. * configure: Re-generate. 2022-04-12 Nick Clifton <nickc@redhat.com> * zlib: Rebase to the 1.2.12 release. 2022-04-08 Simon Marchi <simon.marchi@efficios.com> * configure.ac: Add AC_SUBST(PKG_CONFIG_PATH). * configure: Re-generate. * Makefile.tpl (HOST_EXPORTS): Pass PKG_CONFIG_PATH. (PKG_CONFIG_PATH): New. * Makefile.in: Re-generate. 2022-03-15 Jose E. Marchesi <jose.marchesi@oracle.com> * gprofng/src/gp-collect-app.cc (collect::check_args): Use fallthrough comment instead of attribute. 2022-03-11 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> * Makefile.def: Add gprofng module. * configure.ac: Add --enable-gprofng option. * src-release.sh: Add gprofng. * Makefile.in: Regenerate. * configure: Regenerate. * gprofng: New directory. 2022-01-22 Nick Clifton <nickc@redhat.com> * 2.38 release branch created. 2022-01-17 Nick Clifton <nickc@redhat.com> Update config.[guess|sub] from upstream: 2022-01-09 Idan Horowitz <idan.horowitz@gmail.com> config.guess: recognize SerenityOS * config.guess (*:SerenityOS:*:*): Recognize. (timestamp): Update. 2022-01-03 Bernhard Voelker <mail@bernhard-voelker.de> 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 <ldv@altlinux.org> Update copyright years * config.guess: Update copyright years. * config.sub: Likewise. 2021-12-25 Dmitry V. Levin <ldv@altlinux.org> 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 <ldv@altlinux.org> 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 <ldv@altlinux.org> config.sub: fix typo in timestamp * config.sub: Fix timestamp. 2021-11-30 Andreas F. Borchert <github@andreas-borchert.de> 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 <jordi@fibranet.cat> 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 <kinshukdua@gmail.com> config.sub: Fix typo in comment Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305 2021-08-14 Nick Bowler <nbowler@draconx.ca> 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 <jackpot51@gmail.com> 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 <root@stephanos.io> 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 <sezero@users.sourceforge.net> 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 <jcb@gnu.org> 2021-07-03 Ozkan Sezer <sezero@users.sourceforge.net> 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 <jcb@gnu.org> 2021-07-02 Ozkan Sezer <sezero@users.sourceforge.net> 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 <Vineet.Gupta1@synopsys.com> 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 <jcb@gnu.org> 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 <jcb@gnu.org> 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.Lines 1–500 of 17217. Load more
2026-01-08 Nick Clifton <nickc@redhat.com> Import the following commits from the master config sources: commit a2287c3041a3f2a204eb942e09c015eab00dc7dd Author: Collin Funk <collin.funk1@gmail.com> Date: Wed Jul 9 19:29:18 2025 -0700 Adjust 'time-stamp' variables to modern Emacs commit 973e3e6af23b73a4f1b8d95680454cae22593bf8 Author: Pat Pannuto <ppannuto@ucsd.edu> Date: Wed Jun 11 16:11:36 2025 -0700 config.sub: Add Tock OS support This adds the Tock OS targets in preparation for implementing the Tock OS-specific toolchain support. commit 3a71dc102953608d4592ec401b519837c28a672a Author: Oskari Alaranta <oskari.alaranta@bananymous.com> Date: Tue Jun 3 23:06:06 2025 +0300 config.sub: recognize banan_os commit f91a544533876c70f43b9fd51064b2bcf3fa7382 Author: Siteshwar Vashisht <svashisht@redhat.com> Date: Thu May 8 15:14:55 2025 +0200 config.sub: fix a duplicated case pattern commit 484648c73f3843b256dd011bd415e81594300a0a Author: Russell Keith-Magee <russell@keith-magee.com> Date: Tue Jan 7 03:27:54 2025 -0500 config.sub: Include support for arm64_32 and iOS/tvOS/watchOS simulators commit 7f4149527babe92cb5da1032734f5cb90cefdac5 Author: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> Date: Fri Dec 13 16:59:18 2024 +0100 config.sub: add intelgt as a basic machine commit 9f6e0fe8ce04628bbd4a455118ff3f8309a1aef9 Author: mintsuki <mintsuki@protonmail.com> Date: Wed Nov 20 19:25:34 2024 +0100 ironclad: change ironclad to ironclad-mlibc 2025-07-13 Nick Clifton <nickc@redhat.com> * 2.45 Binutils Branch point. 2025-01-19 Nick Clifton <nickc@redhat.com> * 2.44 Binutils Branch point. 2024-07-20 Nick Clifton <nickc@redhat.com> * 2.43 Binutils Branch point. 2024-07-15 Nick Clifton <nickc@redhat.com> Import the following upstream commits to the config files: commit 948ae97ca5703224bd3eada06b7a69f40dd15a02 Update copyright years commit 471d8141d3a9fd845fe2ddd20b10569ab6437bc9 config.sub: recognize nanoMIPS CPUs commit ee6ea2f13ba4dc0836665d3c50099135bba36287 config.guess: recognize ironclad OS commit 5e2f254bcb505da063ba541b25df2c3f567b5517 config.sub: recognize ironclad OS commit 0e4a5b3a1ec551bf3cf4d432f4506ef02d1674c5 config.sub: recognize *-*-uefi commit d21518c6c819d285c6d9ec0c39c55615d0dde19c Recognize the VideoCore 4 processor commit a9a369e97a39a49e675712aee4035ed662d24d71 config.guess: detect LLVM-libc via features.h commit 5b83c2ff5da15451cb566e1837253d0f60543dd7 config.sub: add LLVM-libc support 2024-03-20 Simon Marchi <simon.marchi@efficios.com> * .pre-commit-config.yaml: Bump black hook to 24.3.0 2024-03-20 Simon Marchi <simon.marchi@efficios.com> * .pre-commit-config.yaml: New. 2024-03-14 Simon Marchi <simon.marchi@efficios.com> * Makefile.def: Add configure-gdbserver and all-gdbserver dependencies on all-libiconv. * Makefile.in: Re-generate. 2024-01-15 Nick Clifton <nickc@redhat.com> * 2.42 branch point. 2023-11-15 Arsen Arsenović <arsen@aarsen.me> * intl: Remove directory. Replaced with out-of-tree GNU gettext. * .gitignore: Add '/gettext*'. * configure.ac (host_libs): Replace intl with gettext. (hbaseargs, bbaseargs, baseargs): Split baseargs into {h,b}baseargs. (skip_barg): New flag. Skips appending current flag to bbaseargs. <library exemptions>: Exempt --with-libintl-{type,prefix} from target and build machine argument passing. * configure: Regenerate. * Makefile.def (host_modules): Replace intl module with gettext module. (configure-ld): Depend on configure-gettext. * Makefile.in: Regenerate. * src-release.sh: Remove references to the intl/ directory. 2023-07-03 Nick Clifton <nickc@redhat.com> 2.41 Branch Point. 2023-06-26 Nick Clifton <nickc@redhat.com> * Import these updates to the config scripts commit 4ad4bb7c30aca1e705448ba8d51a210bbd47bb52 Author: Paul Eggert <eggert@cs.ucla.edu> Date: Fri Jun 23 09:55:10 2023 -0700 Quote 'like this', not `like this'. commit 63acb96f92473ceb5e21d873d7c0aee266b3d6d3 Author: Paul Eggert <eggert@cs.ucla.edu> Date: Sat Jan 21 00:15:01 2023 -0600 Fix config.sub spelling typo for "athlon" commit 4ce12a5c9125cedc0d0ba584444a6865396923ec Author: Dmitry V. Levin <ldv@altlinux.org> Date: Sun Jan 1 08:00:00 2023 +0000 Update copyright years commit c397e2c040bce50bcdccb131f90115ba7e8bfc19 Author: Arsen Arsenovi <arsen@aarsen.me> Date: Sat Sep 17 23:34:48 2022 +0200 config.sub: add linux-mlibc targets commit 9f9f9b0b13197269848c76e3e057a3ed0680b4bf Author: Arsen Arsenovi <arsen@aarsen.me> Date: Sat Sep 17 23:34:47 2022 +0200 config.guess: support running on Managarm systems commit 87e6687749da7bb2ab158a79fa83721c19ed9246 Author: Arsen Arsenovi <arsen@aarsen.me> Date: Sat Sep 17 23:34:46 2022 +0200 config.sub: add managarm-{mlibc,kernel} targets commit 20403c5701973a4cbd7e0b4bbeb627fcd424a0f1 Author: Xiaotian Wu <wuxiaotian@loongson.cn> Date: Mon Aug 1 16:05:29 2022 +0800 Remove loongarchx32 commit 02ba26b218d3d3db6c56e014655faf463cefa983 Author: Alexander von Gluck IV <kallisti5@unixzen.com> Date: Wed May 25 15:43:13 2022 -0500 config.guess: Update Haiku guesses commit f56a7140386d08a531bcfd444d632b28c61a6329 Author: Bruno Haible <bruno@clisp.org> Date: Sun May 8 19:08:08 2022 +0200 config.guess (x86_64:Linux:*:*): Detect 32-bit ABI. 2023-04-20 Nick Clifton <nickc@redhat.com> * SECURITY.txt: New file. * src-release.sh (DEVO_SUPPORT): Add SECURITY.txt. 2022-12-31 Nick Clifton <nickc@redhat.com> * 2.40 binutils branch created. 2022-10-10 Nick Clifton <nickc@redhat.com> * src-release.sh: Add "-r <date>" option to create reproducible tarballs based upon a fixed timestamp of <date>. * binutils/README-how-to-make-a-release: Add a line showing how to use -r <date> when creating a binutils release. 2022-10-04 Nick Clifton <nickc@redhat.com> * README-maintainer-mode: Add a minimum version of dejagnu requirement. 2022-09-08 Nick Clifton <nickc@redhat.com> * README-maintainer-mode: Update minimum version of gettext required. 2022-07-08 Nick Clifton <nickc@redhat.com> * 2.39 branch created. 2022-07-04 Nick Clifton <nickc@redhat.com> * libiberty: Synchronize with GCC. Bring in: 2022-07-01 Nick Clifton <nickc@redhat.com> PR demangler/105039 * rust-demangle.c (demangle_const): Add recursion limit. 2022-06-26 Simon Marchi <simon.marchi@efficios.com> * configure.ac: Add AC_CONFIG_MACRO_DIRS call. * configure: Re-generate. 2022-04-12 Nick Clifton <nickc@redhat.com> * zlib: Rebase to the 1.2.12 release. 2022-04-08 Simon Marchi <simon.marchi@efficios.com> * configure.ac: Add AC_SUBST(PKG_CONFIG_PATH). * configure: Re-generate. * Makefile.tpl (HOST_EXPORTS): Pass PKG_CONFIG_PATH. (PKG_CONFIG_PATH): New. * Makefile.in: Re-generate. 2022-03-15 Jose E. Marchesi <jose.marchesi@oracle.com> * gprofng/src/gp-collect-app.cc (collect::check_args): Use fallthrough comment instead of attribute. 2022-03-11 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> * Makefile.def: Add gprofng module. * configure.ac: Add --enable-gprofng option. * src-release.sh: Add gprofng. * Makefile.in: Regenerate. * configure: Regenerate. * gprofng: New directory. 2022-01-22 Nick Clifton <nickc@redhat.com> * 2.38 release branch created. 2022-01-17 Nick Clifton <nickc@redhat.com> Update config.[guess|sub] from upstream: 2022-01-09 Idan Horowitz <idan.horowitz@gmail.com> config.guess: recognize SerenityOS * config.guess (*:SerenityOS:*:*): Recognize. (timestamp): Update. 2022-01-03 Bernhard Voelker <mail@bernhard-voelker.de> 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 <ldv@altlinux.org> Update copyright years * config.guess: Update copyright years. * config.sub: Likewise. 2021-12-25 Dmitry V. Levin <ldv@altlinux.org> 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 <ldv@altlinux.org> 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 <ldv@altlinux.org> config.sub: fix typo in timestamp * config.sub: Fix timestamp. 2021-11-30 Andreas F. Borchert <github@andreas-borchert.de> 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 <jordi@fibranet.cat> 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 <kinshukdua@gmail.com> config.sub: Fix typo in comment Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305 2021-08-14 Nick Bowler <nbowler@draconx.ca> 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 <jackpot51@gmail.com> 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 <root@stephanos.io> 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 <sezero@users.sourceforge.net> 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 <jcb@gnu.org> 2021-07-03 Ozkan Sezer <sezero@users.sourceforge.net> 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 <jcb@gnu.org> 2021-07-02 Ozkan Sezer <sezero@users.sourceforge.net> 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 <Vineet.Gupta1@synopsys.com> 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 <jcb@gnu.org> 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 <jcb@gnu.org> 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.