glibc/elf
Ulrich Drepper 9dcafc5597 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
* sysdeps/generic/libc-start.c: Don't register program destructor here.
	* dlfcn/Makefile: Add rules to build dlfcn.c.
	(LDFLAGS-dl.so): Removed.
	* dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
	table.
	* dlfcn/dlmopen.c: Likewise for _dl_open.
	* dlfcn/dlopen.c: Likewise.
	* dlfcn/dlopenold.c: Likewise.
	* elf/dl-libc.c: Likewise for _dl_open and _dl_close.
	* elf/Makefile (routines): Remove dl-open and dl-close.
	(dl-routines): Add dl-open, dl-close, and dl-trampoline.
	Add rules to build and run tst-audit1.
	* elf/tst-audit1.c: New file.
	* elf/tst-auditmod1.c: New file.
	* elf/Versions [libc]: Remove _dl_open and _dl_close.
	* elf/dl-close.c: Change for use inside ld.so instead of libc.so.
	* elf/dl-open.c: Likewise.
	* elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
	signaled by nonzero parameter.
	* elf/dl-init.c: Fix use of r_state.
	* elf/dl-load.c: Likewise.

	* elf/dl-close.c: Add auditing checkpoints.
	* elf/dl-open.c: Likewise.
	* elf/dl-fini.c: Likewise.
	* elf/dl-load.c: Likewise.
	* elf/dl-sym.c: Likewise.
	* sysdeps/generic/libc-start.c: Likewise.
	* elf/dl-object.c: Allocate memory for auditing information.
	* elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
	Correctly initialize slotinfo.
	* elf/dynamic-link.h: Adjust after removal of RESOLV.
	* sysdeps/hppa/dl-lookupcfg.h: Likewise.
	* sysdeps/ia64/dl-lookupcfg.h: Likewise.
	* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
	* elf/dl-runtime.c (_dl_fixup): Little cleanup.
	(_dl_profile_fixup): New parameters to point to register struct and
	variable for frame size.
	Add auditing checkpoints.
	(_dl_call_pltexit): New function.
	Don't define trampoline code here.
	* elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
	Remove all the functions from _rtld_global_ro which only _dl_open
	and _dl_close needed.
	Add auditing checkpoints.
	* elf/link.h: Define symbols for auditing interfaces.
	* include/link.h: Likewise.
	* include/dlfcn.h: Define __RTLD_AUDIT.
	Remove prototypes for _dl_open and _dl_close.
	Adjust access to argc and argv in libdl.
	* dlfcn/dlfcn.c: New file.
	* sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
	is gone.
	* sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
	* sysdeps/generic/unsecvars.h: Add LD_AUDIT.
	* sysdeps/i386/dl-machine.h: Remove trampoline code here.
	Adjust for removal of RESOLVE.
	* sysdeps/x86_64/dl-machine.h: Likewise.
	* sysdeps/generic/dl-trampoline.c: New file.
	* sysdeps/i386/dl-trampoline.c: New file.
	* sysdeps/x86_64/dl-trampoline.c: New file.

	* sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
	Fix updating of DTV.
	* sysdeps/generic/libc-tls.c: Likewise.

	* sysdeps/arm/bits/link.h: Renamed to ...
	* sysdeps/arm/buts/linkmap.h: ...this.
	* sysdeps/generic/bits/link.h: Renamed to...
	* sysdeps/generic/bits/linkmap.h: ...this.
	* sysdeps/hppa/bits/link.h: Renamed to...
	* sysdeps/hppa/bits/linkmap.h: ...this.
	* sysdeps/hppa/i386/link.h: Renamed to...
	* sysdeps/hppa/i386/linkmap.h: ...this.
	* sysdeps/hppa/ia64/link.h: Renamed to...
	* sysdeps/hppa/ia64/linkmap.h: ...this.
	* sysdeps/hppa/s390/link.h: Renamed to...
	* sysdeps/hppa/s390/linkmap.h: ...this.
	* sysdeps/hppa/sh/link.h: Renamed to...
	* sysdeps/hppa/sh/linkmap.h: ...this.
	* sysdeps/hppa/x86_64/link.h: Renamed to...
	* sysdeps/hppa/x86_64/linkmap.h: ...this.
2005-01-06  Ulrich Drepper  <drepper@redhat.com>

	* allocatestack.c (init_one_static_tls): Adjust initialization of DTV
	entry for static tls deallocation fix.
	* sysdeps/alpha/tls.h (dtv_t): Change pointer type to be struct which
	also contains information whether the memory pointed to is static
	TLS or not.
	* sysdeps/i386/tls.h: Likewise.
	* sysdeps/ia64/tls.h: Likewise.
	* sysdeps/powerpc/tls.h: Likewise.
	* sysdeps/s390/tls.h: Likewise.
	* sysdeps/sh/tls.h: Likewise.
	* sysdeps/sparc/tls.h: Likewise.
	* sysdeps/x86_64/tls.h: Likewise.
2005-01-06 22:40:27 +00:00
..
.cvsignore
cache.c 2.5-18.1 2007-07-12 18:26:36 +00:00
check-textrel.c 2.5-18.1 2007-07-12 18:26:36 +00:00
chroot_canon.c 2.5-18.1 2007-07-12 18:26:36 +00:00
circleload1.c 2.5-18.1 2007-07-12 18:26:36 +00:00
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 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-caller.c [BZ #77] 2004-10-14 02:08:23 +00:00
dl-close.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-conflict.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-debug.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-deps.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-dst.h 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-error.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-fini.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-init.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-iteratephdr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-libc.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-load.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-lookup.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-minimal.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-misc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-object.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-open.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +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 * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-runtime.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-support.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-sym.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dl-tsd.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-version.c 2.5-18.1 2007-07-12 18:26:36 +00:00
do-lookup.h 2.5-18.1 2007-07-12 18:26:36 +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 * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
elf.h 2.5-18.1 2007-07-12 18:26:36 +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 2.5-18.1 2007-07-12 18:26:36 +00:00
ldd.bash.in 2.5-18.1 2007-07-12 18:26:36 +00:00
link.h * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
loadfail.c
loadtest.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ltglobmod1.c
ltglobmod2.c
Makefile * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
multiload.c
neededobj1.c
neededobj2.c
neededobj3.c
neededobj4.c
neededobj5.c
neededobj6.c
neededtest2.c 2.5-18.1 2007-07-12 18:26:36 +00:00
neededtest3.c 2.5-18.1 2007-07-12 18:26:36 +00:00
neededtest4.c 2.5-18.1 2007-07-12 18:26:36 +00:00
neededtest.c 2.5-18.1 2007-07-12 18:26:36 +00:00
next.c
nextmod1.c
nextmod2.c
nodel2mod1.c Test modules for DF_1_NODELETE test. 2003-01-12 07:52:53 +00:00
nodel2mod2.c Test modules for DF_1_NODELETE test. 2003-01-12 07:52:53 +00:00
nodel2mod3.c Test modules for DF_1_NODELETE test. 2003-01-12 07:52:53 +00:00
nodelete2.c Update. 2003-01-12 10:11:16 +00:00
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 2.5-18.1 2007-07-12 18:26:36 +00:00
reldep2.c
reldep3.c
reldep4.c
reldep4mod1.c
reldep4mod2.c
reldep4mod3.c
reldep4mod4.c
reldep5.c
reldep6.c Update. 2003-01-12 10:11:16 +00:00
reldep6mod0.c
reldep6mod1.c
reldep6mod2.c
reldep6mod3.c
reldep6mod4.c
reldep7.c
reldep7mod1.c
reldep7mod2.c
reldep8.c Update. 2002-12-30 20:25:40 +00:00
reldep8mod1.c Update. 2002-12-30 20:25:40 +00:00
reldep8mod2.c Update. 2002-12-30 20:25:40 +00:00
reldep8mod3.c Update. 2002-12-30 20:25:40 +00:00
reldep9.c Update. 2003-01-12 10:11:16 +00:00
reldep9mod1.c Update. 2003-01-12 10:11:16 +00:00
reldep9mod2.c Update. 2003-01-12 10:11:16 +00:00
reldep9mod3.c Update. 2003-01-12 10:11:16 +00:00
reldep.c
reldepmod1.c
reldepmod2.c
reldepmod3.c
reldepmod4.c
reldepmod5.c
reldepmod6.c
resolvfail.c
restest1.c
restest2.c
rtld-Rules 2.5-18.1 2007-07-12 18:26:36 +00:00
rtld.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
sln.c
sofini.c 2.5-18.1 2007-07-12 18:26:36 +00:00
soinit.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sprof.c 2.5-18.1 2007-07-12 18:26:36 +00:00
testobj1_1.c
testobj1.c
testobj2.c 2.5-18.1 2007-07-12 18:26:36 +00:00
testobj3.c
testobj4.c
testobj5.c
testobj6.c
testobj.h
tls-macros.h 2.5-18.1 2007-07-12 18:26:36 +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 2002-12-10 Jakub Jelinek <jakub@redhat.com> 2002-12-10 23:28:48 +00:00
tst-array1.exp * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY] 2002-11-07 22:28:16 +00:00
tst-array2.c * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY] 2002-11-07 22:28:16 +00:00
tst-array2.exp * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY] 2002-11-07 22:28:16 +00:00
tst-array2dep.c 2002-12-10 Jakub Jelinek <jakub@redhat.com> 2002-12-10 23:28:48 +00:00
tst-array3.c * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY] 2002-11-07 22:28:16 +00:00
tst-array4.c Update. 2003-01-27 21:03:22 +00:00
tst-array4.exp Update. 2003-01-27 21:03:22 +00:00
tst-audit1.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
tst-auditmod1.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
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 Update. 2004-10-27 20:27:40 +00:00
tst-dlmopen2.c [BZ #77] 2004-10-14 02:08:23 +00:00
tst-dlmopen3.c Update. 2004-10-28 06:53:20 +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 * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] 2002-12-04 12:30:40 +00:00
tst-tls5.c * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] 2002-12-04 12:30:40 +00:00
tst-tls6.c Update. 2003-07-31 19:26:38 +00:00
tst-tls7.c Update. 2002-12-11 00:49:28 +00:00
tst-tls8.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tst-tls9-static.c 2002-10-21 Roland McGrath <roland@redhat.com> 2002-10-22 06:22:38 +00:00
tst-tls9.c * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] 2002-12-04 12:30:40 +00:00
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 2.5-18.1 2007-07-12 18:26:36 +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 2002-10-21 Roland McGrath <roland@redhat.com> 2002-10-22 06:22:38 +00:00
tst-tlsmod6.c 2002-10-21 Roland McGrath <roland@redhat.com> 2002-10-22 06:22:38 +00:00
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 2.5-18.1 2007-07-12 18:26:36 +00:00
unload2dep.c
unload2mod.c
unload.c 2.5-18.1 2007-07-12 18:26:36 +00:00
unloadmod.c
Versions * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
vismain.c (do_test): Comment out tests which fail in the moment. 2003-03-29 06:49:46 +00:00
vismod1.c 2003-03-26 H.J. Lu <hjl@gnu.org> 2003-03-29 03:46:03 +00:00
vismod2.c 2003-03-26 H.J. Lu <hjl@gnu.org> 2003-03-29 03:46:03 +00:00
vismod3.c 2003-03-26 H.J. Lu <hjl@gnu.org> 2003-03-29 03:46:03 +00:00
vismod.h 2003-03-26 H.J. Lu <hjl@gnu.org> 2003-03-29 03:46:03 +00:00