Commit: Update libiberty
Simon Marchi
simon.marchi@polymtl.ca
Wed Jan 7 20:05:49 GMT 2026
On 2026-01-07 06:32, Nick Clifton wrote:
> Hi Guys,
>
> I am applying the patch below to synchronize our copy of the libiberty
> sources with those in the gcc development tree. This sync brings in
> the following fixes and updates:
>
> 2025-11-30 Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * simple-object-mach-o.c
> (simple_object_mach_o_segment): Handle non-LTO sections.
>
> 2025-11-06 Peter Damianov <peter0x44@disroot.org>
>
> PR target/122472
> * simple-object-coff.c (struct external_filehdr_bigobj): New
> structure for BigObj file header.
> (bigobj_magic): New constant for BigObj magic bytes.
> (struct external_syment_bigobj): New structure for BigObj
> 20-byte symbol table entries.
> (union external_auxent_bigobj): New union for BigObj 20-byte
> auxiliary symbol entries.
> (struct simple_object_coff_read): Add is_bigobj flag and make
> nscns 32-bit to support both formats.
> (struct simple_object_coff_attributes): Add is_bigobj flag.
> (simple_object_coff_match): Add BigObj format detection.
> (simple_object_coff_read_strtab): Use format-specific symbol
> size when calculating string table offset.
> (simple_object_coff_attributes_merge): Check is_bigobj flag.
> (simple_object_coff_write_filehdr_bigobj): New function.
> (simple_object_coff_write_to_file): Add logic for writing
> BigObj vs regular COFF format with appropriate symbol
> and auxiliary entry structures.
>
> 2025-08-17 Nathaniel Shead <nathanieloshead@gmail.com>
>
> PR c++/120503
> PR c++/120824
> * cp-demangle.c (d_unnamed_enum): New function.
> (d_unqualified_name): Call it.
> (cplus_demangle_type): Handle unscoped unnamed types
> (Ue, Ul, etc.)
> (d_count_templates_scopes): Handle unnamed enums.
> (d_find_pack): Likewise.
> (d_print_comp_inner): Print unnamed enums.
> * testsuite/demangle-expected: Add tests.
>
> Cheers
> Nick
>
Hi Nick,
I think this is the cause of the autoregen failure:
https://inbox.sourceware.org/binutils/20260107185435.987604BA2E06@sourceware.org/T/#u
I can reproduce the failure locally:
$ pwd
/home/simark/src/binutils-gdb/libiberty
$ autoreconf -vf
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
configure.ac:161: error: m4_defn: undefined macro: GCC_AC_FUNC_MMAP
../config/no-executables.m4:21: GCC_NO_EXECUTABLES is expanded from...
configure.ac:161: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoreconf: configure.ac: not using Libtool
autoreconf: running: /opt/autostuff/2.69/bin/autoconf --force
configure.ac:161: error: m4_defn: undefined macro: GCC_AC_FUNC_MMAP
../config/no-executables.m4:21: GCC_NO_EXECUTABLES is expanded from...
configure.ac:161: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoreconf: /opt/autostuff/2.69/bin/autoconf failed with exit status: 1
Simon
More information about the Binutils
mailing list