glibc/elf
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
..
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
cache.c Update. 2001-03-16 07:40:05 +00:00
chroot_canon.c Update. 2000-11-15 09:41:20 +00:00
constload1.c Include <stdio.h> for puts prototype. 2000-08-19 08:30:28 +00:00
constload2.c Add prototype for init. 2001-01-21 17:15:50 +00:00
constload3.c Update. 2000-12-17 17:50:56 +00:00
dep1.c Update. 2000-12-15 16:03:57 +00:00
dep2.c Update. 2000-12-15 16:03:57 +00:00
dep3.c Update. 2000-12-15 16:03:57 +00:00
dep4.c Update. 2000-12-15 16:03:57 +00:00
dl-addr.c Update. 2000-09-26 19:13:37 +00:00
dl-close.c Update. 2001-02-28 06:36:10 +00:00
dl-debug.c Update. 2000-03-23 20:31:46 +00:00
dl-deps.c Update. 2001-02-28 06:36:10 +00:00
dl-dst.h Update. 1999-06-28 15:52:36 +00:00
dl-error.c Update. 2001-02-28 06:36:10 +00:00
dl-fini.c Update. 2001-02-28 06:36:10 +00:00
dl-init.c Update. 2001-02-28 06:36:10 +00:00
dl-libc.c Update. 2001-01-11 19:42:21 +00:00
dl-load.c Update. 2001-03-16 07:40:05 +00:00
dl-lookup.c Update. 2001-02-28 06:36:10 +00:00
dl-minimal.c Update. 2001-03-16 07:40:05 +00:00
dl-misc.c Update. 2001-02-28 15:24:30 +00:00
dl-object.c Update. 2001-03-01 08:17:40 +00:00
dl-open.c Update. 2001-02-28 06:36:10 +00:00
dl-profile.c Update. 2001-02-28 06:36:10 +00:00
dl-profstub.c Update. 2000-07-18 17:18:38 +00:00
dl-reloc.c Update. 2001-02-28 06:36:10 +00:00
dl-runtime.c Update. 2000-08-26 23:41:19 +00:00
dl-support.c Replace _dl_debug_* variables with _dl_debug_mask. 2001-02-27 09:34:31 +00:00
dl-sym.c Update. 2000-10-23 21:40:57 +00:00
dl-symbol.c Update. 2000-08-26 23:41:19 +00:00
dl-version.c Update. 2001-02-28 06:36:10 +00:00
do-lookup.h Update. 2001-02-28 06:36:10 +00:00
do-rel.h Update. 2000-06-08 04:48:56 +00:00
dynamic-link.h Update. 2000-07-20 22:53:54 +00:00
elf.h (EM_*): Synch with official list. 2001-03-11 15:46:56 +00:00
failobj.c Update. 2000-12-17 17:50:56 +00:00
filter.c Update. 2000-08-19 07:17:09 +00:00
filtmod1.c Update. 2000-12-17 17:50:56 +00:00
filtmod2.c Update. 2000-12-17 17:50:56 +00:00
firstobj.c Add prototype. 2001-02-06 10:38:10 +00:00
gen-trusted-dirs.awk Update. 1999-05-03 21:59:35 +00:00
genrtldtbl.awk Testsuite for owrdexp. 1998-03-05 16:42:56 +00:00
global.c Update. 2001-03-04 19:51:54 +00:00
globalmod1.c Update. 2001-03-04 19:51:54 +00:00
initfirst.c Update. 2001-02-02 06:54:15 +00:00
interp.c Update. 1998-05-08 20:42:23 +00:00
lateglobal.c Update. 2000-10-21 07:16:18 +00:00
ldconfig.c Update. 2001-03-16 07:40:05 +00:00
ldd.bash.in Update. 1999-10-05 01:55:45 +00:00
link.h Update. 2000-06-10 05:48:35 +00:00
loadfail.c Update. 2000-11-26 06:18:02 +00:00
loadtest.c Update. 2000-11-26 06:18:02 +00:00
ltglobmod1.c Update. 2000-12-17 17:50:56 +00:00
ltglobmod2.c Update. 2000-12-15 16:03:57 +00:00
Makefile Update. 2001-03-16 07:40:05 +00:00
multiload.c Update. 2000-11-26 06:18:02 +00:00
neededobj1.c Update. 2000-12-17 17:50:56 +00:00
neededobj2.c Update. 2000-12-17 17:50:56 +00:00
neededobj3.c Update. 2000-12-17 17:50:56 +00:00
neededobj4.c Update. 2000-12-17 17:50:56 +00:00
neededobj5.c Update. 2000-12-31 06:09:08 +00:00
neededobj6.c Update. 2000-12-31 06:09:08 +00:00
neededtest2.c Update. 2000-10-23 22:58:40 +00:00
neededtest3.c Update. 2000-10-24 17:04:14 +00:00
neededtest4.c Update. 2000-12-31 06:09:08 +00:00
neededtest.c (main): Correct tests for failing dlopen. 2000-10-24 15:25:53 +00:00
next.c Update. 2000-11-26 06:18:02 +00:00
nextmod1.c Update. 2000-12-17 17:50:56 +00:00
nextmod2.c Update. 2000-12-17 17:50:56 +00:00
nodelete.c Update. 2000-11-26 06:18:02 +00:00
nodelmod1.c Update. 2000-08-25 19:33:19 +00:00
nodelmod2.c Update. 2000-08-25 19:33:19 +00:00
nodelmod3.c Update. 2000-12-17 17:50:56 +00:00
nodelmod4.c Update. 2000-08-25 19:33:19 +00:00
nodlopen.c Update. 2000-07-21 04:42:21 +00:00
nodlopenmod.c Update. 2000-07-21 04:42:21 +00:00
noload.c Update. 2000-11-26 06:18:02 +00:00
order.c Update. 2000-11-26 06:18:02 +00:00
origtest.c Update. 2000-11-26 06:18:02 +00:00
pathoptobj.c Update. 2000-12-17 17:50:56 +00:00
preloadtest.c Update. 2000-12-15 16:03:57 +00:00
readlib.c Update. 2001-03-16 07:40:05 +00:00
reldep2.c Update. 2000-08-26 23:41:19 +00:00
reldep3.c Update. 2000-08-26 23:41:19 +00:00
reldep.c Update. 2000-08-26 23:41:19 +00:00
reldepmod1.c Update. 2000-12-17 17:50:56 +00:00
reldepmod2.c Update. 2000-12-17 17:50:56 +00:00
reldepmod3.c Update. 2000-12-17 17:50:56 +00:00
reldepmod4.c Update. 2000-12-17 17:50:56 +00:00
resolvfail.c Update. 1999-08-02 19:56:07 +00:00
restest1.c Update. 2000-11-26 06:18:02 +00:00
rtld.c Update. 2001-03-10 16:40:59 +00:00
sln.c Update. 2001-02-27 17:59:27 +00:00
sofini.c Update. 1997-09-30 17:10:40 +00:00
soinit.c Update. 2001-02-02 06:19:24 +00:00
sprof.c Update. 2001-01-05 01:01:31 +00:00
testobj1_1.c Update. 2000-12-15 16:03:57 +00:00
testobj1.c Update. 2000-12-15 16:03:57 +00:00
testobj2.c Update. 2000-12-15 16:03:57 +00:00
testobj3.c Update. 2000-12-15 16:03:57 +00:00
testobj4.c Update. 2000-12-15 16:03:57 +00:00
testobj5.c Update. 2000-12-15 16:03:57 +00:00
testobj6.c Update. 2000-12-15 16:03:57 +00:00
testobj.h Update. 2000-12-15 16:03:57 +00:00
tst-pathopt.c Update. 2000-10-30 00:13:29 +00:00
tst-pathopt.sh Update. 2000-10-30 00:13:29 +00:00
unload2.c Update. 2000-10-21 06:02:49 +00:00
unload2dep.c Update. 2000-12-17 17:50:56 +00:00
unload2mod.c Update. 2000-12-17 17:50:56 +00:00
unload.c Update. 2000-10-23 22:58:40 +00:00
unloadmod.c Update. 2000-08-26 23:41:19 +00:00
Versions Update. 2001-02-28 06:24:03 +00:00
vismain.c Update. 2000-12-17 17:09:01 +00:00
vismod1.c Update. 2000-12-17 17:09:01 +00:00
vismod2.c Update. 2000-12-17 17:09:01 +00:00
vismod3.c Update. 2000-12-17 17:09:01 +00:00
vismod.h Update. 2000-12-17 17:09:01 +00:00