glibc/elf
Ulrich Drepper c0f62c5678 [BZ #77]
Update.
	Add support for namespaces in the dynamic linker.
	* dlfcn/Makefile (libdl-routines): Add dlmopen.
	* dlfcn/Versions [libdl, GLIBC_2.3.4]: Add dlmopen.
	* dlfcn/dlfcn.h: Define Lmid_t, LM_ID_BASE, and LM_ID_NEWLM.
	Declare dlmopen.  Document RTLD_DI_LMID.
	* dlfcn/dlinfo.c: Handle RTLD_DI_LMID.
	* dlfcn/dlmopen.c: New file.
	* dlfcn/dlopen.c: Pass new parameter to _dl_open.
	* dlfcn/dlopenold.c: Likewise.
	* elf/dl-addr.c: Adjust for removal of GL(dl_loaded).
	* elf/dl-caller.c: Likewise.
	* elf/dl-close.c: Likewise.
	* elf/dl-conflict.c: Likewise.
	* elf/dl-debug.c: Likewise.
	* elf/dl-lookup.c: Likewise.
	* elf/dl-sym.c: Likewise.
	* elf/dl-version.c: Likewise.
	* elf/do-lookup.h: Likewise.
	* elf/rtld.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
	* elf/dl-depsc: Likewise.  Add new parameter to _dl_map_object.
	* elf/dl-fini.c: Call destructors in all namespaces.
	* elf/dl-iteratephdr.c: Compute total nloaded.  Adjust for removal of
	GL(dl_loaded).
	* elf/dl-libc.c: Pass new parameter to _dl_open.  Adjust for removal
	of GL(dl_loaded).
	* elf/dl-load.c (_dl_map_object_from_fd): Don't load ld.so a second
	time.  Reuse the one from the main namespace in all others.
	Pass new parameter to _dl_new_object.
	Adjust for removal of GL(dl_loaded).
	* elf/dl-object.c: Take new parameter.  Use it to initialize l_ns.
	Adjust for removal of GL(dl_loaded).
	* elf/dl-open.c (_dl_open): Take new parameter.
	Adjust for removal of GL(dl_loaded).
	* elf/dl-support.c: Replace global _dl_loaded etc variables with
	_dl_ns variable.
	* include/dlfcn.h: Adjust prototype of _dl_open.
	Define __LM_ID_CALLER.
	* include/link.h: Add l_real, l_ns, and l_direct_opencount elements.
	* sysdeps/generic/dl-tls.c: Bump TLS_STATIC_SURPLUS.  Since libc is
	using TLS we need memory appropriate to the number of namespaces.
	* sysdeps/generic/ldsodefs.h (struct rtld_global): Replace _dl_loaded,
	_dl_nloaded, _dl_global_scope, _dl_main_searchlist, and
	_dl_global_scope_alloc with _dl_ns element.  Define DL_NNS.
	Adjust prototypes of _dl_map_object and member in rtld_global_ro.
	* malloc/malloc.c: Include <dlfcn.h>.
	* malloc/arena.c (ptmalloc_init): If libc is not in primary namespace,
	never use brk.
	* elf/Makefile: Add rules to build and run tst-dlmopen1 and
	tst-dlmopen2.
	* elf/tst-dlmopen1.c: New file.
	* elf/tst-dlmopen1mod.c: New file.
	* elf/tst-dlmopen2.c: New file.

	* elf/dl-close.c: Improve reference counting by tracking direct loads.
	* elf/dl-lookup.c (add_dependency): Likewise.
	* elf/dl-open.c (dl_open_worker): Likewise.
	* elf/rtld.c (dl_main): Likewise.

2004-09-09  GOTO Masanori  <gotom@debian.or.jp>

	[BZ #77]
	* elf/dl-close.c: Count down l_opencount to check not only for
	l_reldeps, but also l_initfini.

2004-10-13  Ulrich Drepper  <drepper@redhat.com>
2004-10-14 02:08:23 +00:00
..
.cvsignore
cache.c (save_cache): Don't write beyond end of file_entries buffer. Duplicate last old cache entry if the count would be odd. 2003-08-25 18:37:54 +00:00
check-textrel.c
chroot_canon.c [BZ #199] 2004-06-10 02:16:08 +00:00
circleload1.c
circlemod1.c
circlemod1a.c
circlemod2.c
circlemod2a.c
circlemod3.c
circlemod3a.c
constload1.c
constload2.c
constload3.c
dblload.c
dblloadmod1.c
dblloadmod2.c
dblloadmod3.c
dblunload.c
dep1.c
dep2.c
dep3.c
dep4.c
dl-addr.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-caller.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-close.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-conflict.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-debug.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-deps.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-dst.h Update. 2004-03-06 08:19:29 +00:00
dl-error.c Update. 2004-03-06 08:19:29 +00:00
dl-fini.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-init.c Update. 2004-07-06 04:26:42 +00:00
dl-iteratephdr.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-libc.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-load.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-lookup.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-minimal.c Update. 2004-03-05 10:29:47 +00:00
dl-misc.c Update. 2004-07-06 04:26:42 +00:00
dl-object.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-open.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-profile.c Update. 2004-07-06 06:49:44 +00:00
dl-profstub.c Update. 2004-03-06 08:19:29 +00:00
dl-reloc.c Update. 2004-03-07 05:26:02 +00:00
dl-runtime.c Update. 2004-03-09 07:44:07 +00:00
dl-support.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-sym.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-tsd.c
dl-version.c [BZ #77] 2004-10-14 02:08:23 +00:00
do-lookup.h [BZ #77] 2004-10-14 02:08:23 +00:00
do-rel.h * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove 2004-09-24 17:09:04 +00:00
dynamic-link.h * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove 2004-09-24 17:09:04 +00:00
elf.h 2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> 2004-09-10 03:38:14 +00:00
failobj.c
filter.c
filtmod1.c
filtmod2.c
firstobj.c
gen-trusted-dirs.awk
genrtldtbl.awk
global.c
globalmod1.c
initfirst.c
interp.c
lateglobal.c Update. 2004-04-21 18:58:31 +00:00
ldconfig.c (options): Mark parameter option names as translatable. 2004-08-10 04:04:32 +00:00
ldd.bash.in Update. 2004-09-21 15:40:52 +00:00
link.h Update. 2004-01-27 21:30:46 +00:00
loadfail.c
loadtest.c
ltglobmod1.c
ltglobmod2.c
Makefile [BZ #77] 2004-10-14 02:08:23 +00:00
multiload.c
neededobj1.c
neededobj2.c
neededobj3.c
neededobj4.c
neededobj5.c
neededobj6.c
neededtest2.c
neededtest3.c
neededtest4.c
neededtest.c
next.c
nextmod1.c
nextmod2.c
nodel2mod1.c
nodel2mod2.c
nodel2mod3.c
nodelete2.c
nodelete.c
nodelmod1.c
nodelmod2.c
nodelmod3.c
nodelmod4.c
nodlopen2.c
nodlopen.c
nodlopenmod2.c
nodlopenmod.c
noload.c
order.c
origtest.c
pathoptobj.c
preloadtest.c
readlib.c [BZ #151] 2004-09-26 13:39:25 +00:00
reldep2.c
reldep3.c
reldep4.c
reldep4mod1.c
reldep4mod2.c
reldep4mod3.c
reldep4mod4.c
reldep5.c
reldep6.c
reldep6mod0.c
reldep6mod1.c
reldep6mod2.c
reldep6mod3.c
reldep6mod4.c
reldep7.c
reldep7mod1.c
reldep7mod2.c
reldep8.c
reldep8mod1.c
reldep8mod2.c
reldep8mod3.c
reldep9.c
reldep9mod1.c
reldep9mod2.c
reldep9mod3.c
reldep.c
reldepmod1.c
reldepmod2.c
reldepmod3.c
reldepmod4.c
reldepmod5.c
reldepmod6.c
resolvfail.c
restest1.c
restest2.c
rtld-Rules Update. 2003-07-25 07:56:33 +00:00
rtld.c [BZ #77] 2004-10-14 02:08:23 +00:00
sln.c
sofini.c Update. 2003-07-22 19:37:41 +00:00
soinit.c Update. 2003-11-26 07:15:17 +00:00
sprof.c (load_shobj): Add support for reading symbol table from debuginfo file. 2004-09-22 02:18:30 +00:00
testobj1_1.c
testobj1.c
testobj2.c
testobj3.c
testobj4.c
testobj5.c
testobj6.c
testobj.h
tls-macros.h * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14. 2004-06-11 09:56:02 +00:00
tst-align.c Update. 2003-09-17 18:23:49 +00:00
tst-alignmod.c Update. 2003-09-17 18:23:49 +00:00
tst-array1.c
tst-array1.exp
tst-array2.c
tst-array2.exp
tst-array2dep.c
tst-array3.c
tst-array4.c
tst-array4.exp
tst-deep1.c Update. 2004-09-23 07:45:38 +00:00
tst-deep1mod1.c Update. 2004-09-23 07:45:38 +00:00
tst-deep1mod2.c Update. 2004-09-23 07:45:38 +00:00
tst-deep1mod3.c Update. 2004-09-23 07:45:38 +00:00
tst-dlmodcount.c Include stddef.h and stdlib.h. 2004-03-26 09:48:53 +00:00
tst-dlmopen1.c [BZ #77] 2004-10-14 02:08:23 +00:00
tst-dlmopen1mod.c [BZ #77] 2004-10-14 02:08:23 +00:00
tst-dlmopen2.c [BZ #77] 2004-10-14 02:08:23 +00:00
tst-dlopenrpath.c Update. 2004-10-11 10:16:31 +00:00
tst-dlopenrpathmod.c Update. 2004-08-15 20:23:40 +00:00
tst-execstack-mod.c * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
tst-execstack-needed.c * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
tst-execstack-prog.c * elf/rtld.c (dl_main): In rtld_is_main case, reinitialize 2003-09-24 01:56:08 +00:00
tst-execstack.c 2004-04-01 Roland McGrath <roland@redhat.com> 2004-04-02 02:23:05 +00:00
tst-pathopt.c
tst-pathopt.sh
tst-pie1.c [BZ #262] 2004-07-16 17:56:45 +00:00
tst-piemod1.c [BZ #262] 2004-07-16 17:56:45 +00:00
tst-tls1-static.c
tst-tls1.c
tst-tls2-static.c
tst-tls2.c
tst-tls3.c
tst-tls4.c
tst-tls5.c
tst-tls6.c Update. 2003-07-31 19:26:38 +00:00
tst-tls7.c
tst-tls8.c Update. 2003-07-31 19:26:38 +00:00
tst-tls9-static.c
tst-tls9.c
tst-tls10.c * elf/tst-tls12.c (main): Fix declaration. 2003-04-23 01:54:52 +00:00
tst-tls10.h Update. 2003-04-17 19:19:29 +00:00
tst-tls11.c Update. 2003-04-17 19:19:29 +00:00
tst-tls12.c * elf/tst-tls12.c (main): Fix declaration. 2003-04-23 01:54:52 +00:00
tst-tls13.c Update. 2004-02-21 03:20:32 +00:00
tst-tls14.c * elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this. 2003-07-28 21:50:26 +00:00
tst-tlsmod1.c
tst-tlsmod2.c
tst-tlsmod3.c
tst-tlsmod4.c
tst-tlsmod5.c
tst-tlsmod6.c
tst-tlsmod7.c * elf/tst-tls12.c (main): Fix declaration. 2003-04-23 01:54:52 +00:00
tst-tlsmod8.c * elf/tst-tls12.c (main): Fix declaration. 2003-04-23 01:54:52 +00:00
tst-tlsmod9.c * elf/tst-tls12.c (main): Fix declaration. 2003-04-23 01:54:52 +00:00
tst-tlsmod10.c Update. 2003-04-17 19:19:29 +00:00
tst-tlsmod11.c Update. 2003-04-17 19:19:29 +00:00
tst-tlsmod12.c Update. 2003-04-17 19:19:29 +00:00
tst-tlsmod13.c Update. 2003-04-27 06:20:14 +00:00
tst-tlsmod13a.c Update. 2003-04-27 06:20:14 +00:00
tst-tlsmod14a.c * elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this. 2003-07-28 21:50:26 +00:00
tst-tlsmod14b.c Update. 2003-07-24 20:07:00 +00:00
unload2.c
unload2dep.c
unload2mod.c
unload.c
unloadmod.c
Versions Update. 2004-03-06 08:19:29 +00:00
vismain.c (do_test): Comment out tests which fail in the moment. 2003-03-29 06:49:46 +00:00
vismod1.c
vismod2.c
vismod3.c
vismod.h