]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/arm/blx-local.s
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / arm / blx-local.s
index c85a562d90f80c1f16dfae4a8e41d61bcea6851d..ed587c9e4c5864d29a6dd259e374a16cbce857a1 100644 (file)
@@ -1,16 +1,38 @@
-        .text
-       .arch armv5t
-        .arm
-one:
-        blx     foo
-        blx     foo2
+# objdump: -fdrw --prefix-addresses --show-raw-insn
+# not-target: *-*-*aout* *-*-pe
 
-        .thumb
-        .type foo, %function
-        .thumb_func
+  .text
+  .arch armv5t
+  .arm
+one:
+        blx    foo
+       blx     foo2
+       bl      foo
+       bl      foo2
+       blx     fooundefarm
+       bl      fooundefarm
+       blx     fooundefthumb
+       bl      fooundefthumb
+       
+       .thumb
+       .type foo, %function
+       .thumb_func
 foo:
-        nop
+       nop
+       nop
+fooundefthumb:
+       nop
+
+       .align 2
         .type foo2, %function
-        .thumb_func
+       .arm
 foo2:
-        nop
+       bleq  fooundefthumb @no relocs
+       beq   fooundefthumb @no relocs
+       b     fooundefthumb @no relocs
+       bleq  foo  @ R_ARM_PCREL_JUMP
+       beq   foo  @ R_ARM_PCREL_JUMP
+       b     foo  @ R_ARM_PCREL_JUMP
+       nop
+fooundefarm:
+       nop