This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][ARM] ld/arm: adjust offsets in tls-gdierelax2.d
- From: Kyle McMartin <kmcmarti at redhat dot com>
- To: binutils at sourceware dot org
- Cc: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Tue, 24 Jun 2014 16:00:24 -0400
- Subject: [PATCH][ARM] ld/arm: adjust offsets in tls-gdierelax2.d
- Authentication-results: sourceware.org; auth=none
- References: <53A02161 dot 7010303 at redhat dot com> <201406220504 dot s5M54HCo005712 at ignucius dot se dot axis dot com>
Addition of DF_STATIC_TLS in eea6dad2 results in the addition of
flags to the dynamic section, which in turn changes these addresses.
Fix them up to match their new positions.
ld/testsuite/Changelog:
2014-06-24 Kyle McMartin <kyle@redhat.com>
* ld-arm/tls-gdierelax2.d: Fix expected offsets.
--- a/ld/testsuite/ld-arm/tls-gdierelax2.d
+++ b/ld/testsuite/ld-arm/tls-gdierelax2.d
@@ -11,13 +11,13 @@ Disassembly of section .text:
[0-9a-f]+: e59f0004 ldr r0, \[pc, #4\] ; .*
[0-9a-f]+: e79f0000 ldr r0, \[pc, r0\]
[0-9a-f]+: e1a00000 nop ; .*
- [0-9a-f]+: 00008098 .word 0x00008098
- [0-9a-f]+: 0000809c .word 0x0000809c
+ [0-9a-f]+: 000080a0 .word 0x000080a0
+ [0-9a-f]+: 000080a4 .word 0x000080a4
[0-9a-f]+ <bar>:
[0-9a-f]+: 4801 ldr r0, \[pc, #4\] ; .*
[0-9a-f]+: 4478 add r0, pc
[0-9a-f]+: 6800 ldr r0, \[r0, #0\]
[0-9a-f]+: 46c0 nop ; .*
- [0-9a-f]+: 0000808a .word 0x0000808a
- [0-9a-f]+: 0000808c .word 0x0000808c
+ [0-9a-f]+: 00008092 .word 0x00008092
+ [0-9a-f]+: 00008094 .word 0x00008094