aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/tls-tiny-gd-le.d
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-19 09:10:11 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-02-26 22:23:09 +0000
commitb480a4819bb85f0d8004cc0904e7a2eeb03cb2b7 (patch)
tree2fbea5793433018420c1b60107c59bacc71ad0b6 /ld/testsuite/ld-aarch64/tls-tiny-gd-le.d
parent3c12b0543695609d96f818b2a60c74b624fc0ffb (diff)
downloadgdb-b480a4819bb85f0d8004cc0904e7a2eeb03cb2b7.zip
gdb-b480a4819bb85f0d8004cc0904e7a2eeb03cb2b7.tar.gz
gdb-b480a4819bb85f0d8004cc0904e7a2eeb03cb2b7.tar.bz2
Add tiny memory model GD test cases.
Diffstat (limited to 'ld/testsuite/ld-aarch64/tls-tiny-gd-le.d')
-rw-r--r--ld/testsuite/ld-aarch64/tls-tiny-gd-le.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/tls-tiny-gd-le.d b/ld/testsuite/ld-aarch64/tls-tiny-gd-le.d
new file mode 100644
index 0000000..016ca70
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/tls-tiny-gd-le.d
@@ -0,0 +1,11 @@
+#source: tls-tiny-gd-le.s
+#ld: -T relocs.ld -e0
+#objdump: -dr
+#...
+
+Disassembly of section .text:
+
+0000000000010000 \<test\>:
+ +10000: d53bd041 mrs x1, tpidr_el0
+ +10004: 91400020 add x0, x1, #0x0, lsl #12
+ +10008: 91004000 add x0, x0, #0x10