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/frv/vfork.S | |
parent | 1ab4af32dbead92763566cc0cce9b0ff2d63598d (diff) |
Hide fork and vfork, use the newly introduced *alias
Diffstat (limited to 'libc/sysdeps/linux/frv/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/frv/vfork.S | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/frv/vfork.S b/libc/sysdeps/linux/frv/vfork.S index 230f2f820..b5ecc09af 100644 --- a/libc/sysdeps/linux/frv/vfork.S +++ b/libc/sysdeps/linux/frv/vfork.S @@ -17,15 +17,18 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include <features.h> + #include <asm/unistd.h> #define _ERRNO_H 1 #include <bits/errno.h> .text - .globl vfork - .type vfork,@function + .globl __vfork + .hidden __vfork + .type __vfork,@function /* int vfork(void) */ -vfork: +__vfork: setlos.p #__NR_vfork, gr7 setlos #-4096, gr4 tra gr0, gr0 @@ -38,5 +41,6 @@ vfork: ldd @(gr14, gr15), gr14 jmpl @(gr14, gr0) - .size vfork,.-vfork + .size __vfork,.-__vfork +strong_alias(__vfork,vfork) |