diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-15 19:49:58 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-15 19:49:58 +0000 |
commit | f7c7c0e055425e0122996a91704cc12bfaeef308 (patch) | |
tree | 2c9723a6e45208c737d39c88b23b6103ab4292f6 /libc/sysdeps/linux/arm/vfork.S | |
parent | 1ab4af32dbead92763566cc0cce9b0ff2d63598d (diff) |
Hide fork and vfork, use the newly introduced *alias
Diffstat (limited to 'libc/sysdeps/linux/arm/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/arm/vfork.S | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/arm/vfork.S b/libc/sysdeps/linux/arm/vfork.S index 530bba07c..68798995a 100644 --- a/libc/sysdeps/linux/arm/vfork.S +++ b/libc/sysdeps/linux/arm/vfork.S @@ -8,16 +8,20 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ +#include <features.h> + #define _ERRNO_H #include <bits/errno.h> #include <sys/syscall.h> #ifdef __NR_fork .text -.global vfork -.type vfork,%function +.global __vfork +.hidden __vfork +.type __vfork,%function .align 4 -vfork: + +__vfork: #ifdef __NR_vfork swi __NR_vfork @@ -34,11 +38,12 @@ vfork: swi __NR_fork cmn r0, #4096 - /* Syscal worked. Return to child/parent */ + /* Syscall worked. Return to child/parent */ movcc pc, lr __error: b __syscall_error -.size vfork,.-vfork +.size __vfork,.-__vfork +strong_alias(__vfork,vfork) #endif |