glibc/sysdeps/unix/sysv/linux
Roland McGrath ab1d521db3 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
[(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
	GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
	we can skip the uname call if it's there.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
	DL_SYSDEP_OSCHECK here.
	* elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.

	* sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
	Add _dl_sysinfo_map.
	* elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
	rtld_is_main case.  Call it unconditionally later.
	Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
	Initialize GLRO(dl_sysinfo_map).
	* elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
	* sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
	(_dl_important_hwcaps)
	[(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
	GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
	and bit values.
	* elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
	(hwcap_extra): New static variable.
	(is_hwcap_platform): Check hwcap_extra for a matching name.
	Remove tls special case.
	(path_hwcap): Likewise.
	(parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
	and their names, stored in hwcap_extra.
	(main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".

	* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
	_dl_hwcap and _dl_hwcap_mask.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
	AT_HWCAP to unsigned long int.
	* elf/dl-support.c (_dl_aux_init): Likewise.
	(_dl_hwcap): Update defn.

	* elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
	* elf/ldconfig.c (search_dir): Likewise.
2005-04-07 20:57:41 +00:00
..
alpha * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
arm 2.5-18.1 2007-07-12 18:26:36 +00:00
bits * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
hppa 2.5-18.1 2007-07-12 18:26:36 +00:00
i386 (check_consistency): Define. 2005-02-08 06:48:30 +00:00
ia64 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated 2005-02-15 00:13:06 +00:00
m68k 2.5-18.1 2007-07-12 18:26:36 +00:00
mips Update. 2005-03-28 09:26:46 +00:00
net 2.5-18.1 2007-07-12 18:26:36 +00:00
netash Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netatalk Update. 2004-08-06 18:32:16 +00:00
netax25 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
neteconet Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netinet 2.5-18.1 2007-07-12 18:26:36 +00:00
netipx Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netpacket Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netrom Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netrose Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nfs
powerpc * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
s390 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated 2005-02-15 00:13:06 +00:00
scsi Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sh * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and 2005-03-13 09:56:29 +00:00
sparc * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
sys [BZ #720] 2005-02-15 00:16:39 +00:00
wordsize-64 2.5-18.1 2007-07-12 18:26:36 +00:00
x86_64 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally 2005-03-31 10:02:53 +00:00
_exit.c Update. 2003-09-03 03:22:23 +00:00
a.out.h Update. 2003-07-25 09:06:04 +00:00
accept.S Update. 2002-12-31 20:46:11 +00:00
adjtime.c * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype style definition. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If __ASSUME_TIMEVAL64, define __adjtime directly rather than via strong_alias. 2004-10-15 07:06:56 +00:00
aio_sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
bind.S Update. 2002-05-15 00:22:23 +00:00
check_pf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_getres.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_gettime.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_nanosleep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock_settime.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
cmsg_nxthdr.c Update. 2001-07-31 20:32:01 +00:00
configure 2.5-18.1 2007-07-12 18:26:36 +00:00
configure.in 2.5-18.1 2007-07-12 18:26:36 +00:00
connect.S Update. 2002-12-15 10:26:23 +00:00
device-nrs.h 2.5-18.1 2007-07-12 18:26:36 +00:00
Dist 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-brk.c Update. 2002-06-09 20:15:14 +00:00
dl-execstack.c * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using 2005-02-08 08:25:22 +00:00
dl-librecon.h Update. 2004-03-05 10:29:47 +00:00
dl-origin.c Update. 2004-07-06 04:26:42 +00:00
dl-osinfo.h * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion) 2005-04-07 20:57:41 +00:00
dl-sbrk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-sysdep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
errqueue.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
execve.c Update. 2003-09-03 03:22:23 +00:00
exit-thread.S Update. 2002-09-15 02:37:32 +00:00
fatal-prepare.h Update. 2003-04-19 16:57:17 +00:00
fcntl.c Update. 2004-07-16 18:11:48 +00:00
fd_to_filename.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fexecve.c Update. 2002-12-06 23:38:01 +00:00
fpathconf.c Update. 2003-08-08 07:43:03 +00:00
fstatfs64.c Update. 2003-06-24 18:59:03 +00:00
fstatvfs64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fstatvfs.c Update. 2003-09-17 00:49:19 +00:00
ftime.c
ftruncate64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
futimes.c (__futimes): Use __set_errno. 2005-01-07 04:56:33 +00:00
fxstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fxstat.c Update. 2003-06-28 08:11:28 +00:00
gai_sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getclktck.c Update. 2004-03-05 10:29:47 +00:00
getcwd.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getdents64.c Update. 2000-08-17 19:36:13 +00:00
getdents.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getdirentries64.c Update. 2000-08-12 05:14:52 +00:00
getdirentries.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getdtsz.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethostid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getipv4sourcefilter.c Update. 2004-08-06 09:25:59 +00:00
getloadavg.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getpagesize.c Update. 2004-03-05 10:29:47 +00:00
getpeername.S
getpriority.c Update. 2003-09-03 03:22:23 +00:00
getpt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsockname.S Update. 2002-05-15 00:22:23 +00:00
getsockopt.S
getsourcefilter.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getsysstats.c 2.5-18.1 2007-07-12 18:26:36 +00:00
grantpt.c Update. 2002-07-20 01:14:41 +00:00
if_index.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ifaddrs.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ifreq.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ifreq.h 2.5-18.1 2007-07-12 18:26:36 +00:00
Implies
init-first.c (__libc_init_first): Don't make __libc_init_first hidden. 2005-01-07 19:21:52 +00:00
internal_statvfs64.c Update. 2004-04-03 07:50:20 +00:00
internal_statvfs.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ipc_priv.h Update. 2003-09-03 03:22:23 +00:00
kernel_sigaction.h
kernel_stat.h (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New. 2003-01-01 19:56:23 +00:00
kernel_termios.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kernel-features.h Update. 2005-01-26 20:02:05 +00:00
ldd-rewrite.sed
lddlibc4.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ldsodefs.h 2.5-18.1 2007-07-12 18:26:36 +00:00
libc_fatal.c * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use 2005-02-22 23:11:01 +00:00
linux_fsinfo.h 2.5-18.1 2007-07-12 18:26:36 +00:00
listen.S Update. 2002-05-15 00:22:23 +00:00
llseek.c Update. 2003-09-03 03:22:23 +00:00
lseek64.c
lxstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
lxstat.c Update. 2003-06-28 08:11:28 +00:00
makedev.c Update. 2003-09-24 21:13:55 +00:00
Makefile 2.5-18.1 2007-07-12 18:26:36 +00:00
mmap64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_close.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_getattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_notify.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_open.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_receive.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_send.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_unlink.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgrcv.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgsnd.c Update. 2002-12-15 10:26:23 +00:00
netlinkaccess.h 2.5-18.1 2007-07-12 18:26:36 +00:00
nice.c Update. 2002-03-02 00:48:30 +00:00
not-cancel.h 2.5-18.1 2007-07-12 18:26:36 +00:00
nscd_setup_thread.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ntp_gettime.c Update. 2002-07-25 08:19:59 +00:00
open64.c Update. 2002-12-15 10:26:23 +00:00
opendir.c 2.5-18.1 2007-07-12 18:26:36 +00:00
opensock.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
pathconf.c Update. 2003-09-04 14:42:25 +00:00
pathconf.h Update. 2003-06-11 23:22:36 +00:00
paths.h 2.5-18.1 2007-07-12 18:26:36 +00:00
poll.c 2.5-18.1 2007-07-12 18:26:36 +00:00
posix_fadvise64.c Update. 2004-03-10 19:28:58 +00:00
posix_fadvise.c Update. 2003-08-17 00:37:19 +00:00
pread64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pread.c 2.5-18.1 2007-07-12 18:26:36 +00:00
prof-freq.c 2.5-18.1 2007-07-12 18:26:36 +00:00
profil.c
ptrace.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ptsname.c Update. 2003-01-16 18:14:10 +00:00
pwrite64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pwrite.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readahead.c Update. 2004-01-20 23:25:27 +00:00
readdir64_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readdir64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readonly-area.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readv.c Update. 2003-09-03 03:22:23 +00:00
reboot.c Update. 2003-09-03 03:22:23 +00:00
recv.S Update. 2002-12-15 10:26:23 +00:00
recvfrom.S Update. 2002-12-15 10:26:23 +00:00
recvmsg.S Update. 2002-12-15 10:26:23 +00:00
sa_len.c Update. 2002-04-14 20:15:40 +00:00
sched_getaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sched_setaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
segfault.c 2.5-18.1 2007-07-12 18:26:36 +00:00
semctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
semget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
semop.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
semtimedop.c Update. 2003-05-01 21:41:01 +00:00
send.S Update. 2002-12-15 10:26:23 +00:00
sendmsg.S Update. 2002-12-15 10:26:23 +00:00
sendto.S Update. 2002-12-15 10:26:23 +00:00
setegid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
seteuid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
setgid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
sethostid.c
setipv4sourcefilter.c Update. 2004-08-07 18:22:26 +00:00
setregid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setresgid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setresuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setreuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setsockopt.S Update. 2002-05-15 00:22:23 +00:00
setsourcefilter.c 2.5-18.1 2007-07-12 18:26:36 +00:00
setuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
shm_open.c 2.5-18.1 2007-07-12 18:26:36 +00:00
shm_unlink.c Update. 2000-04-12 04:59:33 +00:00
shmat.c * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call 2002-09-03 02:45:12 +00:00
shmctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
shmdt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shmget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shutdown.S
sigaction.c 2.5-18.1 2007-07-12 18:26:36 +00:00
siglist.h Update. 2003-04-01 06:20:33 +00:00
signal.c
sigpending.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigprocmask.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigreturn.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigset-cvt-mask.h 2002-09-04 Bruno Haible <bruno@clisp.org> 2002-09-05 18:52:18 +00:00
sigstack.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigsuspend.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigtimedwait.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigwait.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigwaitinfo.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sizes.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sleep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
socketcall.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
socketpair.S
speed.c 2003-09-08 Roland McGrath <roland@frob.com> 2003-09-09 06:44:48 +00:00
statfs64.c Update. 2004-04-03 07:50:20 +00:00
statvfs64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
statvfs.c Update. 2003-09-17 00:49:19 +00:00
syscalls.list 2.5-18.1 2007-07-12 18:26:36 +00:00
sysconf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sysctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
syslog.c Update. 2005-01-24 22:57:26 +00:00
system.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcdrain.c Update. 2002-12-15 10:26:23 +00:00
tcflow.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcflush.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcgetattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcgetpgrp.c
tcsetattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcsetpgrp.c
termio.h
testrtsig.h 2.5-18.1 2007-07-12 18:26:36 +00:00
truncate64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ttyname_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ttyname.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ualarm.c
ulimit.c Update. 2001-09-25 03:04:41 +00:00
umount2.S
umount.S
unlockpt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
updwtmp.c 2.5-18.1 2007-07-12 18:26:36 +00:00
usleep.c Update. 2003-06-15 21:22:26 +00:00
ustat.c Update. 2003-09-27 17:02:41 +00:00
utimes.c 2.5-18.1 2007-07-12 18:26:36 +00:00
utmp_file.c 2.5-18.1 2007-07-12 18:26:36 +00:00
Versions 2.5-18.1 2007-07-12 18:26:36 +00:00
vfork.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wait3.c
wait.c Update. 2003-06-16 19:39:00 +00:00
waitid.c Update. 2004-10-30 18:04:21 +00:00
waitpid.c Update. 2003-05-13 23:57:02 +00:00
writev.c Update. 2003-09-03 03:22:23 +00:00
xmknod.c Update. 2003-09-27 17:02:41 +00:00
xstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
xstat.c Update. 2003-06-28 08:11:28 +00:00
xstatconv.c Update. 2003-06-16 17:18:06 +00:00
xstatconv.h 2.5-18.1 2007-07-12 18:26:36 +00:00