summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/h8300/vfork.S
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-28 00:54:02 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-28 00:54:02 +0000
commit5eb1fae2a97ffc88d136502ace050662e57ef34a (patch)
treedf1087921ff9a88aa8a47ddfd55dc15a793fec56 /libc/sysdeps/linux/h8300/vfork.S
parentdc0e95c67d350ca9e950abb5f75a63833380af9f (diff)
downloaduClibc-alpine-5eb1fae2a97ffc88d136502ace050662e57ef34a.tar.bz2
uClibc-alpine-5eb1fae2a97ffc88d136502ace050662e57ef34a.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/h8300/vfork.S')
-rw-r--r--libc/sysdeps/linux/h8300/vfork.S13
1 files changed, 7 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/h8300/vfork.S b/libc/sysdeps/linux/h8300/vfork.S
index e101bf5ed..35c04e559 100644
--- a/libc/sysdeps/linux/h8300/vfork.S
+++ b/libc/sysdeps/linux/h8300/vfork.S
@@ -12,12 +12,11 @@
#endif
.text
.align 2
- .globl _errno
- .globl _vfork
-#if defined __HAVE_ELF__
- .type vfork,@function
-#endif
-_vfork:
+ .globl _errno
+ .globl ___vfork
+ .hidden ___vfork
+ .type ___vfork,@function
+___vfork:
mov.l @sp+, er1
sub.l er0,er0
mov.b #__NR_vfork,r0l
@@ -38,3 +37,5 @@ fix_errno:
dec.l #1,er0
jmp @er1 /* don't return, just jmp directly */
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)