From 1d02f71fe4046c1cd17ff6b6687a89932797cb3b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 25 Feb 2003 23:45:16 +0000 Subject: linuxthreads/ChangeLog 2003-02-25 Roland McGrath * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: New file. --- linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S') diff --git a/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S index 0229a9a75c..b408e31b7b 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S +++ b/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S @@ -25,17 +25,19 @@ The calling process is suspended until the new process exits or is replaced by a call to `execve'. Return -1 for errors, 0 to the new process, and the process ID of the new process to the old process. */ - + +#ifdef SHARED .section ".toc","aw" .LC0: .tc __libc_pthread_functions[TC],__libc_pthread_functions .section ".text" .align 2 +#endif ENTRY (__vfork) #ifdef __NR_vfork - + # ifdef SHARED ld 10,.LC0@toc(2) ld 10,0(10) @@ -53,7 +55,7 @@ ENTRY (__vfork) # endif DO_CALL (SYS_ify (vfork)); - + # ifdef __ASSUME_VFORK_SYSCALL PSEUDO_RET # else -- cgit 1.4.1