diff options
Diffstat (limited to 'libc/sysdeps/linux/avr32/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/avr32/vfork.S | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/libc/sysdeps/linux/avr32/vfork.S b/libc/sysdeps/linux/avr32/vfork.S index d25fbecdb..03ca99f65 100644 --- a/libc/sysdeps/linux/avr32/vfork.S +++ b/libc/sysdeps/linux/avr32/vfork.S @@ -20,39 +20,39 @@ #include <features.h> #include <sys/syscall.h> - .global __vfork - .type __vfork,@function - .align 1 + .global __vfork + .type __vfork,@function + .align 1 __vfork: - mov r8, __NR_vfork - scall - cp.w r12, -4096 - retls r12 + mov r8, __NR_vfork + scall + cp.w r12, -4096 + retls r12 - /* vfork failed, so we may use the stack freely */ - pushm r4-r7,lr + /* vfork failed, so we may use the stack freely */ + pushm r4-r7,lr #ifdef __PIC__ - lddpc r6, .L_GOT - rsub r4, r12, 0 + lddpc r6, .L_GOT + rsub r4, r12, 0 .L_RGOT: - rsub r6, pc - mcall r6[__errno_location@got] + rsub r6, pc + mcall r6[__errno_location@got] #else - rsub r4, r12, 0 - mcall .L__errno_location + rsub r4, r12, 0 + mcall .L__errno_location #endif - st.w r12[0], r4 - popm r4-r7,pc,r12=-1 + st.w r12[0], r4 + popm r4-r7,pc,r12=-1 - .align 2 + .align 2 #ifdef __PIC__ .L_GOT: - .long .L_RGOT - _GLOBAL_OFFSET_TABLE_ + .long .L_RGOT - _GLOBAL_OFFSET_TABLE_ #else .L__errno_location: - .long __errno_location + .long __errno_location #endif - .size __vfork, . - __vfork + .size __vfork, . - __vfork weak_alias(__vfork,vfork) libc_hidden_weak(vfork) |