]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
GDB Administrator [Mon, 19 May 2025 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 18 May 2025 00:02:28 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 17 May 2025 00:01:53 +0000 (00:01 +0000)]
Automatic date update in version.in
Sam James [Wed, 14 May 2025 05:38:56 +0000 (06:38 +0100)]
ld: fix C23 issue in vers7 test
This test is UNSUPPORTED on arm64 with GCC 15 (which defaults to -std=gnu23)
because it now prototypes "no arguments".
PR ld/32546
* ld-elfvers/vers7.c: Fix function definitions for C23.
(cherry picked from commit
6ebd38072de4a77a2d28f04a79b64ab570532e98 )
GDB Administrator [Fri, 16 May 2025 00:02:13 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 15 May 2025 00:01:28 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 14 May 2025 00:01:27 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 13 May 2025 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 12 May 2025 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 11 May 2025 00:00:50 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 10 May 2025 00:01:26 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 9 May 2025 00:01:34 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 8 May 2025 00:00:49 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 7 May 2025 00:02:03 +0000 (00:02 +0000)]
Automatic date update in version.in
H.J. Lu [Thu, 20 Mar 2025 20:16:34 +0000 (13:16 -0700)]
dwarf: Dump .debug_loclists only for DWARF-5
.debug_loclists section is loaded into debug_information as DWARF-5 debug
info and .debug_loc section is loaded into debug_information as pre-DWARF-5
debug info. When dumping .debug_loc section, we should only process
pre-DWARF-5 debug info in debug_information. When dumping .debug_loclists
section, we should only process DWARF-5 info in debug_information.
binutils/
PR binutils/32809
* dwarf.c (display_debug_loc): Dump .debug_loclists only for
DWARF-5.
ld/
PR binutils/32809
* testsuite/ld-x86-64/dwarf4.s: New file.
* testsuite/ld-x86-64/dwarf5a.s: Likewise.
* testsuite/ld-x86-64/dwarf5b.s: Likewise.
* testsuite/ld-x86-64/pr32809.d: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run pr32809.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit
82bdc396a40e64ea17acdba072bafbb3f620518f )
GDB Administrator [Tue, 6 May 2025 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 5 May 2025 00:01:23 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 4 May 2025 00:02:05 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 3 May 2025 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 2 May 2025 00:02:17 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 1 May 2025 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 30 Apr 2025 00:03:13 +0000 (00:03 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 29 Apr 2025 00:02:39 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 28 Apr 2025 00:02:43 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 27 Apr 2025 00:01:15 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 26 Apr 2025 00:01:21 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 25 Apr 2025 00:02:12 +0000 (00:02 +0000)]
Automatic date update in version.in
Alan Modra [Thu, 24 Apr 2025 00:31:29 +0000 (10:01 +0930)]
PR 32603, revert message changes in
0b7f992b78fe and
31e9e2e8d109
This puts back %F into translated fatal error messages (and reverts a
few other small changes), to not disturb translation work done for the
2.44 branch.
GDB Administrator [Thu, 24 Apr 2025 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 23 Apr 2025 00:03:03 +0000 (00:03 +0000)]
Automatic date update in version.in
Simon Marchi [Thu, 20 Feb 2025 15:13:38 +0000 (10:13 -0500)]
gdb/compile: add missing entry in bfd_link_callbacks array
clang 19 fails to build gdb with this error:
/home/simark/src/binutils-gdb/gdb/compile/compile-object-load.c:302:3: error: cannot initialize a member subobject of type 'void (*)(const char *, ...) __attribute__((noreturn))' with an lvalue of type 'void (const char *, ...)'
302 | link_callbacks_einfo, /* einfo */
| ^~~~~~~~~~~~~~~~~~~~
This illustrates that the bfd_link_callbacks array is missing an entry
for the "fatal" callback, add it.
The fatal field was added very recently, in
d26161914 ("PR 32603, more
ld -w misbehaviour"). We're lucky that the new callback was marked with
the noreturn attribute and that clang checks that, otherwise this would
have gone unnoticed.
Change-Id: I68b63d89f2707359e6254da23bdc0776b0e03ba2
(cherry picked from commit
1961e699340fc042ff2e5cbdb250694575679afe )
Alan Modra [Sun, 16 Feb 2025 13:04:55 +0000 (23:34 +1030)]
PR 32603, more ld -w misbehaviour
Commit
8d97c1a53f3d claimed to replace all einfo calls using %F with
a call to fatal. It did so only for the ld/ directory. This patch
adds a "fatal" to linker callbacks, and replaces those calls in bfd/
too.
(cherry picked from commit
d26161914cf286171b29767916a212685f9aadf3 )
Alan Modra [Thu, 6 Feb 2025 11:16:22 +0000 (21:46 +1030)]
PR 32603, ld -w misbehaviour
ld -w currently causes segmentation faults and other misbehaviour
since it changes einfo with %F in the format string (fatal error) to
not exit. This patch fixes that by introducing a new variant of einfo
called "fatal" that always exits, and replaces all einfo calls using
%F with a call to fatal without the %F. I considered modifying einfo
to inspect the first 2 or 4 chars in the format string, looking for
%F, but decided that was probably a bad idea given that translators
might have moved the %F. It's also a little nicer to inform the
compiler of a function that doesn't return.
The patch also fixes some formatting nits, and makes use of %pA
to print section names in a couple of places in aix.em.
(cherry picked from commit
8d97c1a53f3dc9fd8e1ccdb039b8a33d50133150 )
GDB Administrator [Tue, 22 Apr 2025 00:02:22 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 21 Apr 2025 00:01:31 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 20 Apr 2025 00:02:34 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 19 Apr 2025 00:02:21 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 18 Apr 2025 00:03:00 +0000 (00:03 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 17 Apr 2025 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 16 Apr 2025 00:01:30 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 15 Apr 2025 00:01:54 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 14 Apr 2025 00:01:47 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 13 Apr 2025 00:01:34 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 12 Apr 2025 00:01:10 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 11 Apr 2025 00:01:21 +0000 (00:01 +0000)]
Automatic date update in version.in
Jens Remus [Wed, 9 Apr 2025 06:59:24 +0000 (08:59 +0200)]
s390: Add support for z17 as CPU name
So far IBM z17 was identified as arch15. Add the real name, as it has
been announced. [1]
[1]: IBM z17 announcement letter, AD25-0015,
https://www.ibm.com/docs/en/announcements/z17-makes-more-possible
gas/
* config/tc-s390.c (s390_parse_cpu): Add z17 as alternate CPU
name for arch15.
* doc/c-s390.texi: Likewise.
* doc/as.texi: Likewise.
opcodes/
* s390-mkopc.c (main): Add z17 as alternate CPU name for arch15.
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
(cherry picked from commit
981fe5fd80faf511aa265e841a380c9b46be30e6 )
GDB Administrator [Thu, 10 Apr 2025 00:01:35 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 9 Apr 2025 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 8 Apr 2025 00:01:57 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 7 Apr 2025 00:01:50 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 6 Apr 2025 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 5 Apr 2025 00:01:41 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 4 Apr 2025 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 3 Apr 2025 00:01:13 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 2 Apr 2025 00:01:41 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 1 Apr 2025 00:01:23 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 31 Mar 2025 00:02:00 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 30 Mar 2025 00:01:32 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 29 Mar 2025 00:01:46 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 28 Mar 2025 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
Haochen Jiang [Wed, 19 Mar 2025 08:52:35 +0000 (16:52 +0800)]
x86: Remove AVX10.2 256 bit rounding support
Since we will support 512 bit on both P-core and E-core for AVX10, 256 bit
rounding is not that useful because we currently have rounding feature
directly on E-core now and no need to use 256-bit rounding as somehow
a workaround. This patch will remove all the support and backport to
Binutils 2.44.
gas/ChangeLog:
* NEWS: Mention support removal.
* config/tc-i386.c (build_evex_prefix): Remove U bit encode.
(check_VecOperands): Remove ymm check for rounding.
(s_insn): Revise .insn comment.
* testsuite/gas/i386/avx10_2-256-cvt-intel.d: Remove ymm
rounding related test.
* testsuite/gas/i386/avx10_2-256-cvt.d: Ditto.
* testsuite/gas/i386/avx10_2-256-cvt.s: Ditto.
* testsuite/gas/i386/avx10_2-256-miscs-intel.d: Ditto.
* testsuite/gas/i386/avx10_2-256-miscs.d: Ditto.
* testsuite/gas/i386/avx10_2-256-miscs.s: Ditto.
* testsuite/gas/i386/avx10_2-256-satcvt-intel.d: Ditto.
* testsuite/gas/i386/avx10_2-256-satcvt.d: Ditto.
* testsuite/gas/i386/avx10_2-256-satcvt.s: Ditto.
* testsuite/gas/i386/evex.d: Ditto.
* testsuite/gas/i386/evex.s: Ditto.
* testsuite/gas/i386/i386.exp: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-cvt-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-cvt.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-cvt.s: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-miscs-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-miscs.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-miscs.s: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-satcvt-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-satcvt.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-satcvt.s: Ditto.
* testsuite/gas/i386/x86-64-evex.d: Ditto.
* testsuite/gas/i386/x86-64.exp: Ditto.
* testsuite/gas/i386/avx10_2-rounding-intel.d: Removed.
* testsuite/gas/i386/avx10_2-rounding-inval.l: Removed.
* testsuite/gas/i386/avx10_2-rounding-inval.s: Removed.
* testsuite/gas/i386/avx10_2-rounding.d: Removed.
* testsuite/gas/i386/avx10_2-rounding.s: Removed.
* testsuite/gas/i386/x86-64-avx10_2-rounding-intel.d: Removed.
* testsuite/gas/i386/x86-64-avx10_2-rounding.d: Removed.
* testsuite/gas/i386/x86-64-avx10_2-rounding.s: Removed.
opcodes/ChangeLog:
* i386-dis.c (struct instr_info): Remove U bit.
(get_valid_dis386): Roll back to APX condition.
* i386-opc.tbl: Remove ymm rounding support.
* i386-tbl.h: Regenerated.
GDB Administrator [Thu, 27 Mar 2025 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 26 Mar 2025 00:01:07 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 25 Mar 2025 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 24 Mar 2025 00:01:56 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 23 Mar 2025 00:01:22 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 22 Mar 2025 00:01:59 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 21 Mar 2025 00:02:15 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 20 Mar 2025 00:02:03 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 19 Mar 2025 00:02:26 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 18 Mar 2025 00:02:12 +0000 (00:02 +0000)]
Automatic date update in version.in
H.J. Lu [Thu, 13 Mar 2025 18:52:00 +0000 (11:52 -0700)]
elf: Clear the SEC_ALLOC bit for NOLOAD note sections
When generating an ELF output file, if a note section is marked as
NOLOAD, clear the SEC_ALLOC bit so that it won't be treated as an
SHF_ALLOC section, like a .bss style section.
PR ld/32787
* ld.texi: Update NOLOAD for ELF output files.
* ldlang.c (lang_add_section): Clear the SEC_ALLOC bit for NOLOAD
note sections for ELF output files.
* testsuite/ld-elf/pr32787.d: New file.
* testsuite/ld-elf/pr32787.t: Likewise.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit
d87be451ebbf831d44ac168ca9ea2b79ab5a79b3 )
GDB Administrator [Mon, 17 Mar 2025 00:02:09 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 16 Mar 2025 00:01:29 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 15 Mar 2025 00:02:00 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 14 Mar 2025 00:01:43 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 13 Mar 2025 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 12 Mar 2025 00:01:54 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 11 Mar 2025 00:02:22 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 10 Mar 2025 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 9 Mar 2025 00:01:25 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 8 Mar 2025 00:01:07 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 7 Mar 2025 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 6 Mar 2025 00:01:18 +0000 (00:01 +0000)]
Automatic date update in version.in
H.J. Lu [Wed, 5 Mar 2025 04:44:11 +0000 (12:44 +0800)]
ld: Pass -Wl,-z,lazy to compiler for i386 lazy binding tests
Pass -Wl,-z,lazy to compiler for i386 tests which require lazy binding
to support compilers which default to non-lazy binding.
PR ld/32762
* testsuite/ld-i386/i386.exp: Pass -Wl,-z,lazy for
"Build ifunc-1a with PIE -z ibtplt" test.
* testsuite/ld-i386/no-plt.exp: Pass -Wl,-z,lazy for
"Build libno-plt-1b.so", "No PLT (dynamic 1a)",
"No PLT (dynamic 1b)", "No PLT (dynamic 1c)",
"No PLT (PIE 1e)", "No PLT (PIE 1f)", "No PLT (PIE 1g)" tests.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit
78d7038b1579733dafd3e0541444f7626cf24a87 )
GDB Administrator [Wed, 5 Mar 2025 00:02:33 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 4 Mar 2025 00:02:37 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 3 Mar 2025 00:01:32 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 2 Mar 2025 00:01:11 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 1 Mar 2025 00:01:57 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 28 Feb 2025 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
Nick Clifton [Thu, 27 Feb 2025 12:16:02 +0000 (12:16 +0000)]
Updated translations for bfd and gold
GDB Administrator [Thu, 27 Feb 2025 00:02:10 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 26 Feb 2025 00:01:10 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 25 Feb 2025 00:02:03 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 24 Feb 2025 00:01:30 +0000 (00:01 +0000)]
Automatic date update in version.in
Alan Modra [Sun, 23 Feb 2025 10:34:29 +0000 (21:04 +1030)]
PR 32731 ub sanitizer accessing filenames_reversed
tic4x-coff and mcore-pe tickle this bug by a peculiarity of their
default ld scripts.
PR 32731
* ldlang.c (lang_add_wild): Init filenames_reversed when no
filespec.
(cherry picked from commit
a021382482a6c891d74d302a598688f447ae97e0 )
GDB Administrator [Sun, 23 Feb 2025 00:02:51 +0000 (00:02 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 22 Feb 2025 00:01:38 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 21 Feb 2025 00:01:56 +0000 (00:01 +0000)]
Automatic date update in version.in