[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / arm-thumb-interwork-thunk-range.s
blobdb50c3bc2cd2dfbb79987ed74f3a06ea6c021943
1 // REQUIRES: arm
2 // RUN: llvm-mc -arm-add-build-attributes -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
3 // RUN: ld.lld %t.o -o /dev/null --image-base=0x80000000
5 // Test that when the thunk is at a high address we don't get confused with it
6 // being out of range.
8 .thumb
9 .global _start
10 _start:
11 b.w foo
13 .arm
14 .weak foo
15 foo: