diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-01 22:14:57 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-01 22:14:57 +0000 |
commit | dde2652bb6db2a9d524f46aafbac0112d1e7ae53 (patch) | |
tree | ea867a029693f3c700d39799f35968359f224018 /sysdeps/unix | |
parent | 877e0d8e453f5196701d11adaecc023c3443a26e (diff) | |
download | glibc-dde2652bb6db2a9d524f46aafbac0112d1e7ae53.tar.gz glibc-dde2652bb6db2a9d524f46aafbac0112d1e7ae53.tar.xz glibc-dde2652bb6db2a9d524f46aafbac0112d1e7ae53.zip |
* sysdeps/generic/libc-start.c (__libc_start_main): Do
DL_SYSDEP_OSCHECK here. * sysdeps/unix/sysv/linux/init-first.c (init): Not here. * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset instead of l_type to decide whether to use TLS_DTV_UNALLOCATED. * include/link.h: Comment typo fix. 2002-12-01 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L. (_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE, _POSIX_MEMORY_PROTECTION): Likewise. (_POSIX_POLL, _POSIX_SELECT): Removed.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-osinfo.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/init-first.c | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h index 1510b5b8c7..b60a202ff0 100644 --- a/sysdeps/unix/sysv/linux/dl-osinfo.h +++ b/sysdeps/unix/sysv/linux/dl-osinfo.h @@ -18,6 +18,7 @@ 02111-1307 USA. */ #include <string.h> +#include <fcntl.h> #include <sys/sysctl.h> #include <sys/utsname.h> #include "kernel-features.h" diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c index 65e275cfe1..870331f4e4 100644 --- a/sysdeps/unix/sysv/linux/init-first.c +++ b/sysdeps/unix/sysv/linux/init-first.c @@ -28,9 +28,6 @@ #include <libc-internal.h> #include <ldsodefs.h> -#ifndef SHARED -# include "dl-osinfo.h" -#endif /* The function is called from assembly stubs the compiler can't see. */ static void init (int, char **, char **) __attribute__ ((unused)); @@ -57,10 +54,6 @@ init (int argc, char **argv, char **envp) /* Make sure we don't initialize twice. */ if (!__libc_multiple_libcs) { -#ifndef SHARED - DL_SYSDEP_OSCHECK (__libc_fatal); -#endif - /* Set the FPU control word to the proper default value if the kernel would use a different value. (In a static program we don't have this information.) */ |