diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-24 17:18:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-24 17:18:19 +0000 |
commit | 48143d8a8f92fd69d95564516fd1b7cf122511b1 (patch) | |
tree | 60b6a07f9836b7885e6ee2cc2bfead197b554e2b /libc/sysdeps/linux/h8300/vfork.S | |
parent | c3f6501060987d967a28495b009cd0da9da25252 (diff) |
fork/vfork weak in libc, strong in libpthread
Diffstat (limited to 'libc/sysdeps/linux/h8300/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/h8300/vfork.S | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/h8300/vfork.S b/libc/sysdeps/linux/h8300/vfork.S index 4156fae17..ce591bce1 100644 --- a/libc/sysdeps/linux/h8300/vfork.S +++ b/libc/sysdeps/linux/h8300/vfork.S @@ -12,10 +12,11 @@ #endif .text .align 2 - .globl _errno - .globl _vfork - .type vfork,@function -_vfork: + .globl _errno + .globl ___vfork + .hidden ___vfork + .type ___vfork,@function +___vfork: mov.l @sp+, er1 sub.l er0,er0 mov.b #__NR_vfork,r0l @@ -35,3 +36,6 @@ fix_errno: sub.l er0,er0 dec.l #1,er0 jmp @er1 /* don't return, just jmp directly */ + +//weak_alias(___vfork,_vfork) +//libc_hidden_def(_vfork) |