diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-10-03 19:11:50 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2019-10-04 10:54:16 +0100 |
commit | b627f56244cb2930c5891cfde03586987d46b5d2 (patch) | |
tree | bcf98c81badd1d49b135cd58671732a9589a8b9a /sim/m32c | |
parent | 77c2dba3e843694fae090e237ccdf1b8f65b94e6 (diff) | |
download | gdb-b627f56244cb2930c5891cfde03586987d46b5d2.zip gdb-b627f56244cb2930c5891cfde03586987d46b5d2.tar.gz gdb-b627f56244cb2930c5891cfde03586987d46b5d2.tar.bz2 |
[PR ld/25062] arm: sign extend the addend of R_ARM_TLS_GOTDESC
On 64-bit host the 32-bit addend was loaded without sign extension into
an unsigned long.
bfd/ChangeLog:
PR ld/25062
* elf32-arm.c (elf32_arm_final_link_relocate): Sign extend data.
ld/ChangeLog:
PR ld/25062
* testsuite/ld-arm/arm-elf.exp: Update.
* testsuite/ld-arm/tls-gdesc-neg.d: New test.
* testsuite/ld-arm/tls-gdesc-neg.s: New test.
Diffstat (limited to 'sim/m32c')
0 files changed, 0 insertions, 0 deletions