* sysdeps/generic/libc-start.c (__libc_start_main): Do
authorRoland McGrath <roland@gnu.org>
Sun, 1 Dec 2002 22:14:57 +0000 (22:14 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 1 Dec 2002 22:14:57 +0000 (22:14 +0000)
commitdde2652bb6db2a9d524f46aafbac0112d1e7ae53
treeea867a029693f3c700d39799f35968359f224018
parent877e0d8e453f5196701d11adaecc023c3443a26e
* 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.
ChangeLog
sysdeps/generic/dl-tls.c
sysdeps/generic/libc-start.c
sysdeps/generic/libc-tls.c
sysdeps/unix/sysv/linux/dl-osinfo.h
sysdeps/unix/sysv/linux/init-first.c