binutils-gdb/ld/testsuite/ld-arm/arm-app-abs32.s
Daniel Jacobowitz 2df149a4c0 * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
ld-arm/arm-app-abs32.d: New files.
	* ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.
2004-01-23 16:51:39 +00:00

17 lines
182 B
ArmAsm

.text
.globl _start
_start:
mov ip, sp
stmdb sp!, {r11, ip, lr, pc}
ldr a1, .Lval
ldmia sp, {r11, sp, lr}
bx lr
.Lval:
.long lib_func1
.globl app_func2
app_func2:
bx lr