glibc/sysdeps/unix/sysv/linux/i386
Ulrich Drepper a986484f67 Update.
2001-03-12  Jakub Jelinek  <jakub@redhat.com>

	* csu/Makefile (abi-tag.h): Define OS and version separately, allow
	version to be overriden from config.h.
	* csu/abi-note.S: Use OS and version separately, include config.h.
	* elf/dl-load.c (_dl_osversion): New.
	(_dl_map_object_from_fd): Kill some warnings.
	(open_verify): Check .note.ABI-tag of the library if present.
	* elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
	* elf/cache.c (struct cache_entry): Add osversion.
	(print_entry): Print osversion.
	(print_cache): Pass osversion to it.
	(compare): Sort according to osversion.
	(save_cache): Set osversion.
	(add_to_cache): Add osversion argument.
	* sysdeps/generic/ldconfig.h (add_to_cache, process_file,
	process_elf_file): Add osversion argument.
	* elf/readlib.c (process_file): Likewise.
	* sysdeps/generic/readelflib.c (process_elf_file): Likewise.
	* sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
	process_elf32_file, process_elf64_file): Likewise.
	* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
	process_elf32_file, process_elf64_file): Likewise.
	* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
	process_elf32_file, process_elf64_file): Likewise.
	* elf/ldconfig.c (manual_link): Pass it.
	(search_dir): Issue diagnostic if two libs with the same soname in
	the same directory have different .note.ABI-tag.  Record osversion in
	dlib_entry and use it from there.
	(struct lib_entry): Remove.
	(struct dlib_entry): Add osversion.
	* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
	osversion.
	* sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
	field with osversion.
	* sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
	* sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
	* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
	version in _dl_osversion.
	* sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
	* Makerules (build-shlib-helper, build-module-helper): New.
	(build-shlib, build-module-helper): Make sure .note.ABI-tag comes
	early.
	* config.h.in (__ABI_TAG_VERSION): Add.
	* elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
	* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
	Handle LD_ASSUME_KERNEL.
	* sysdeps/unix/sysv/linux/dl-librecon.h: New.
2001-03-16 07:40:05 +00:00
..
bits Update. 2001-01-28 05:38:29 +00:00
i686 * sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns. 2000-06-27 01:52:26 +00:00
sys Update. 2000-08-27 16:54:09 +00:00
alphasort64.c Update. 2000-08-12 05:14:52 +00:00
brk.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
chown.c Update. 2000-12-28 14:22:22 +00:00
clone.S * sysdeps/i386/fpu/s_frexp.S: Check bounds. 2000-08-17 07:36:19 +00:00
Dist Update. 2001-01-17 01:14:51 +00:00
dl-librecon.h Update. 2001-03-16 07:40:05 +00:00
dl-procinfo.c Update. 2001-01-17 01:14:51 +00:00
dl-procinfo.h Update. 2001-02-28 06:36:10 +00:00
fchown.c Update. 2000-02-11 19:44:58 +00:00
fcntl.c Update. 2000-10-25 17:19:53 +00:00
fxstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
get_clockfreq.c Update. 2000-12-31 19:13:04 +00:00
getdents64.c Update. 2000-08-14 17:41:59 +00:00
getegid.c Update. 2000-02-11 19:44:58 +00:00
geteuid.c Update. 2000-02-11 19:44:58 +00:00
getgid.c Update. 2000-02-11 19:44:58 +00:00
getgroups.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
getmsg.c Update. 1999-12-21 08:10:06 +00:00
getpmsg.c Update. 1999-12-21 08:10:06 +00:00
getresgid.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
getresuid.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
getrlimit64.c Update. 2000-03-31 05:50:02 +00:00
getrlimit.c Update. 2000-12-28 14:22:22 +00:00
getuid.c Update. 2000-02-11 19:44:58 +00:00
glob64.c Update. 2001-02-13 22:17:17 +00:00
lchown.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
ldconfig.h Update. 2001-03-10 16:40:59 +00:00
lockf64.c In the case of F_TEST, set l_type to F_RDLCK explicitly. 2000-10-30 06:47:34 +00:00
lxstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
Makefile Update. 2001-01-17 01:14:51 +00:00
mmap64.S Update. 2000-08-25 18:23:57 +00:00
mmap.S Update. 2000-08-25 18:23:57 +00:00
msgctl.c * sysdeps/gnu/bits/msq.h: Qualify kernel's 2000-07-27 06:25:28 +00:00
olddirent.h Update. 2000-08-12 05:14:52 +00:00
oldgetrlimit64.c Update. 2000-12-28 14:22:22 +00:00
profil-counter.h
putmsg.c Update. 1999-12-21 08:10:06 +00:00
putpmsg.c Update. 1999-12-21 08:10:06 +00:00
readdir64_r.c Update. 2000-08-12 05:14:52 +00:00
readdir64.c Update. 2000-08-12 05:14:52 +00:00
readelflib.c Update. 2001-03-16 07:40:05 +00:00
register-dump.h
scandir64.c Update. 2000-08-12 05:14:52 +00:00
semctl.c * sysdeps/gnu/bits/msq.h: Qualify kernel's 2000-07-27 06:25:28 +00:00
setegid.c Update. 2000-01-17 05:24:52 +00:00
seteuid.c Update. 2000-01-17 05:24:52 +00:00
setfsgid.c Update. 2000-02-11 19:44:58 +00:00
setfsuid.c Update. 2000-02-11 19:44:58 +00:00
setgid.c Update. 2000-02-11 19:44:58 +00:00
setgroups.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
setregid.c Update. 2000-02-11 19:44:58 +00:00
setresgid.c Update. 2000-11-28 07:40:13 +00:00
setresuid.c Update. 2000-11-28 07:40:13 +00:00
setreuid.c Update. 2000-02-11 19:44:58 +00:00
setrlimit.c Update. 2000-12-28 14:22:22 +00:00
setuid.c Update. 2000-02-11 19:44:58 +00:00
shmctl.c * sysdeps/gnu/bits/msq.h: Qualify kernel's 2000-07-27 06:25:28 +00:00
sigaction.c Update. 2000-07-10 16:25:03 +00:00
sigcontextinfo.h Update. 1999-08-23 17:53:16 +00:00
socket.S
syscall.S
syscalls.list Update. 2000-06-13 07:33:12 +00:00
sysdep.h * sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns. 2000-06-27 01:52:26 +00:00
sysdep.S
Versions Update. 2000-08-19 16:58:09 +00:00
versionsort64.c Update. 2000-08-12 05:14:52 +00:00
vfork.S
xstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00