aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68k/tls-gd-3.s
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@kugelworks.com>2011-04-15 09:58:23 +0000
committerMaxim Kuvyrkov <maxim@kugelworks.com>2011-04-15 09:58:23 +0000
commit9c68f58e48030d125e085999b3778c22534e7bed (patch)
tree96e4ffec75d9be450698fe9d2547a2212d70b7db /ld/testsuite/ld-m68k/tls-gd-3.s
parentc8d895f1293fee155ac564f357f4c45188297dd8 (diff)
downloadgdb-9c68f58e48030d125e085999b3778c22534e7bed.zip
gdb-9c68f58e48030d125e085999b3778c22534e7bed.tar.gz
gdb-9c68f58e48030d125e085999b3778c22534e7bed.tar.bz2
* ld-m68k/tls-gd-ie-1.d: Stabilize test.
* ld-m68k/tls-gd-3.[sd]: New test.
Diffstat (limited to 'ld/testsuite/ld-m68k/tls-gd-3.s')
-rw-r--r--ld/testsuite/ld-m68k/tls-gd-3.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68k/tls-gd-3.s b/ld/testsuite/ld-m68k/tls-gd-3.s
new file mode 100644
index 0000000..ff0ee84
--- /dev/null
+++ b/ld/testsuite/ld-m68k/tls-gd-3.s
@@ -0,0 +1,17 @@
+#NO_APP
+ .text
+ .align 2
+ .globl foo
+ .type foo, @function
+foo:
+ pea x@TLSGD(%a5)
+ .size foo, .-foo
+ .globl x
+ .hidden x
+ .section .tdata,"awT",@progbits
+ .align 2
+ .type x, @object
+ .size x, 4
+x:
+ .long 0
+ .section .note.GNU-stack,"",@progbits