aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-17 20:46:52 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-17 20:46:52 +0000
commitb2740a3b0a55fa4eead5c952dabf435794d0dd7f (patch)
tree1db2f9b124652c3cf162f1a1d9c648ea224431f4 /sysdeps/powerpc/elf
parent81b5057288217437017b42780d7814eb7b0744d5 (diff)
downloadglibc-b2740a3b0a55fa4eead5c952dabf435794d0dd7f.tar
glibc-b2740a3b0a55fa4eead5c952dabf435794d0dd7f.tar.gz
glibc-b2740a3b0a55fa4eead5c952dabf435794d0dd7f.tar.bz2
glibc-b2740a3b0a55fa4eead5c952dabf435794d0dd7f.zip
Update.
2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
Diffstat (limited to 'sysdeps/powerpc/elf')
-rw-r--r--sysdeps/powerpc/elf/libc-start.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/elf/libc-start.c b/sysdeps/powerpc/elf/libc-start.c
index 4878979f43..6f61770bf2 100644
--- a/sysdeps/powerpc/elf/libc-start.c
+++ b/sysdeps/powerpc/elf/libc-start.c
@@ -33,7 +33,7 @@ extern void *__libc_stack_end;
#ifndef SHARED
# include <tls.h>
extern void __pthread_initialize_minimal (void)
-# if !(USE_TLS - 0)
+# if !(USE_TLS - 0) && !defined NONTLS_INIT_TP
__attribute__ ((weak))
# endif
;
@@ -134,7 +134,7 @@ BP_SYM (__libc_start_main) (int argc, char *__unbounded *__unbounded ubp_av,
we need to setup errno. If there is no thread library and we
handle TLS the function is defined in the libc to initialized the
TLS handling. */
-# if !(USE_TLS - 0)
+# if !(USE_TLS - 0) && !defined NONTLS_INIT_TP
if (__pthread_initialize_minimal)
# endif
__pthread_initialize_minimal ();