OSDN Git Service

Merge branch 'binutils' into tmp
[pf3gnuchains/pf3gnuchains4x.git] / gas / testsuite / gas / tic6x / data-reloc.s
diff --git a/gas/testsuite/gas/tic6x/data-reloc.s b/gas/testsuite/gas/tic6x/data-reloc.s
new file mode 100644 (file)
index 0000000..7120dbc
--- /dev/null
@@ -0,0 +1,12 @@
+.data
+.globl a
+.globl ext1
+.globl ext2
+.globl ext3
+a:
+       .word ext1
+       .word ext1 + 4
+       .short ext2
+       .short ext2 - 2
+       .byte ext3
+       .byte ext3 + 1