You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
386 B

@ RUN: llvm-mc -triple armv7-apple-ios -filetype=obj -o %t %s
@ RUN: llvm-objdump -d -r %t | FileCheck %s
@ CHECK: <_func>:
@ CHECK: bl #0 <_func+0x8>
@ CHECK: ARM_RELOC_BR24 __text
@ CHECK: bl #-12 <_func>
@ CHECK: ARM_RELOC_BR24 _elsewhere
.global _func
_func:
bl Llocal_symbol
bl _elsewhere
Llocal_symbol:
bx lr
.global _elsewhere
_elsewhere:
bx lr