]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
GDB Administrator [Fri, 24 Jun 2022 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
Alan Modra [Thu, 23 Jun 2022 08:20:30 +0000 (17:50 +0930)]
PowerPC64: fix assertion in ppc_build_one_stub with -Os code
save_res stubs aren't written in ppc_build_one_stub, their offsets
(which are zero) should not be checked.
* elf64-ppc.c (ppc_build_one_stub): Don't check save_res offsets.
(cherry picked from commit
570e911f4e533fad33ad5e4e1102929cf7e80bd7 )
GDB Administrator [Thu, 23 Jun 2022 00:01:08 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 22 Jun 2022 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 21 Jun 2022 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 20 Jun 2022 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 19 Jun 2022 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 18 Jun 2022 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 17 Jun 2022 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 16 Jun 2022 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 15 Jun 2022 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 14 Jun 2022 00:00:50 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 13 Jun 2022 00:00:38 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 12 Jun 2022 00:00:39 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 11 Jun 2022 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 10 Jun 2022 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 9 Jun 2022 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 8 Jun 2022 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 7 Jun 2022 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 6 Jun 2022 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 5 Jun 2022 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 4 Jun 2022 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 3 Jun 2022 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 2 Jun 2022 00:01:08 +0000 (00:01 +0000)]
Automatic date update in version.in
H.J. Lu [Tue, 31 May 2022 22:38:19 +0000 (15:38 -0700)]
x86: Properly handle IFUNC function pointer reference
Update
commit
68c4956b1401de70173848a6bdf620cb42fa9358
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Apr 26 09:08:54 2022 -0700
x86: Properly handle function pointer reference
to properly handle IFUNC function pointer reference. Since IFUNC symbol
value is only known at run-time, set pointer_equality_needed for IFUNC
function pointer reference in PDE so that it will be resolved to its PLT
entry directly.
bfd/
PR ld/29216
* elf32-i386.c (elf_i386_scan_relocs): Set pointer_equality_needed
for IFUNC function pointer reference in PDE.
* elf64-x86-64.c (elf_x86_64_scan_relocs): Likewise.
ld/
PR ld/29216
* testsuite/ld-ifunc/ifunc.exp: Run PR ld/29216 test.
* testsuite/ld-ifunc/pr29216.c: New file.
(cherry picked from commit
98a1627f19ca125476d5d58d9999c7a8d381f403 )
GDB Administrator [Wed, 1 Jun 2022 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 31 May 2022 00:00:36 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 30 May 2022 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 29 May 2022 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 28 May 2022 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 27 May 2022 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 26 May 2022 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 25 May 2022 00:00:37 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 24 May 2022 00:00:49 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 23 May 2022 00:00:33 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 22 May 2022 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 21 May 2022 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 20 May 2022 00:01:10 +0000 (00:01 +0000)]
Automatic date update in version.in
Tamar Christina [Wed, 18 May 2022 09:37:10 +0000 (10:37 +0100)]
AArch64: Enable FP16 by default for Armv9-A.
In Armv9-A SVE is mandatory, and for SVE FP16 is mandatory. This fixes a disconnect
between GCC and binutils where GCC has FP16 on by default and gas doesn't.
include/ChangeLog:
2022-05-16 Tamar Christina <tamar.christina@arm.com>
* opcode/aarch64.h (AARCH64_ARCH_V9_FEATURES): Add AARCH64_FEATURE_F16.
(cherry picked from commit
e1e15284481896505eab0cbc556f2348ef8fffbf )
Signed-off-by: Tamar Christina <tamar.christina@arm.com>
GDB Administrator [Thu, 19 May 2022 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 18 May 2022 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 17 May 2022 00:01:15 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 16 May 2022 00:01:08 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 15 May 2022 00:00:46 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 14 May 2022 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 13 May 2022 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Thu, 12 May 2022 02:08:05 +0000 (11:38 +0930)]
PR29142, segv in ar with empty archive and libdeps specified
PR 29142
* ar.c (main): Properly handle libdeps for zero file_count.
(cherry picked from commit
fa445221958a9b8c8c4a804a339bc54cedfd83b9 )
GDB Administrator [Thu, 12 May 2022 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 11 May 2022 00:01:13 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 10 May 2022 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
Sergei Trofimovich [Thu, 14 Apr 2022 07:47:00 +0000 (08:47 +0100)]
M68K: avoid quadratic slowdlow in label alignment check
Before the change tc-m68k maintained a list of seen labels.
Alignment check traversed label list to resolve symbol to label.
This caused quadratic slowdown as each symbol was checked against
each label. Worst affected files are the ones built with debugging
enabled as DWARF generates many labels.
The change embeds auxiliary label information right into symbol using
TC_SYMFIELD_TYPE.
Before the change test from PR 29058 did not finish in 10 minutes. After
the change it finishes in 2 seconds.
gas/ChangeLog:
PR 29058
* config/tc-m68k.h (TC_SYMFIELD_TYPE): define as m68k_tc_sy.
* config/tc-m68k.c (m68k_frob_label): Use TC_SYMFIELD_TYPE to
store label information.
(cherry picked from commit
c641fe0dcb886dc1b8a235ab2b236275ee46510a )
Alan Modra [Fri, 25 Feb 2022 06:55:26 +0000 (17:25 +1030)]
Adjust ld ctf test for 32-bit targets
powerpc-linux, and I suspect other 32-bit targets, report "aligned at
0x4" for this test.
* testsuite/ld-ctf/nonrepresentable.d: Accept any alignment.
(cherry picked from commit
db120fb808dc24538e89b851d6dda1890aad5a1f )
GDB Administrator [Mon, 9 May 2022 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 8 May 2022 00:01:01 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 7 May 2022 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 6 May 2022 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 5 May 2022 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 4 May 2022 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 3 May 2022 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 2 May 2022 00:00:37 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 1 May 2022 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 30 Apr 2022 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 29 Apr 2022 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
H.J. Lu [Tue, 26 Apr 2022 16:08:54 +0000 (09:08 -0700)]
x86: Properly handle function pointer reference
Update
commit
ebb191adac4ab45498dec0bfaac62f0a33537ba4
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Feb 9 15:51:22 2022 -0800
x86: Disallow invalid relocation against protected symbol
to allow function pointer reference and make sure that PLT entry isn't
used for function reference due to function pointer reference.
bfd/
PR ld/29087
* elf32-i386.c (elf_i386_scan_relocs): Don't set
pointer_equality_needed nor check non-canonical reference for
function pointer reference.
* elf64-x86-64.c (elf_x86_64_scan_relocs): Likewise.
ld/
PR ld/29087
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/29087 tests.
* testsuite/ld-x86-64/protected-func-3.c: New file.
(cherry picked from commit
68c4956b1401de70173848a6bdf620cb42fa9358 )
Stefan Liebler [Thu, 28 Apr 2022 12:30:55 +0000 (14:30 +0200)]
s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie
In static-pie case, there are IRELATIVE-relocs in
.rela.iplt (htab->irelplt), which will later be grouped
to .rela.plt. On s390, the IRELATIVE relocations are
always located in .rela.iplt - even for non-static case.
Ensure that DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ is added
to the dynamic section even if htab->srelplt->size == 0.
See _bfd_elf_add_dynamic_tags in bfd/elflink.c.
bfd/
elf64-s390.c (elf_s390_size_dynamic_sections):
Enforce DT_JMPREL via htab->elf.dt_jmprel_required.
(cherry picked from commit
d942d8db12adf4c9e5c7d9ed6496a779ece7149e )
Stefan Liebler [Thu, 28 Apr 2022 12:29:58 +0000 (14:29 +0200)]
s390: Avoid dynamic TLS relocs in PIE
No dynamic relocs are needed for TLS defined in an executable, the
TP relative offset is known at link time.
Fixes
FAIL: Build pr22263-1
bfd/
PR ld/22263
* elf64-s390.c (elf_s390_tls_transition): Use bfd_link_dll
instead of bfd_link_pic for TLS.
(elf_s390_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.
(elf_s390_relocate_section): Likewise.
(cherry picked from commit
26b1426577b5dcb32d149c64cca3e603b81948a9 )
GDB Administrator [Thu, 28 Apr 2022 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 27 Apr 2022 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 26 Apr 2022 00:00:50 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 25 Apr 2022 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 24 Apr 2022 00:00:34 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 23 Apr 2022 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 22 Apr 2022 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 21 Apr 2022 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 20 Apr 2022 00:01:10 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 19 Apr 2022 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 18 Apr 2022 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 17 Apr 2022 00:00:50 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 16 Apr 2022 00:00:50 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 15 Apr 2022 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 14 Apr 2022 00:01:03 +0000 (00:01 +0000)]
Automatic date update in version.in
Liuzhen Song [Wed, 13 Apr 2022 09:39:38 +0000 (10:39 +0100)]
LoongArch: Update ABI eflag in elf header.
GDB Administrator [Wed, 13 Apr 2022 00:00:45 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 12 Apr 2022 00:01:05 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 11 Apr 2022 00:00:36 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 10 Apr 2022 00:00:57 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 9 Apr 2022 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 8 Apr 2022 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
Andreas Krebbel [Thu, 7 Apr 2022 05:45:49 +0000 (07:45 +0200)]
IBM zSystems: Add support for z16 as CPU name.
So far z16 was identified as arch14. After the machine has been
announced we can now add the real name.
(cherry picked from commit
69341966def7f6551bc4452684136831d6a6941c )
GDB Administrator [Thu, 7 Apr 2022 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 6 Apr 2022 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 5 Apr 2022 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 4 Apr 2022 00:00:32 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 3 Apr 2022 00:00:36 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 2 Apr 2022 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 1 Apr 2022 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 31 Mar 2022 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 30 Mar 2022 00:00:42 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 29 Mar 2022 00:00:38 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 28 Mar 2022 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in