X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Farm%2Fblx-local.s;fp=gas%2Ftestsuite%2Fgas%2Farm%2Fblx-local.s;h=ed587c9e4c5864d29a6dd259e374a16cbce857a1;hp=c85a562d90f80c1f16dfae4a8e41d61bcea6851d;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/arm/blx-local.s b/gas/testsuite/gas/arm/blx-local.s index c85a562..ed587c9 100644 --- a/gas/testsuite/gas/arm/blx-local.s +++ b/gas/testsuite/gas/arm/blx-local.s @@ -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