diff options
author | Roland McGrath <roland@gnu.org> | 2003-02-25 23:26:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-02-25 23:26:51 +0000 |
commit | 3c2a3b41063d5f18d45cbc3039c8faf6ef813175 (patch) | |
tree | e9508c47e6751c37feb4996552fbaabb49d261b3 /sysdeps | |
parent | 56ce76eaad4e934abeacd6683b6e1b25a6ae9208 (diff) | |
download | glibc-3c2a3b41063d5f18d45cbc3039c8faf6ef813175.tar.gz glibc-3c2a3b41063d5f18d45cbc3039c8faf6ef813175.tar.xz glibc-3c2a3b41063d5f18d45cbc3039c8faf6ef813175.zip |
2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/powerpc/elf/libc-start.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/powerpc/elf/libc-start.c b/sysdeps/powerpc/elf/libc-start.c index 6f61770bf2..aac34430a8 100644 --- a/sysdeps/powerpc/elf/libc-start.c +++ b/sysdeps/powerpc/elf/libc-start.c @@ -129,6 +129,14 @@ BP_SYM (__libc_start_main) (int argc, char *__unbounded *__unbounded ubp_av, __libc_stack_end = stack_on_entry + 8; #ifndef SHARED +# ifdef DL_SYSDEP_OSCHECK + if (!__libc_multiple_libcs) + { + /* This needs to run to initiliaze _dl_osversion before TLS + setup might check it. */ + DL_SYSDEP_OSCHECK (__libc_fatal); + } +# endif /* Initialize the thread library at least a bit since the libgcc functions are using thread functions if these are available and we need to setup errno. If there is no thread library and we |