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/sparc/vfork.S | |
parent | 1ab4af32dbead92763566cc0cce9b0ff2d63598d (diff) |
Hide fork and vfork, use the newly introduced *alias
Diffstat (limited to 'libc/sysdeps/linux/sparc/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/sparc/vfork.S | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/sparc/vfork.S b/libc/sysdeps/linux/sparc/vfork.S index 854b66182..9b7092c98 100644 --- a/libc/sysdeps/linux/sparc/vfork.S +++ b/libc/sysdeps/linux/sparc/vfork.S @@ -23,14 +23,16 @@ #ifndef __NR_vfork /* No vfork so use fork instead */ -.weak vfork - vfork = __libc_fork + +hidden_strong_alias(__fork,__vfork) +weak_alias(vfork,__libc_fork) #else .text -.global vfork -.type vfork,%function +.global __vfork +.hidden __vfork +.type __vfork,%function .align 4 __vfork: @@ -51,8 +53,5 @@ __vfork: and %o0, %o1, %o0 .size __vfork,.-__vfork - -.weak vfork - vfork = __vfork - #endif /* __NR_vfork */ +strong_alias(__vfork,vfork) |