glibc/elf
Ulrich Drepper e13e33e279 2005-02-21 Alan Modra <amodra@bigpond.net.au>
* elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
	array index is within bounds.

	* elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
	linked code.
	* sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
	* elf/Makefile: Remove rules to build and run tst-tls9-static.
2005-02-22 03:51:38 +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 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 Update. 2002-07-17 00:34:35 +00:00
circlemod1a.c Update. 2002-06-30 07:17:02 +00:00
circlemod2.c Update. 2002-07-17 00:34:35 +00:00
circlemod2a.c Update. 2002-07-17 00:34:35 +00:00
circlemod3.c Update. 2002-07-17 00:34:35 +00:00
circlemod3a.c Update. 2002-06-30 07:17:02 +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
dblload.c Update. 2001-09-06 01:03:05 +00:00
dblloadmod1.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
dblloadmod2.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
dblloadmod3.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
dblunload.c Update. 2001-09-06 01:03:05 +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 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 Update. 2005-01-09 08:29:25 +00:00
dl-conflict.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-debug.c Update. 2005-01-09 08:29:25 +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 Update. 2005-01-09 10:42:33 +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 2005-02-21 Alan Modra <amodra@bigpond.net.au> 2005-02-22 03:51:38 +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 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow 2005-01-13 02:08:37 +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 2005-02-21 Alan Modra <amodra@bigpond.net.au> 2005-02-22 03:51:38 +00:00
dl-runtime.c (fixup): Change return type to DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to store and retrieve relocation values. (profile_fixup): Likewise. 2005-02-07 22:47:00 +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 [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
elf.h 2.5-18.1 2007-07-12 18:26:36 +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 (main): Use proper prototype. 2001-03-21 07:21:34 +00:00
globalmod1.c Update. 2001-04-06 15:23:41 +00:00
initfirst.c Update. 2001-02-02 06:54:15 +00:00
interp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lateglobal.c Update. 2004-04-21 18:58:31 +00:00
ldconfig.c * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00
ldd.bash.in * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +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 Update. 2000-11-26 06:18:02 +00:00
loadtest.c 2.5-18.1 2007-07-12 18:26:36 +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 2005-02-21 Alan Modra <amodra@bigpond.net.au> 2005-02-22 03:51:38 +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 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 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
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 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
nodlopen2.c Update. 2002-02-10 22:40:17 +00:00
nodlopen.c Update. 2000-07-21 04:42:21 +00:00
nodlopenmod2.c Update. 2002-03-03 19:43:30 +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 2.5-18.1 2007-07-12 18:26:36 +00:00
reldep2.c Update. 2001-09-08 17:45:32 +00:00
reldep3.c Update. 2000-08-26 23:41:19 +00:00
reldep4.c Avoid compile warning. 2001-09-22 15:44:07 +00:00
reldep4mod1.c Update. 2001-05-22 23:55:23 +00:00
reldep4mod2.c Update. 2001-06-22 13:50:51 +00:00
reldep4mod3.c Update. 2001-05-22 23:55:23 +00:00
reldep4mod4.c Update. 2001-06-22 13:50:51 +00:00
reldep5.c Update. 2001-09-22 15:44:35 +00:00
reldep6.c Update. 2003-01-12 10:11:16 +00:00
reldep6mod0.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod1.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod2.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod3.c Update. 2001-10-01 00:14:14 +00:00
reldep6mod4.c Update. 2001-10-01 00:14:14 +00:00
reldep7.c Update. 2002-04-15 17:10:22 +00:00
reldep7mod1.c Update. 2002-04-15 17:10:22 +00:00
reldep7mod2.c Update. 2002-04-15 17:10:22 +00:00
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 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
reldepmod5.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
reldepmod6.c * elf/dblloadmod1.c: Add prototype to avoid warning. 2001-12-21 10:16:16 +00:00
resolvfail.c Update. 1999-08-02 19:56:07 +00:00
restest1.c Update. 2000-11-26 06:18:02 +00:00
restest2.c Update. 2001-05-22 22:30:18 +00:00
rtld-Rules 2.5-18.1 2007-07-12 18:26:36 +00:00
rtld.c * debug/chk_fail.c (__chk_fail): Add a while (1) loop around 2005-02-12 23:17:03 +00:00
sln.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
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 * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +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 2.5-18.1 2007-07-12 18:26:36 +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
tls-macros.h 2.5-18.1 2007-07-12 18:26:36 +00:00
tst-align2.c Update. 2005-01-22 07:55:35 +00:00
tst-align.c Update. 2003-09-17 18:23:49 +00:00
tst-alignmod2.c Update. 2005-01-22 07:55:35 +00:00
tst-alignmod.c Update. 2003-09-17 18:23:49 +00:00
tst-array1-static.c * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED 2005-02-14 21:25:50 +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 Update. 2005-01-29 04:14:35 +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 Update. 2000-10-30 00:13:29 +00:00
tst-pathopt.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
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 * elf/tst-tls1-static.c: New file. 2002-08-28 10:42:59 +00:00
tst-tls1.c Update. 2002-02-13 17:45:55 +00:00
tst-tls2-static.c * elf/tst-tls1-static.c: New file. 2002-08-28 10:42:59 +00:00
tst-tls2.c Update. 2002-02-13 17:45:55 +00:00
tst-tls3.c Update. 2002-02-13 17:45:55 +00:00
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 Update. 2002-08-25 22:34:57 +00:00
tst-tlsmod2.c Update. 2002-08-25 22:34:57 +00:00
tst-tlsmod3.c Update. 2002-08-25 22:34:57 +00:00
tst-tlsmod4.c Update. 2002-08-25 22:34:57 +00:00
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 Update. 2000-12-17 17:50:56 +00:00
unload2mod.c Update. 2000-12-17 17:50:56 +00:00
unload.c 2.5-18.1 2007-07-12 18:26:36 +00:00
unloadmod.c Update. 2000-08-26 23:41:19 +00:00
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