remove non-working pre-armv4t support from arm asm
[musl.git] / src / internal / arm / syscall.s
blob28cb17ba8641407d042db372a354e3376af62753
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 bx lr