glibc/sysdeps
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. 2001-02-28 15:24:30 +00:00
am29k Update. 1998-03-09 09:11:57 +00:00
arm Update. 2001-02-28 06:36:10 +00:00
generic Update. 2001-03-16 07:40:05 +00:00
gnu Update. 2001-02-13 22:17:17 +00:00
hppa Update. 2001-02-28 06:36:10 +00:00
i386 Update. 2001-03-12 00:04:52 +00:00
i860 Update. 1997-06-23 21:55:26 +00:00
i960 Update. 1999-07-14 00:54:57 +00:00
ia64 Update. 2001-03-12 00:04:52 +00:00
ieee754 Update. 2001-03-14 22:30:41 +00:00
m68k Update. 2001-03-12 00:04:52 +00:00
m88k Update. 1998-03-09 09:11:57 +00:00
mach * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix. 2001-03-12 02:41:31 +00:00
mips * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to 2001-02-22 08:27:50 +00:00
posix Update. 2001-02-27 01:59:46 +00:00
powerpc (elf_machine_pltrel_p): Removed, it's not needed. 2001-03-10 06:42:38 +00:00
rs6000 Update. 1998-03-09 09:11:57 +00:00
s390 Protect __STRING_INLINE against redefinition. 2001-03-12 08:21:29 +00:00
sh (elf_machine_rela): Add missing comma. 2001-03-06 07:30:22 +00:00
sparc Update. 2001-03-07 13:15:32 +00:00
standalone Update. 1999-02-07 12:50:11 +00:00
tahoe update from main archive 960909 1996-09-10 02:00:15 +00:00
unix Update. 2001-03-16 07:40:05 +00:00
vax update 2000-07-26 18:21:25 +00:00
wordsize-32 Update. 2000-09-01 06:39:10 +00:00
wordsize-64 Update. 2001-01-05 01:01:31 +00:00
z8000 Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00