about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-25 23:45:16 +0000
committerRoland McGrath <roland@gnu.org>2003-02-25 23:45:16 +0000
commit1d02f71fe4046c1cd17ff6b6687a89932797cb3b (patch)
treed73f941e908994fa60b5932d98510aaf5cb15c2f /linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S
parentfec417190420a427bec2340853f42051da251b65 (diff)
downloadglibc-1d02f71fe4046c1cd17ff6b6687a89932797cb3b.tar.gz
glibc-1d02f71fe4046c1cd17ff6b6687a89932797cb3b.tar.xz
glibc-1d02f71fe4046c1cd17ff6b6687a89932797cb3b.zip
linuxthreads/ChangeLog
2003-02-25  Roland McGrath  <roland@redhat.com>


	* sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
	* sysdeps/powerpc/powerpc64/dl-tls.h: New file.
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S8
1 files changed, 5 insertions, 3 deletions
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