]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/xtensa/pcrel.s
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / xtensa / pcrel.s
diff --git a/gas/testsuite/gas/xtensa/pcrel.s b/gas/testsuite/gas/xtensa/pcrel.s
new file mode 100644 (file)
index 0000000..5e832b4
--- /dev/null
@@ -0,0 +1,9 @@
+       .text
+       .align 4
+       .global foo
+foo:   entry   sp, 16
+       .literal .Lit0, foo@pcrel
+1:     l32r    a2, .Lit0
+.L2:   .word   foo@pcrel
+       .long   1b@pcrel
+       .4byte  .L2@pcrel