From e5ffa64a7003b5886c85c6434ced62ebc468b40d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 Feb 2003 06:31:57 +0000 Subject: Update. 2003-02-10 Ulrich Drepper * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and _BSD_SOURCE to compiler. * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. Patches by Alan Modra. --- linuxthreads/sysdeps/unix/sysv/linux/sh/vfork.S | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'linuxthreads/sysdeps/unix/sysv/linux/sh') 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: -- cgit v1.2.3-70-g09d2