]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/sparc/gotop32.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / sparc / gotop32.d
diff --git a/gas/testsuite/gas/sparc/gotop32.d b/gas/testsuite/gas/sparc/gotop32.d
new file mode 100644 (file)
index 0000000..76fc627
--- /dev/null
@@ -0,0 +1,15 @@
+#as: -Av7
+#objdump: -dr
+#name: sparc gotop
+
+.*: +file format .*sparc.*
+
+Disassembly of section .text:
+
+0+ <foo>:
+   0:  23 00 00 00     sethi  %hi\(0\), %l1
+                       0: R_SPARC_GOTDATA_OP_HIX22     .data
+   4:  a2 1c 60 00     xor  %l1, 0, %l1
+                       4: R_SPARC_GOTDATA_OP_LOX10     .data
+   8:  e4 05 c0 11     ld  \[ %l7 \+ %l1 \], %l2
+                       8: R_SPARC_GOTDATA_OP   .data