head 1.1;
branch 1.1.1;
access;
symbols
netbsd-11-0-RELEASE:1.1.1.2
netbsd-11-0-RC7:1.1.1.2
netbsd-11-0-RC6:1.1.1.2
netbsd-11-0-RC5:1.1.1.2
netbsd-11-0-RC4:1.1.1.2
netbsd-11-0-RC3:1.1.1.2
netbsd-11-0-RC2:1.1.1.2
binutils-2-46:1.1.1.4
netbsd-11-0-RC1:1.1.1.2
binutils-2-45:1.1.1.3
perseant-exfatfs-base-20250801:1.1.1.2
netbsd-11:1.1.1.2.0.2
netbsd-11-base:1.1.1.2
perseant-exfatfs-base-20240630:1.1.1.2
binutils-2-42:1.1.1.2
perseant-exfatfs:1.1.1.1.0.2
perseant-exfatfs-base:1.1.1.1
binutils-2-39:1.1.1.1
FSF:1.1.1;
locks; strict;
comment @# @;
1.1
date 2022.12.23.19.01.40; author christos; state Exp;
branches
1.1.1.1;
next ;
commitid AaAP7ITTx5JnmI6E;
1.1.1.1
date 2022.12.23.19.01.40; author christos; state Exp;
branches
1.1.1.1.2.1;
next 1.1.1.2;
commitid AaAP7ITTx5JnmI6E;
1.1.1.2
date 2024.06.30.16.01.01; author christos; state Exp;
branches;
next 1.1.1.3;
commitid Eqxmo2uubpM9w1gF;
1.1.1.3
date 2025.08.25.14.43.15; author christos; state Exp;
branches;
next 1.1.1.4;
commitid aUBKFf4jmEzPv78G;
1.1.1.4
date 2026.02.11.19.50.18; author christos; state Exp;
branches;
next ;
commitid vybCSY05tblOMZtG;
1.1.1.1.2.1
date 2024.07.01.01.00.14; author perseant; state Exp;
branches;
next ;
commitid NkoYLLCQWWw9v4gF;
desc
@@
1.1
log
@Initial revision
@
text
@#!/bin/sh
#
# Copyright (C) 2021 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# .
#
# CHK_LIBC_OBJ -- a script to scan the .o's in an output directory,
# which is one of ../{intel-S2,sparc-S2,intel-Linux,sparc-Linux}
#
# usage: cd to the output directory, and invoke ../src/CHK_LIBC_OBJ
check_obj() {
logF="nm.`basename $1`.log"
if [ `uname` = 'Linux' ]; then
nm $1 | grep -v GLIBC_ > ${logF}
else
nm $1 > ${logF}
fi
FUNC_LIST="strcpy strlcpy strncpy strcat strlcat strncat strncmp strlen \
strerror strchr strrchr strpbrk strstr strtok strtok_r \
printf fprintf sprintf snprintf asprintf wsprintf \
vprintf vfprintf vsprintf vsnprintf vasprintf \
memset memcmp memcpy strtol strtoll strtoul strtoull \
getcpuid calloc malloc free strdup"
res=0
echo " -- Checking Object file '$1' for functions from libc"
for j in `echo ${FUNC_LIST}` ; do
grep -w ${j} ${logF} | grep UNDEF> grep.log 2>&1
if [ $? -eq 0 ]; then
grep -w ${j} ${logF}
res=1
fi
done
return ${res}
}
STATUS=0
for i in *.o ; do
echo ""
check_obj ${i}
res=$?
if [ ${res} -eq 0 ]; then
echo "Object file ${i} does not reference functions in libc"
else
echo "======Object file: ${i} DOES reference functions in libc"
fi
if [ ${STATUS} -eq 0 ]; then
STATUS=${res}
fi
done
for i in *.so ; do
echo ""
check_obj ${i}
res=$?
if [ ${res} -eq 0 ]; then
echo "Object file ${i} does not reference functions in libc"
else
echo "======Object file: ${i} DOES reference functions in libc"
fi
if [ ${STATUS} -eq 0 ]; then
STATUS=${res}
fi
done
exit $STATUS
@
1.1.1.1
log
@Update binutils from 2.34 to 2.39
2022-07-08 Nick Clifton
* 2.39 branch created.
2022-07-04 Nick Clifton
* libiberty: Synchronize with GCC. Bring in:
2022-07-01 Nick Clifton
PR demangler/105039
* rust-demangle.c (demangle_const): Add recursion limit.
2022-06-26 Simon Marchi
* configure.ac: Add AC_CONFIG_MACRO_DIRS call.
* configure: Re-generate.
2022-04-12 Nick Clifton
* zlib: Rebase to the 1.2.12 release.
2022-04-08 Simon Marchi
* 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
* gprofng/src/gp-collect-app.cc (collect::check_args): Use
fallthrough comment instead of attribute.
2022-03-11 Vladimir Mezentsev
* 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
* 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.
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.
@
text
@@
1.1.1.1.2.1
log
@Sync with HEAD.
@
text
@d3 1
a3 1
# Copyright (C) 2021-2024 Free Software Foundation, Inc.
@
1.1.1.2
log
@Import binutils-2.42 (last was 2.39)
2024-01-15 Nick Clifton
* 2.42 branch point.
2023-11-15 Arsen Arsenović
* 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.
: 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
2.41 Branch Point.
2023-06-26 Nick Clifton
* Import these updates to the config scripts
commit 4ad4bb7c30aca1e705448ba8d51a210bbd47bb52
Author: Paul Eggert
Date: Fri Jun 23 09:55:10 2023 -0700
Quote 'like this', not `like this'.
commit 63acb96f92473ceb5e21d873d7c0aee266b3d6d3
Author: Paul Eggert
Date: Sat Jan 21 00:15:01 2023 -0600
Fix config.sub spelling typo for "athlon"
commit 4ce12a5c9125cedc0d0ba584444a6865396923ec
Author: Dmitry V. Levin
Date: Sun Jan 1 08:00:00 2023 +0000
Update copyright years
commit c397e2c040bce50bcdccb131f90115ba7e8bfc19
Author: Arsen Arsenovi
Date: Sat Sep 17 23:34:48 2022 +0200
config.sub: add linux-mlibc targets
commit 9f9f9b0b13197269848c76e3e057a3ed0680b4bf
Author: Arsen Arsenovi
Date: Sat Sep 17 23:34:47 2022 +0200
config.guess: support running on Managarm systems
commit 87e6687749da7bb2ab158a79fa83721c19ed9246
Author: Arsen Arsenovi
Date: Sat Sep 17 23:34:46 2022 +0200
config.sub: add managarm-{mlibc,kernel} targets
commit 20403c5701973a4cbd7e0b4bbeb627fcd424a0f1
Author: Xiaotian Wu
Date: Mon Aug 1 16:05:29 2022 +0800
Remove loongarchx32
commit 02ba26b218d3d3db6c56e014655faf463cefa983
Author: Alexander von Gluck IV
Date: Wed May 25 15:43:13 2022 -0500
config.guess: Update Haiku guesses
commit f56a7140386d08a531bcfd444d632b28c61a6329
Author: Bruno Haible
Date: Sun May 8 19:08:08 2022 +0200
config.guess (x86_64:Linux:*:*): Detect 32-bit ABI.
2023-04-20 Nick Clifton
* SECURITY.txt: New file.
* src-release.sh (DEVO_SUPPORT): Add SECURITY.txt.
2022-12-31 Nick Clifton
* 2.40 binutils branch created.
2022-10-10 Nick Clifton
* src-release.sh: Add "-r " option to create reproducible
tarballs based upon a fixed timestamp of .
* binutils/README-how-to-make-a-release: Add a line showing how to
use -r when creating a binutils release.
2022-10-04 Nick Clifton
* README-maintainer-mode: Add a minimum version of dejagnu
requirement.
2022-09-08 Nick Clifton
* README-maintainer-mode: Update minimum version of gettext
required.
@
text
@d3 1
a3 1
# Copyright (C) 2021-2024 Free Software Foundation, Inc.
@
1.1.1.3
log
@Import binutils 2.45 (previous was 2.42)
2.45 Release Notes
------------------
Assembler:
All sframe information generated by the assembler is now in compliance
with the SFrame V2 specification.
The assembler now supports .errif and .warnif directives, permitting
user-controlled diagnostics with conditionals that are evaluated only
at the end of assembly.
The assembler predefines the symbol "GAS(version)".
The assembler now supports the generation of SFrame stack trace
information (.sframe) from CFI directives on s390 64-bit (s390x).
For RISC-V, the ".option arch, -ext" format is deprecated due to its
controversial use.
For RISC-V, stop generating mapping symbols $x and replace with $x. The
$x was defined to have the same ISA as previous $x, but now is defined
to have the same ISA as elf architecture attribute. Once both used .option
arch/rvc/norvc/push/pop directives (some code have different architectures
with file attribute) and data directives in text, then the file need to be
rebuilt since 2.45.
The assembler supports the latest architecture extensions for the
RISC-V, LoongArch and AArch64 architectures.
Linker:
The linker's --stats option can take an optional argument which if used is
interpreted as a filename into which resource usage information should be
stored. As an alternative mechanism the LD_STATS environment variable can
also be used to achieve the same results. Resource usage information for
various phases of the linking operation is now included in the report.
If a map file is being produced then the information is also included there.
The --no-stats option can be used to disable stat reporting, should it have
been enabled.
On s390 64-bit (s390x), generate SFrame stack trace information (.sframe)
for the linker generated .plt section. On s390 32-bit, generate
".eh_frame" unwind information for the linker generated .plt section.
Both features are enabled by default and can be disabled using linker
option --no-ld-generated-unwind-info.
On RISC-V, add new PLT formats, and GNU property merge rules for zicfiss and
zicfilp extensions.
On AVR, the default linker scripts now assert that the .progmem sections
don't extend past 0xffff since they are accessed by means of LPM.
For data in program memory that may be located past 0xffff, a .progmemx
section should be used.
On LoongArch, linker relaxation time complexity is no longer quadratic with
respect to relocation counts. Linking time of large software should be
improved. In addition R_LARCH_32_PCREL records are now checked for
overflow.
Other binary utilities:
New versioned release of libsframe: libsframe.so.2. This release introduces
versioned symbols with version node name LIBSFRAME_2.0. Some new symbols
have been added to support the new flag SFRAME_F_FDE_FUNC_START_PCREL and
retrieving flags from SFrame decoder and encoder objects:
- Addition of sframe_decoder_get_flags,
sframe_decoder_get_offsetof_fde_start_addr, sframe_encoder_get_flags,
sframe_encoder_get_offsetof_fde_start_addr.
This release also includes backward-incompatible ABI changes:
- Removal of sframe_get_funcdesc_with_addr.
- Change in the behavior of sframe_decoder_get_funcdesc_v2,
sframe_encoder_add_funcdesc_v2 and sframe_encoder_write.
For SFrame stack trace format, the function start address in each SFrame
FDE has a changed encoding: The 32-bit signed integer now holds the offset
of the start PC of the associated function from the sfde_func_start_address
field itself (instead of the earlier where it was the offset from the start
of the SFrame section itself). All SFrame sections generated by gas and ld
now default to this new encoding, setting the (new)
SFRAME_F_FDE_FUNC_START_PCREL flag.
Relocatable SFrame links are now fixed.
Readelf now recognizes RISC-V GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and
GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED for zicfiss and zicfilp
extensions.
The LoongArch disassembler now properly accepts multiple disassembly
options given by -M, such as "-M no-aliases,numeric". (Previously only the
first option took effect.)
2.44 Release Notes
------------------
Assembler:
Support for new architecture extensions for AArch64, Risc-V and
x86.
Linker:
The default maximum page size was changed from 16KiB to 64KiB for
LoongArch.
This now supports mixed LTO and non-LTO object files in
relocatable output.
The ELF forms of the linker support a --image-base= option
for compatibility with LLD.
The --build-id= option now accepts an argument of "xx" which
enables the use of the xxhash library. This produces a 128-bit
hash and is 2-4x faster than md5 or sha1.
The ELF linker option --package-metadata supports percent-encoded
and %[string] encoded JSON payloads.
Disassembler:
The RISC-V disassembler now supports -M,max option like QEMU to
dump instruction without checking architecture support as usual.
GprofNG:
Support added for hardware event counters for Neoverse-N1,
Ampere-1, and Appliedmicro processors.
Support for the Nios II target has been removed.
2.43 Release Notes
------------------
Assembler:
* Add a .base64 directive to the assembler which allows base64 encoded
binary data to be provided as strings.
* Assembler macros as well as the bodies of .irp / .irpc / .rept can now use
the syntax \+ to access the number of times a given macro has been executed.
This is similar to the already existing \@@ syntax, except that the count is
maintained on a per-macro basis.
* References to FB and dollar labels, when supported, are no longer permitted
in a radix other than 10. (Note that definitions of such labels were
already thus restricted, except that leading zeroes were permitted).
Linker:
* Add support for DT_RELR type compressed runtime relocations for the
AArch64 and LoongArch architectures.
* Add --rosegment option which changes the -z separate-code option so that
only one read-only segment is created (instead of two).
* Add --section-ordering-file option to add extra mapping of input
sections to output sections.
* Add -plugin-save-temps to store plugin intermediate files permanently.
Utilities:
* Readelf will now display DT_RELR relocations in full detail.
* Readelf now has a -j/--display-section option which takes the name
or index of a section and displays its contents according to its
type. The option can be used multiple times on the command line to
display multiple sections.
* When objdump or readelf are used to display the contents of a
.eh_frame section they will now also display the contents of the
.eh_frame_hdr section, if present.
Gprofng:
* Improved the support for hardware event counters:
- Re-designed and streamlined the implementation.
- Defined a common set of events for ARM processors.
- Added specific events for AMD ZEN3 / ZEN4, and Intel
Ice Lake processors.
* Added a minimal support for RISC-V.
General:
* Target specific improvements for many architectures.
@
text
@d3 1
a3 1
# Copyright (C) 2021-2025 Free Software Foundation, Inc.
@
1.1.1.4
log
@Import binutils-2.46.0 (previous was 2.45)
Changes in 2.45:
* New versioned release of libsframe: libsframe.so.2. This release introduces
versioned symbols with version node name LIBSFRAME_2.0. Some new symbols
have been added to support the new flag SFRAME_F_FDE_FUNC_START_PCREL and
retrieving flags from SFrame decoder and encoder objects:
- Addition of sframe_decoder_get_flags,
sframe_decoder_get_offsetof_fde_start_addr, sframe_encoder_get_flags,
sframe_encoder_get_offsetof_fde_start_addr.
This release also includes backward-incompatible ABI changes:
- Removal of sframe_get_funcdesc_with_addr.
- Change in the behavior of sframe_decoder_get_funcdesc_v2,
sframe_encoder_add_funcdesc_v2 and sframe_encoder_write.
* On s390 64-bit (s390x), gas, ld, objdump, and readelf now support generating
and processing SFrame V2 stack trace information (.sframe). The assembler
generates SFrame info from CFI directives with option "--gsframe". The
linker generates SFrame info for the linker-generated .plt section and merges
all .sframe sections. Both objdump and readelf dump SFrame info with option
"--sframe[=]".
* For SFrame stack trace format, the function start address in each SFrame
FDE has a changed encoding: The 32-bit signed integer now holds the offset
of the start PC of the associated function from the sfde_func_start_address
field itself (instead of the earlier where it was the offset from the start
of the SFrame section itself). All SFrame sections generated by gas and ld
now default to this new encoding, setting the (new)
SFRAME_F_FDE_FUNC_START_PCREL flag.
Relocatable SFrame links are now fixed.
* Readelf now recognizes RISC-V GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and
GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED for zicfiss and zicfilp
extensions.
* For RISC-V dis-assembler, the definition of mapping symbol $x is changed,
so the file needs to be rebuilt since 2.45 once used .option arch directives.
* The LoongArch disassembler now properly accepts multiple disassembly
options given by -M, such as "-M no-aliases,numeric". (Previously only the
first option took effect.)
@
text
@d3 1
a3 1
# Copyright (C) 2021-2026 Free Software Foundation, Inc.
@