Correct the calculation of offsets for ARM exidx relocs when performing a partial...
authorNick Clifton <nickc@redhat.com>
Mon, 1 Jul 2019 10:17:01 +0000 (11:17 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 1 Jul 2019 10:17:01 +0000 (11:17 +0100)
commit539300fb929ada830ec7c4002fd59f0d86c823b1
tree9960e5ed55cb08d4465423788ded82fe88fc8176
parentf57cf0e3e357255959d00626bce5c21396e23212
Correct the calculation of offsets for ARM exidx relocs when performing a partial link.

PR 23839
bfd * elf32-arm.c (elf32_arm_update_relocs): Do not include the
section VMA in the offset used to update exidx relocs.

ld * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
exidx relocs.
bfd/ChangeLog
bfd/elf32-arm.c
ld/ChangeLog
ld/testsuite/ld-arm/unwind-4.d