aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/tls-app.d
diff options
context:
space:
mode:
authorRenlin Li <renlin.li@arm.com>2017-09-25 11:41:54 +0100
committerRenlin Li <renlin.li@arm.com>2017-10-10 16:18:07 +0100
commit6c699715f68be7d8c468e965fbefce997f7ed937 (patch)
tree2f63e54c9b5ca2a5fda84b9aa6c663a80359e923 /ld/testsuite/ld-arm/tls-app.d
parentae7e78255666733d238e676a0bab14986a1483dd (diff)
downloadgdb-6c699715f68be7d8c468e965fbefce997f7ed937.zip
gdb-6c699715f68be7d8c468e965fbefce997f7ed937.tar.gz
gdb-6c699715f68be7d8c468e965fbefce997f7ed937.tar.bz2
[ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol.
Similar as aarch64 backend, arm backend only overrides the decision on undefined weak symbols. arm backend part already emits necessary relative relocation for this case. bfd/ PR ld/21402 * elf32-arm.c (allocate_dynrelocs_for_symbol): Only make undefined weak symbols into dynamic. ld/ PR ld/21402 * testsuite/ld-arm/tls-app.d: Update address. * testsuite/ld-arm/tls-app.r: Remove relocations. * testsuite/ld-arm/unresolved-1-dyn.d: Update.
Diffstat (limited to 'ld/testsuite/ld-arm/tls-app.d')
-rw-r--r--ld/testsuite/ld-arm/tls-app.d22
1 files changed, 11 insertions, 11 deletions
diff --git a/ld/testsuite/ld-arm/tls-app.d b/ld/testsuite/ld-arm/tls-app.d
index de0cbab..454adcd 100644
--- a/ld/testsuite/ld-arm/tls-app.d
+++ b/ld/testsuite/ld-arm/tls-app.d
@@ -2,17 +2,17 @@
.*: file format elf32-.*arm.*
architecture: arm.*, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
-start address 0x000081c8
+start address 0x00008[0-9a-f]+
Disassembly of section .text:
-000081c8 <foo>:
- 81c8: e1a00000 nop ; \(mov r0, r0\)
- 81cc: e1a00000 nop ; \(mov r0, r0\)
- 81d0: e1a0f00e mov pc, lr
- 81d4: 000080bc .word 0x000080bc
- 81d8: 000080b4 .word 0x000080b4
- 81dc: 000080ac .word 0x000080ac
- 81e0: 00000004 .word 0x00000004
- 81e4: 000080c4 .word 0x000080c4
- 81e8: 00000014 .word 0x00000014
+00008[0-9a-f]+ <foo>:
+ 8[0-9a-f]+: e1a00000 nop ; \(mov r0, r0\)
+ 8[0-9a-f]+: e1a00000 nop ; \(mov r0, r0\)
+ 8[0-9a-f]+: e1a0f00e mov pc, lr
+ 8[0-9a-f]+: 000080bc .word 0x000080bc
+ 8[0-9a-f]+: 000080b4 .word 0x000080b4
+ 8[0-9a-f]+: 000080ac .word 0x000080ac
+ 8[0-9a-f]+: 00000004 .word 0x00000004
+ 8[0-9a-f]+: 000080c4 .word 0x000080c4
+ 8[0-9a-f]+: 00000014 .word 0x00000014