diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-06-20 15:59:03 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-06-20 15:59:03 +0000 |
commit | 27424b29289a49958e62450203f33a57dc1465e2 (patch) | |
tree | 7045409bd7d383127ecac0f78325a2a035b3f754 /linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S | |
parent | 841d8c3466e6472c9cd16ee5bff701ba0380998a (diff) |
Updated to fedora-glibc-20050620T1530
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S')
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S index 920c45eee2..724d4cc541 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S +++ b/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S @@ -31,11 +31,19 @@ ENTRY (__vfork) #ifdef __NR_vfork # ifdef SHARED mflr 9 +# ifdef HAVE_ASM_PPC_REL16 + bcl 20,31,1f +1: mflr 10 + addis 10,10,__libc_pthread_functions-1b@ha + lwz 10,__libc_pthread_functions-1b@l(10) + mtlr 9 +# else bl _GLOBAL_OFFSET_TABLE_@local-4 mflr 10 mtlr 9 lwz 10,__libc_pthread_functions@got(10) lwz 10,0(10) +# endif # else .weak pthread_create lis 10,pthread_create@ha |