]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
This commit was manufactured by cvs2svn to create branch 'binutils-
authornobody <>
Sun, 8 Jan 2012 12:33:55 +0000 (12:33 +0000)
committernobody <>
Sun, 8 Jan 2012 12:33:55 +0000 (12:33 +0000)
2_22-branch'.

Cherrypick from master 2012-01-08 12:33:54 UTC Richard Sandiford <rdsandiford@googlemail.com> 'gas/':
    gas/testsuite/gas/mips/tls-relw.d
    gas/testsuite/gas/mips/tls-relw.s

gas/testsuite/gas/mips/tls-relw.d [new file with mode: 0644]
gas/testsuite/gas/mips/tls-relw.s [new file with mode: 0644]

diff --git a/gas/testsuite/gas/mips/tls-relw.d b/gas/testsuite/gas/mips/tls-relw.d
new file mode 100644 (file)
index 0000000..bc13b43
--- /dev/null
@@ -0,0 +1,8 @@
+# as: -EB
+# objdump: -sj.data
+
+.*
+
+Contents of section \.data:
+ 0000 00000001 00000000 00000002 00000004  ................
+ 0010 00000000 00000003 00000010 00000000  ................
diff --git a/gas/testsuite/gas/mips/tls-relw.s b/gas/testsuite/gas/mips/tls-relw.s
new file mode 100644 (file)
index 0000000..6890685
--- /dev/null
@@ -0,0 +1,12 @@
+       .data
+start:
+       .word   1
+a:
+       .tprelword t1
+       .word   2
+       .word   a-start
+b:
+       .dtprelword t2
+       .word   3
+       .word   b-start
+       .word   0