]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
19 months agobfd: aarch64: Fix BTI stub optimization PR30957
Szabolcs Nagy [Fri, 13 Oct 2023 16:51:15 +0000 (17:51 +0100)] 
bfd: aarch64: Fix BTI stub optimization PR30957

The instruction was looked up in the wrong input file (file of branch
source instead of branch target) when optimizing away BTI stubs in

  commit 5834f36d93cabf1a8bcc7dd7654141aed3d296bc
  bfd: aarch64: Optimize BTI stubs PR30076

This can cause adding BTI stubs when they are not necessary or removing
them when they are (the latter is a correctness issue but it is very
unlikely in practice).

Fixes bug 30957.

(cherry picked from commit 98b94ebb3ffe715fddde762bb3ee7fd6d972f233)

19 months agoFix 30808 gprofng tests failed
Vladimir Mezentsev [Thu, 31 Aug 2023 23:26:59 +0000 (16:26 -0700)] 
Fix 30808 gprofng tests failed

In gprofng testing, we need a tempory gprofng installation to resolve run-time
dependencies on libraries (libgprofng, libopcodes, libbfd, etc).
We set LD_LIBRARY_PATH and GPROFNG_SYSCONFDIR to find our libraries and
configuration file. These variables must be set for all gprofng tests.

Tested on aarch64 and x86_64 with and without --enable-shared and --target=<>.

gprofng/ChangeLog
2023-08-31  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

PR gprofng/30808
* testsuite/config/default.exp: Make a temporary install dir.
Set LD_LIBRARY_PATH, GPROFNG_SYSCONFDIR.
* testsuite/lib/Makefile.skel: Move LD_LIBRARY_PATH and
GPROFNG_SYSCONFDIR setting in testsuite/config/default.exp.

(cherry picked from commit a13e4c5c10d1a13d9128d033c9525810e876ac14)

19 months agoFix ld/x86: reduce testsuite dependency on system object files
H.J. Lu [Fri, 1 Dec 2023 17:13:08 +0000 (09:13 -0800)] 
Fix ld/x86: reduce testsuite dependency on system object files

commit eab996435fe65a421541f59557c5f1fd427573a3
Author: Jan Beulich <jbeulich@suse.com>
Date:   Tue Nov 7 13:58:32 2023 +0100

    ld/x86: reduce testsuite dependency on system object files

changed some C compiler tests to assembler/linker tests which introduced
2 problems:

1. It broke x32 binutils tests since --64 was passed to assembler, but
-m elf_x86_64 wasn't passed to linker.
2. -nostdlib was passed to C compiler driver to exclude standard run-time
files which should be avoided with -r option for linker tests.

Fix them by passing -m elf_x86_64 to linker and removing -nostdlib for
linker tests with -r.

PR ld/30722
* testsuite/ld-x86-64/x86-64.exp: Pass -m elf_x86_64 to linker
for tests with --64.  Remove -nostdlib for tests with -r.

(cherry picked from commit 260aa570edcf120332daefb4a102a08c90e4d9b4)

19 months agold/x86: reduce testsuite dependency on system object files
Jan Beulich [Tue, 7 Nov 2023 12:58:32 +0000 (13:58 +0100)] 
ld/x86: reduce testsuite dependency on system object files

PR ld/30722
Tests looking for certain .note-section recorded properties may not
involve object files from the underlying platform (e.g. via using the C
compiler for linking): Such object files may themselves have similar
note sections, and hence they may influence the overall outcome.

For now convert just the tests known to be affected by crt*.o coming
with "ISA v3 needed" notes. Eventually other tests ought to be
converted, too.

(cherry picked from commit eab996435fe65a421541f59557c5f1fd427573a3)

19 months agold: ld-lib.exp: log failed dump.out contents for debugging
Sam James [Wed, 16 Aug 2023 06:21:53 +0000 (07:21 +0100)] 
ld: ld-lib.exp: log failed dump.out contents for debugging

If we're using dump_prog in a test which fails, log the dump.out contents
to ld.log to aid debugging.

This avoids needing to ask reporters to manually run e.g. `objdump` commands
when making bug reports.

PR30722
* ld/testsuite/lib/ld-lib.exp: Log failed dump.out contents to aid
debugging.

Approved-by: Nick Clifton <nickc@redhat.com>
Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 646657284f6b62a71a6869826e951b3def4d73a6)

19 months agold: fix relocatable, retain7a target pattens for HPPA
Sam James [Mon, 14 Aug 2023 03:28:35 +0000 (04:28 +0100)] 
ld: fix relocatable, retain7a target pattens for HPPA

Fix issue reported by Dave and Alan.

Put back the old pattern for hppa-*-linux* and add hppa[12]*-*-linux* to cover
Gentoo's hppa1.1 and hppa2.0 without including hppa64 inadvertently like I did
before.

ld/
PR 30733
PR 30734
* ld/testsuite/ld-elf/relocatable.d: Use better pattern to exclude hppa64
          but include hppa1.1, hppa2.0.
* ld/testsuite/ld-elf/retain7a.d: Ditto.

Fixes: 0e339f6b4f2df25ed351cb94dc7fe16868626f49
Fixes: e3b66187192ce6840df283c00f6395bb0ff15cf5
Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 3b23a5ea693deee60648c9a9e9d666d83549298e)

19 months agold: Fix retain7a.d XFAIL/notarget entry for hppa
Sam James [Tue, 8 Aug 2023 01:19:57 +0000 (02:19 +0100)] 
ld: Fix retain7a.d XFAIL/notarget entry for hppa

PR 30733
* ld/testsuite/ld-elf/retain7a.d: Fix XFAIL entry for hppa to match
  hppa{1.1,2.0}*, like hppa2.0-unknown-linux-gnu which Gentoo uses.

Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit e3b66187192ce6840df283c00f6395bb0ff15cf5)

19 months agold: Fix relocatable.d XFAIL/notarget entry for hppa
Sam James [Tue, 8 Aug 2023 01:17:57 +0000 (02:17 +0100)] 
ld: Fix relocatable.d XFAIL/notarget entry for hppa

PR 30734
* ld/testsuite/ld-elf/relocatable.d: Fix notarget entry for hppa to match
  hppa{1.1,2.0}*, like hppa2.0-unknown-linux-gnu which Gentoo uses.

Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 0e339f6b4f2df25ed351cb94dc7fe16868626f49)

19 months agold: Build libpr23169a.so with -z lazy
H.J. Lu [Mon, 7 Aug 2023 17:23:16 +0000 (10:23 -0700)] 
ld: Build libpr23169a.so with -z lazy

pr23169b test only works with lazy binding.  To work with linker which
disables lazy binding by default, build pr23169b binaries with -z lazy.

PR ld/30698
* ld-ifunc/ifunc.exp: Build pr23169b binaries with -z lazy.

(cherry picked from commit 51dd9e7c4cab13748f31f6575aed0672f03d6710)

19 months agoFix "--only-keep-debug for ELF relocatables" binutils test for compilers which add...
Nick Clifton [Tue, 1 Aug 2023 13:37:04 +0000 (14:37 +0100)] 
Fix "--only-keep-debug for ELF relocatables" binutils test for compilers which add .debug_macro sections to object files.

  PR 30699
  * binutils/testsuite/binutils-all/objcopy.exp (keep_debug_symbols_for_elf_relocatable): Do not add sections containing the string "debug_" to the list of non-debug sections.

(cherry picked from commit b99a9693430a9f04165b1b868f890b622bb1b46c)

19 months agogprofng: 30700 tmpdir/gp-collect-app_F test fails
Vladimir Mezentsev [Thu, 3 Aug 2023 19:56:54 +0000 (12:56 -0700)] 
gprofng: 30700 tmpdir/gp-collect-app_F test fails

gprofng/ChangeLog
2023-08-03  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

PR gprofng/30700
* testsuite/gprofng.display/gp-collect-app_F.exp: Fix -name argument
for sub-experiment filtering.

(cherry picked from commit e0282cf1284b4d358892427a6b4f60d6f4c0580b)

19 months agoAutomatic date update in version.in
GDB Administrator [Wed, 20 Dec 2023 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Tue, 19 Dec 2023 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Mon, 18 Dec 2023 00:01:03 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sun, 17 Dec 2023 00:00:52 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Sat, 16 Dec 2023 00:00:50 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Fri, 15 Dec 2023 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Thu, 14 Dec 2023 00:01:21 +0000 (00:01 +0000)] 
Automatic date update in version.in

19 months agoAutomatic date update in version.in
GDB Administrator [Wed, 13 Dec 2023 00:01:08 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 12 Dec 2023 00:00:45 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 11 Dec 2023 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sun, 10 Dec 2023 00:01:09 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sat, 9 Dec 2023 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Fri, 8 Dec 2023 00:01:05 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Thu, 7 Dec 2023 00:01:23 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Wed, 6 Dec 2023 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 5 Dec 2023 00:01:28 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 4 Dec 2023 00:00:40 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sun, 3 Dec 2023 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sat, 2 Dec 2023 00:00:44 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Fri, 1 Dec 2023 00:00:58 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Thu, 30 Nov 2023 00:01:04 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Wed, 29 Nov 2023 00:01:13 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 28 Nov 2023 00:01:25 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 27 Nov 2023 00:01:01 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sun, 26 Nov 2023 00:00:42 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sat, 25 Nov 2023 00:01:04 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Fri, 24 Nov 2023 00:01:10 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Thu, 23 Nov 2023 00:02:25 +0000 (00:02 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Wed, 22 Nov 2023 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoGold/MIPS: Add targ_extra_size=64 for mips32 triples
YunQiang Su [Tue, 21 Nov 2023 04:57:15 +0000 (12:57 +0800)] 
Gold/MIPS: Add targ_extra_size=64 for mips32 triples

Backport commit: 619a8a364d6cdc43d6677f86369aa2b5d1a1cc0f

20 months agoGold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian
YunQiang Su [Tue, 21 Nov 2023 04:52:24 +0000 (12:52 +0800)] 
Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian

Backport commit: 870a4f2cc3df832eab92151e27fd9e7db9027726

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 21 Nov 2023 00:01:32 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 20 Nov 2023 00:00:44 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sun, 19 Nov 2023 00:00:49 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sat, 18 Nov 2023 00:00:47 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Fri, 17 Nov 2023 00:01:14 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Thu, 16 Nov 2023 00:01:09 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Wed, 15 Nov 2023 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Tue, 14 Nov 2023 00:00:57 +0000 (00:00 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Mon, 13 Nov 2023 00:01:00 +0000 (00:01 +0000)] 
Automatic date update in version.in

20 months agoAutomatic date update in version.in
GDB Administrator [Sun, 12 Nov 2023 00:00:38 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sat, 11 Nov 2023 00:01:03 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Fri, 10 Nov 2023 00:00:38 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Thu, 9 Nov 2023 00:01:16 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Wed, 8 Nov 2023 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Tue, 7 Nov 2023 00:00:49 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Mon, 6 Nov 2023 00:00:50 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sun, 5 Nov 2023 00:00:42 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sat, 4 Nov 2023 00:00:46 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Fri, 3 Nov 2023 00:00:51 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Thu, 2 Nov 2023 00:00:49 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Wed, 1 Nov 2023 00:01:50 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Tue, 31 Oct 2023 00:01:21 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Mon, 30 Oct 2023 00:00:51 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sun, 29 Oct 2023 00:00:47 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sat, 28 Oct 2023 00:00:53 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Fri, 27 Oct 2023 00:01:33 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Thu, 26 Oct 2023 00:01:08 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Wed, 25 Oct 2023 00:00:54 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Tue, 24 Oct 2023 00:01:45 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Mon, 23 Oct 2023 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sun, 22 Oct 2023 00:01:35 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sat, 21 Oct 2023 00:00:56 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Fri, 20 Oct 2023 00:00:44 +0000 (00:00 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Thu, 19 Oct 2023 00:01:15 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Wed, 18 Oct 2023 00:01:29 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Tue, 17 Oct 2023 00:01:29 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Mon, 16 Oct 2023 00:02:12 +0000 (00:02 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sun, 15 Oct 2023 00:01:43 +0000 (00:01 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Sat, 14 Oct 2023 00:02:20 +0000 (00:02 +0000)] 
Automatic date update in version.in

21 months agoAutomatic date update in version.in
GDB Administrator [Fri, 13 Oct 2023 00:01:05 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Thu, 12 Oct 2023 00:02:31 +0000 (00:02 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Wed, 11 Oct 2023 00:01:59 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Tue, 10 Oct 2023 00:02:07 +0000 (00:02 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Mon, 9 Oct 2023 00:01:06 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Sun, 8 Oct 2023 00:02:40 +0000 (00:02 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Sat, 7 Oct 2023 00:01:24 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Fri, 6 Oct 2023 00:01:52 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Thu, 5 Oct 2023 00:01:57 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Wed, 4 Oct 2023 00:01:25 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Tue, 3 Oct 2023 00:03:07 +0000 (00:03 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Mon, 2 Oct 2023 00:01:37 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Sun, 1 Oct 2023 00:01:53 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Sat, 30 Sep 2023 00:01:37 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Fri, 29 Sep 2023 00:01:22 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Thu, 28 Sep 2023 00:01:32 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agox86-64: fix suffix-less PUSH of symbol address
Jan Beulich [Wed, 27 Sep 2023 08:53:38 +0000 (10:53 +0200)] 
x86-64: fix suffix-less PUSH of symbol address

PR gas/30856

In 5cc007751cdb ("x86: further adjust extend-to-32bit-address
conditions") I neglected the case of PUSH, which is the only insn
allowing (proper) symbol addresses to be used as immediates (not
displacements, like CALL/JMP) in the absence of any register operands.
Since it defaults to 64-bit operand size, guessing an L suffix is wrong
there.

22 months agoAutomatic date update in version.in
GDB Administrator [Wed, 27 Sep 2023 00:01:37 +0000 (00:01 +0000)] 
Automatic date update in version.in

22 months agoAutomatic date update in version.in
GDB Administrator [Tue, 26 Sep 2023 00:02:12 +0000 (00:02 +0000)] 
Automatic date update in version.in