aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sparc/gotop32.td
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sparc/gotop32.td')
-rw-r--r--ld/testsuite/ld-sparc/gotop32.td12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sparc/gotop32.td b/ld/testsuite/ld-sparc/gotop32.td
new file mode 100644
index 0000000..e73482d
--- /dev/null
+++ b/ld/testsuite/ld-sparc/gotop32.td
@@ -0,0 +1,12 @@
+#source: gotop32.s
+#as: --32 -K PIC
+#ld: -shared -melf32_sparc
+#objdump: -sj.data
+#target: sparc*-*-*
+
+.*: +file format elf32-sparc
+
+Contents of section .data:
+ 13000 12345678 00000000 00000000 00000000 .*
+ 13010 00000000 00000000 00000000 00000000 .*
+#pass