~ubuntu-support-team/binutils/+git/binutils-gdb:binutils-2_37-branch

Last commit made on 2022-04-28
Get this branch:
git clone -b binutils-2_37-branch https://git.launchpad.net/~ubuntu-support-team/binutils/+git/binutils-gdb

Branch merges

Branch information

Name:
binutils-2_37-branch
Repository:
lp:~ubuntu-support-team/binutils/+git/binutils-gdb

Recent commits

44f1cd7... by Stefan Liebler <email address hidden>

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)

e20961e... by Stefan Liebler <email address hidden>

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)

e24d2a2... by Andreas Krebbel <email address hidden>

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)
(cherry picked from commit fb4d148004f28494e9fb5d2400a13308d07a7988)

feee8c0... by Alan Modra

PR28959, obdump doesn't disassemble mftb instruction

Without a -M cpu option given, powerpc objdump defaults currently to
-Mpower10 but -Many is also given. Commit 1ff6a3b8e562 regressed
-Many disassembly of instructions that are encoded differently
depending on cpu, such as mftb which has pre- and post-power4
encodings.

 PR 28959
 * ppc-dis.c (lookup_powerpc): Revert 2021-05-28 change. Instead
 only look at deprecated PPC_OPCODE_RAW bit when -Many.

(cherry picked from commit b508e46bf9c5b2cef5821b399dfc3b8009a81836)

7c4b20b... by "H.J. Lu" <email address hidden>

i386: Allow GOT32 relocations against ABS symbols

GOT32 relocations are allowed since absolute value + addend is stored in
the GOT slot.

Tested on glibc 2.35 build with GCC 11.2 and -Os.

bfd/

 PR ld/28870
 * elfxx-x86.c (_bfd_elf_x86_valid_reloc_p): Also allow GOT32
 relocations.

ld/

 PR ld/28870
 * testsuite/ld-i386/i386.exp: Run pr28870.
 * testsuite/ld-i386/pr28870.d: New file.
 * testsuite/ld-i386/pr28870.s: Likewise.

(cherry picked from commit 30a954525f4e53a9cd50a1a8a6f201c7cf6595c7)

5f62cae... by GDB Administrator <email address hidden>

Automatic date update in version.in

544818c... by GDB Administrator <email address hidden>

Automatic date update in version.in

589b6fc... by GDB Administrator <email address hidden>

Automatic date update in version.in

3f4442a... by GDB Administrator <email address hidden>

Automatic date update in version.in

cf0ac00... by GDB Administrator <email address hidden>

Automatic date update in version.in