glibc/sysdeps/unix
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
..
alpha Update. 2000-09-15 17:50:21 +00:00
arm Update. 1998-10-22 11:18:01 +00:00
bsd Update. 2001-02-10 16:37:51 +00:00
common * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
i386 Update. 2001-01-28 00:00:08 +00:00
inet * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
mips Update. 2000-12-05 17:41:15 +00:00
mman * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
powerpc Update. 1999-10-10 20:36:40 +00:00
sh Update. 2000-06-12 20:50:37 +00:00
sparc Update. 1999-01-29 12:01:59 +00:00
sysv Update. 2001-03-16 07:40:05 +00:00
_exit.S Update. 1999-02-07 12:50:11 +00:00
alarm.c Update. 1997-05-26 23:01:17 +00:00
clock_gettime.c Update. 2001-01-28 00:00:08 +00:00
clock_nanosleep.c Update. 2001-01-28 00:00:08 +00:00
clock_settime.c Update. 2001-01-28 00:00:08 +00:00
closedir.c Update. 1998-03-18 09:01:59 +00:00
configure Update. 1999-05-30 09:07:13 +00:00
configure.in Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-02-08 02:10:15 +00:00
confstr.h initial import 1995-02-18 01:27:10 +00:00
dirfd.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
dirstream.h Update. 1997-06-21 02:59:26 +00:00
Dist Update. 1998-07-04 14:40:35 +00:00
errnos-tmpl.c Update. 1997-06-23 21:55:26 +00:00
errnos.awk initial import 1995-02-18 01:27:10 +00:00
execve.S update from main archive 961119 1996-11-20 03:45:51 +00:00
fork.S Updated. 1997-06-26 22:23:01 +00:00
fxstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00
getdents.c update from main archive 970121 1997-01-23 04:24:20 +00:00
getegid.S Updated. 1997-06-26 22:23:01 +00:00
geteuid.S Updated. 1997-06-26 22:23:01 +00:00
getlogin_r.c Update. 1999-11-10 02:42:49 +00:00
getlogin.c Update. 1997-07-12 23:35:19 +00:00
getpagesize.c Update. 1997-06-23 21:55:26 +00:00
getppid.S Updated. 1997-06-26 22:23:01 +00:00
grantpt.c Update. 2000-09-01 02:26:05 +00:00
Implies initial import 1995-02-18 01:27:10 +00:00
ioctls-tmpl.c initial import 1995-02-18 01:27:10 +00:00
ioctls.awk initial import 1995-02-18 01:27:10 +00:00
make_errlist.c Update. 1999-06-19 09:58:37 +00:00
make-syscalls.sh * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter. 2001-02-27 05:24:31 +00:00
Makefile Update. 1999-12-01 23:16:28 +00:00
mk-local_lim.c Update. 1997-06-23 21:55:26 +00:00
mkdir.c Update. 1997-06-23 21:55:26 +00:00
mkfifo.c Update. 1997-06-23 21:55:26 +00:00
nice.c Update. 1997-06-23 21:55:26 +00:00
opendir.c Update. 2001-02-13 22:17:17 +00:00
pipestream.c initial import 1995-02-18 01:27:10 +00:00
readdir_r.c Update. 2000-08-12 05:14:52 +00:00
readdir.c Update. 2000-08-12 05:14:52 +00:00
rewinddir.c Update. 1998-07-16 11:44:36 +00:00
rmdir.c Update. 1997-06-23 21:55:26 +00:00
s-proto.S Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-19 00:42:21 +00:00
seekdir.c Update. 1999-08-18 18:44:33 +00:00
siglist.c Update. 1999-06-19 09:58:37 +00:00
snarf-ioctls Update. 1997-07-06 22:02:42 +00:00
start.c Update. 2000-02-28 21:16:38 +00:00
stime.c * sysdeps/unix/stime.c: Include <time.h>. 2001-02-10 19:33:44 +00:00
Subdirs Update. 1997-08-10 18:37:15 +00:00
syscall.S Updated. 1997-06-26 22:23:01 +00:00
syscalls.list Update. 2000-09-09 07:59:23 +00:00
sysdep.h Update. 1998-10-21 15:29:52 +00:00
system.c initial import 1995-02-18 01:27:10 +00:00
telldir.c Update. 1999-08-18 00:34:47 +00:00
time.c Update. 2001-01-28 06:41:47 +00:00
utime.c Update. 1997-05-26 23:01:17 +00:00
xmknod.c update from main archive 960105 1997-01-06 22:07:28 +00:00
xstat.c * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): 2000-07-07 02:19:06 +00:00