Typo fix in most recent entry.
[binutils.git] / ld / testsuite / ld-arm / preempt-app.s
blobf1eccc2b0bb575f65c450d5aa9751c96e7386b37
1 @ Preempt an ARM shared library function with a Thumb function
2 @ in the application.
3 .text
4 .p2align 4
5 .globl _start
6 _start:
7 mov ip, sp
8 stmdb sp!, {r11, ip, lr, pc}
9 bl lib_func1
10 ldmia sp, {r11, sp, lr}
11 bx lr
13 .p2align 4
14 .globl app_func2
15 .type app_func2,%function
16 app_func2:
17 bx lr
19 .p2align 4
20 .globl lib_func1
21 .type lib_func1,%function
22 .thumb_func
23 lib_func1:
24 bx lr
26 .data
27 .long data_obj