mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
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.
This commit is contained in:
parent
56ce76eaad
commit
3c2a3b4106
@ -129,6 +129,14 @@ BP_SYM (__libc_start_main) (int argc, char *__unbounded *__unbounded ubp_av,
|
|||||||
__libc_stack_end = stack_on_entry + 8;
|
__libc_stack_end = stack_on_entry + 8;
|
||||||
|
|
||||||
#ifndef SHARED
|
#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
|
/* Initialize the thread library at least a bit since the libgcc
|
||||||
functions are using thread functions if these are available and
|
functions are using thread functions if these are available and
|
||||||
we need to setup errno. If there is no thread library and we
|
we need to setup errno. If there is no thread library and we
|
||||||
|
Loading…
Reference in New Issue
Block a user