diff options
Diffstat (limited to 'libc/tools/gensyscalls.py')
-rwxr-xr-x | libc/tools/gensyscalls.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index 21d2f1d..0226acd 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -111,11 +111,10 @@ arm_call_long = arm_header + """\ """ + arm_footer arm_eabi_call_default = arm_header + """\ - .save {r4, r7} - stmfd sp!, {r4, r7} + mov ip, r7 ldr r7, =%(idname)s swi #0 - ldmfd sp!, {r4, r7} + mov r7, ip movs r0, r0 bxpl lr b __set_syscall_errno |