repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Typo fix in most recent entry.
[binutils.git]
/
ld
/
testsuite
/
ld-arm
/
preempt-app.s
blob
f1eccc2b0bb575f65c450d5aa9751c96e7386b37
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
12
13
.p2align 4
14
.globl app_func2
15
.type app_func2,%function
16
app_func2
:
17
bx
lr
18
19
.p2align 4
20
.globl lib_func1
21
.type lib_func1,%function
22
.thumb_func
23
lib_func1
:
24
bx
lr
25
26
.data
27
.long data_obj