aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMarcus Shawcroft <mshawcroft@sourceware.org>2013-07-02 06:37:33 +0000
committerMarcus Shawcroft <mshawcroft@sourceware.org>2013-07-02 06:37:33 +0000
commit9d115506b6d9d15714cca1469ac621d73b49297d (patch)
tree8afdad2aeabf8810f1cacdc15ab1944bdd732bf5 /ld
parentf40da81ba51cd6e300f929ef29f14865a3e7bfcd (diff)
downloadgdb-9d115506b6d9d15714cca1469ac621d73b49297d.zip
gdb-9d115506b6d9d15714cca1469ac621d73b49297d.tar.gz
gdb-9d115506b6d9d15714cca1469ac621d73b49297d.tar.bz2
[AArch64] Adjust testcases for move of &_DYNAMIC to got[0].
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-aarch64/emit-relocs-309-low.d8
-rw-r--r--ld/testsuite/ld-aarch64/emit-relocs-309-up.d2
-rw-r--r--ld/testsuite/ld-aarch64/emit-relocs-312.d6
-rw-r--r--ld/testsuite/ld-aarch64/gc-got-relocs.d2
-rw-r--r--ld/testsuite/ld-aarch64/gc-tls-relocs.d2
-rw-r--r--ld/testsuite/ld-aarch64/tls-relax-all.d4
-rw-r--r--ld/testsuite/ld-aarch64/tls-relax-gd-ie.d2
-rw-r--r--ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d2
-rw-r--r--ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d2
9 files changed, 15 insertions, 15 deletions
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-309-low.d b/ld/testsuite/ld-aarch64/emit-relocs-309-low.d
index acb8cd3..93896cf 100644
--- a/ld/testsuite/ld-aarch64/emit-relocs-309-low.d
+++ b/ld/testsuite/ld-aarch64/emit-relocs-309-low.d
@@ -1,12 +1,12 @@
#name: aarch64-emit-relocs-309-low
#source: emit-relocs-309.s
#as:
-#ld: -Ttext 0xFFFFC --section-start .got=0x0
+#ld: -Ttext 0x100004 --section-start .got=0x0
#objdump: -dr
#...
Disassembly of section \.text:
-00000000000ffffc <_start>:
- ffffc: d503201f nop
- 100000: 58800000 ldr x0, 0 .*
+0000000000100004 <_start>:
+ 100004: d503201f nop
+ 100008: 58800000 ldr x0, 8 .*
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-309-up.d b/ld/testsuite/ld-aarch64/emit-relocs-309-up.d
index a84c343..32922ee 100644
--- a/ld/testsuite/ld-aarch64/emit-relocs-309-up.d
+++ b/ld/testsuite/ld-aarch64/emit-relocs-309-up.d
@@ -1,7 +1,7 @@
#name: aarch64-emit-relocs-309-up
#source: emit-relocs-309.s
#as:
-#ld: -Ttext 0x0 --section-start .got=0x100000
+#ld: -Ttext 0x0 --section-start .got=0xffff8
#objdump: -dr
#...
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-312.d b/ld/testsuite/ld-aarch64/emit-relocs-312.d
index 8d50d8d..c10dc1e 100644
--- a/ld/testsuite/ld-aarch64/emit-relocs-312.d
+++ b/ld/testsuite/ld-aarch64/emit-relocs-312.d
@@ -10,10 +10,10 @@
+1000c: R_AARCH64_LD_PREL_LO19 tempy2
+10010: 58f89131 ldr x17, 1234 <tempy3>
+10010: R_AARCH64_LD_PREL_LO19 tempy3
- +10014: f9400843 ldr x3, \[x2.*
+ +10014: f9400c43 ldr x3, \[x2.*
+10014: R_AARCH64_LD64_GOT_LO12_NC jempy
- +10018: f9400444 ldr x4, \[x2.*
+ +10018: f9400844 ldr x4, \[x2.*
+10018: R_AARCH64_LD64_GOT_LO12_NC gempy
- +1001c: f9400045 ldr x5, \[x2.*
+ +1001c: f9400445 ldr x5, \[x2.*
+1001c: R_AARCH64_LD64_GOT_LO12_NC lempy
diff --git a/ld/testsuite/ld-aarch64/gc-got-relocs.d b/ld/testsuite/ld-aarch64/gc-got-relocs.d
index 0944b06..bb98241 100644
--- a/ld/testsuite/ld-aarch64/gc-got-relocs.d
+++ b/ld/testsuite/ld-aarch64/gc-got-relocs.d
@@ -23,7 +23,7 @@ Contents of section .text:
8000 1f2003d5 .*
Contents of section .got:
9000 0+ 0+ 0+ 0+ .*
- 9010 0+ 0+ .*
+ 9010 0+ 0+ 0+ 0+ .*
Disassembly of section .text:
diff --git a/ld/testsuite/ld-aarch64/gc-tls-relocs.d b/ld/testsuite/ld-aarch64/gc-tls-relocs.d
index d6c8740..5380bc0 100644
--- a/ld/testsuite/ld-aarch64/gc-tls-relocs.d
+++ b/ld/testsuite/ld-aarch64/gc-tls-relocs.d
@@ -25,7 +25,7 @@ Contents of section .text:
8000 1f2003d5 .*
Contents of section .got:
9000 0+ 0+ 0+ 0+ .*
- 9010 0+ 0+ .*
+ 9010 0+ 0+ 0+ 0+ .*
Disassembly of section .text:
diff --git a/ld/testsuite/ld-aarch64/tls-relax-all.d b/ld/testsuite/ld-aarch64/tls-relax-all.d
index d3db04d..f8485f1 100644
--- a/ld/testsuite/ld-aarch64/tls-relax-all.d
+++ b/ld/testsuite/ld-aarch64/tls-relax-all.d
@@ -5,7 +5,7 @@
+10000: a9bf7bfd stp x29, x30, \[sp,#-16\]!
+10004: 910003fd mov x29, sp
+10008: 90000080 adrp x0, 20000 <ie_var\+0x1fff0>
- +1000c: f9400000 ldr x0, \[x0\]
+ +1000c: f9400400 ldr x0, \[x0,#8\]
+10010: d503201f nop
+10014: d503201f nop
+10018: d53bd041 mrs x1, tpidr_el0
@@ -20,7 +20,7 @@
+1003c: b9400000 ldr w0, \[x0\]
+10040: 0b000021 add w1, w1, w0
+10044: 90000080 adrp x0, 20000 <ie_var\+0x1fff0>
- +10048: f9400400 ldr x0, \[x0,#8\]
+ +10048: f9400800 ldr x0, \[x0,#16\]
+1004c: d53bd041 mrs x1, tpidr_el0
+10050: 8b000020 add x0, x1, x0
+10054: b9400000 ldr w0, \[x0\]
diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d
index a142f54..2dc00ca 100644
--- a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d
+++ b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d
@@ -3,7 +3,7 @@
#objdump: -dr
#...
+10000: 90000080 adrp x0, 20000 <var\+0x20000>
- +10004: f9400000 ldr x0, \[x0\]
+ +10004: f9400400 ldr x0, \[x0,#8\]
+10008: d53bd041 mrs x1, tpidr_el0
+1000c: 8b000020 add x0, x1, x0
+10010: b9400000 ldr w0, \[x0\]
diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d
index f3307ae..23d9d1d 100644
--- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d
+++ b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d
@@ -4,7 +4,7 @@
#...
+10000: 90000080 adrp x0, 20000 <var\+0x20000>
+10004: d503201f nop
- +10008: f9400000 ldr x0, \[x0\]
+ +10008: f9400400 ldr x0, \[x0,#8\]
+1000c: d503201f nop
+10010: d503201f nop
+10014: d503201f nop
diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d
index 691df06..3aec3ad 100644
--- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d
+++ b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d
@@ -3,7 +3,7 @@
#objdump: -dr
#...
+10000: 90000080 adrp x0, 20000 <var\+0x20000>
- +10004: f9400000 ldr x0, \[x0\]
+ +10004: f9400400 ldr x0, \[x0,#8\]
+10008: d503201f nop
+1000c: d503201f nop
+10010: d53bd041 mrs x1, tpidr_el0