aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S
index b118ca34d7..07589c162b 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S
+++ b/linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S
@@ -30,7 +30,7 @@ ENTRY (__vfork)
mov.l .Lpthread_func, r0
mov.l @(r0,r12), r0
#else
- mov.l .Lpthread_fork, r0
+ mov.l .Lpthread_create, r0
#endif
tst r0, r0
bf .Lhidden_fork
@@ -53,8 +53,9 @@ ENTRY (__vfork)
.Lpthread_func:
.long __libc_pthread_functions@GOTOFF
#else
-.Lpthread_fork:
- .long __pthread_fork
+.Lpthread_create:
+ .weak pthread_create
+ .long pthread_create
#endif
.Lhidden_fork: