]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/sparc/pc2210.s
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / sparc / pc2210.s
diff --git a/gas/testsuite/gas/sparc/pc2210.s b/gas/testsuite/gas/sparc/pc2210.s
new file mode 100644 (file)
index 0000000..9190234
--- /dev/null
@@ -0,0 +1,6 @@
+       # Test R_SPARC_PC22 and R_SPARC_PC10 relocations
+       .data
+sym:   .word   0
+       .text
+       sethi   %pc22(sym), %o1
+       or      %o1, %pc10(sym), %o1