zig/deps/lld/test/ELF/arm-thumb-interwork-thunk-range.s
Andrew Kelley 4794281d64 embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the
git monorepo.
2017-08-27 17:46:59 -04:00

16 lines
304 B
ArmAsm

// REQUIRES: arm
// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
// RUN: ld.lld %t.o -o %t -image-base=0x80000000
// Test that when the thunk is at a high address we don't get confused with it
// being out of range.
.thumb
.global _start
_start:
b.w foo
.arm
.weak foo
foo: