aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/unwind-4.d
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-07-01 11:17:01 +0100
committerNick Clifton <nickc@redhat.com>2019-07-01 11:17:01 +0100
commit539300fb929ada830ec7c4002fd59f0d86c823b1 (patch)
tree9960e5ed55cb08d4465423788ded82fe88fc8176 /ld/testsuite/ld-arm/unwind-4.d
parentf57cf0e3e357255959d00626bce5c21396e23212 (diff)
downloadfsf-binutils-gdb-539300fb929ada830ec7c4002fd59f0d86c823b1.zip
fsf-binutils-gdb-539300fb929ada830ec7c4002fd59f0d86c823b1.tar.gz
fsf-binutils-gdb-539300fb929ada830ec7c4002fd59f0d86c823b1.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-arm/unwind-4.d')
-rw-r--r--ld/testsuite/ld-arm/unwind-4.d2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/unwind-4.d b/ld/testsuite/ld-arm/unwind-4.d
index 0bed0dc..6bd4d91 100644
--- a/ld/testsuite/ld-arm/unwind-4.d
+++ b/ld/testsuite/ld-arm/unwind-4.d
@@ -13,6 +13,8 @@ OFFSET TYPE VALUE
0000000c R_ARM_PREL31 \.text
00000010 R_ARM_PREL31 \.text
00000010 R_ARM_NONE __aeabi_unwind_cpp_pr0
+00000010 R_ARM_PREL31 \.text
+00000010 R_ARM_NONE __aeabi_unwind_cpp_pr0
00000018 R_ARM_PREL31 \.text