projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix inconsistent visibility for internal syscall symbols
[oweals/musl.git]
/
src
/
internal
/
arm
/
syscall.s
1
.global __syscall
2
.hidden __syscall
3
.type __syscall,%function
4
__syscall:
5
mov ip,sp
6
stmfd sp!,{r4,r5,r6,r7}
7
mov r7,r0
8
mov r0,r1
9
mov r1,r2
10
mov r2,r3
11
ldmfd ip,{r3,r4,r5,r6}
12
svc 0
13
ldmfd sp!,{r4,r5,r6,r7}
14
tst lr,#1
15
moveq pc,lr
16
bx lr