| 1 | # objdump: -fdrw --prefix-addresses --show-raw-insn |
| 2 | # not-target: *-*-*aout* *-*-pe |
| 3 | |
| 4 | .text |
| 5 | .arch armv5t |
| 6 | .arm |
| 7 | one: |
| 8 | blx foo |
| 9 | blx foo2 |
| 10 | bl foo |
| 11 | bl foo2 |
| 12 | blx fooundefarm |
| 13 | bl fooundefarm |
| 14 | blx fooundefthumb |
| 15 | bl fooundefthumb |
| 16 | |
| 17 | .thumb |
| 18 | .type foo, %function |
| 19 | .thumb_func |
| 20 | foo: |
| 21 | nop |
| 22 | nop |
| 23 | fooundefthumb: |
| 24 | nop |
| 25 | |
| 26 | .align 2 |
| 27 | .type foo2, %function |
| 28 | .arm |
| 29 | foo2: |
| 30 | bleq fooundefthumb @no relocs |
| 31 | beq fooundefthumb @no relocs |
| 32 | b fooundefthumb @no relocs |
| 33 | bleq foo @ R_ARM_PCREL_JUMP |
| 34 | beq foo @ R_ARM_PCREL_JUMP |
| 35 | b foo @ R_ARM_PCREL_JUMP |
| 36 | nop |
| 37 | fooundefarm: |
| 38 | nop |