]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/arm/bl-local-v4t.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / arm / bl-local-v4t.s
diff --git a/gas/testsuite/gas/arm/bl-local-v4t.s b/gas/testsuite/gas/arm/bl-local-v4t.s
new file mode 100644 (file)
index 0000000..4935344
--- /dev/null
@@ -0,0 +1,25 @@
+        .text
+       .arch armv4t
+       .syntax unified
+       .thumb
+one:
+       bl      foo2  @ bl foo2 with reloc.
+       beq     foo   @ beq foo with reloc.
+       b       foo   @ branch foo with reloc.
+       bl      fooundefarm
+       bl      fooundefthumb
+       .thumb
+        .type foo, %function
+        .thumb_func
+foo:
+        nop
+       nop
+fooundefthumb:
+       nop
+        .type foo2, %function
+       .arm
+       .align  2
+foo2:
+        nop
+fooundefarm:
+       nop