glibc/dlfcn
Roland McGrath d78efd9f36 * elf/tst-tls-dlinfo.c: New file.
* elf/Makefile (tests): Add it.
	($(objpfx)tst-tls-dlinfo): Depend on $(libdl).
	($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so.

	* dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum
	values, reserve unsupported requested names used on Solaris.
	(RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values.
	(RTLD_DI_MAX): Likewise.
	* dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and
	RTLD_DI_TLS_DATA.

	* elf/dl-tls.c (_dl_tls_get_addr_soft): New function.
	* sysdeps/generic/ldsodefs.h: Declare it.
	* elf/Versions (ld: GLIBC_PRIVATE): Add it.
	* elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid,
	dlpi_tls_data.
	* elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in.

	* include/link.h: Don't copy contents from elf/link.h.
	Instead, #include it while #define'ing around link_map.
	* elf/dl-debug.c (_dl_debug_initialize): Add a cast.
	Add bogus extern decl to verify link_map members.
	* elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map.
	(OUT, main): Use it in place of _r_debug._r_map.
	* elf/unload.c: Likewise.
	* elf/unload2.c: Likewise.
	* elf/neededtest.c (check_loaded_objects): Likewise.
	* elf/neededtest2.c (check_loaded_objects): Likewise.
	* elf/neededtest3.c (check_loaded_objects): Likewise.
	* elf/neededtest4.c (check_loaded_objects): Likewise.
	* elf/circleload1.c (check_loaded_objects): Likewise.
2006-03-01 06:18:49 +00:00
..
bug-atexit1-lib.c [BZ #1158] 2005-09-28 00:14:50 +00:00
bug-atexit1.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
bug-atexit2-lib.c [BZ #1158] 2005-09-28 00:14:50 +00:00
bug-atexit2.c [BZ #1158] 2005-09-28 00:14:50 +00:00
bug-dlopen1.c Update. 2002-02-06 00:28:46 +00:00
bug-dlsym1-lib1.c (foo): Add prototype to avoid warning. 2002-08-23 08:52:49 +00:00
bug-dlsym1-lib2.c 2002-08-21 Roland McGrath <roland@redhat.com> 2002-08-21 23:03:46 +00:00
bug-dlsym1.c 2004-10-18 Roland McGrath <roland@redhat.com> 2004-10-18 18:53:53 +00:00
default.c Update. 2003-08-15 03:58:56 +00:00
defaultmod1.c Update. 2003-08-15 03:58:56 +00:00
defaultmod2.c Update. 2003-08-15 03:58:56 +00:00
dladdr1.c Update. 2004-10-18 23:17:46 +00:00
dladdr.c Update. 2004-10-18 23:17:46 +00:00
dlclose.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dlerror.c * elf/dl-error.c (_dl_signal_error): Store information about use of 2005-06-12 16:29:51 +00:00
dlfcn.c * configure.in: If init_array/fini_array support is not available, 2005-11-05 17:46:24 +00:00
dlfcn.h * elf/tst-tls-dlinfo.c: New file. 2006-03-01 06:18:49 +00:00
dlinfo.c * elf/tst-tls-dlinfo.c: New file. 2006-03-01 06:18:49 +00:00
dlmopen.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dlopen.c * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow 2005-01-13 02:08:37 +00:00
dlopenold.c * csu/elf-init.c (__libc_csu_fini): Don't do anything here. 2005-01-06 22:40:27 +00:00
dlsym.c Update. 2004-10-18 23:17:46 +00:00
dlvsym.c Update. 2004-10-18 23:17:46 +00:00
errmsg1.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
errmsg1mod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
eval.c Update. 2003-07-31 19:26:38 +00:00
failtest.c Add prototype for foo. 2000-12-27 19:58:36 +00:00
failtestmod.c Update. 2000-11-29 00:04:54 +00:00
glreflib1.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
glreflib2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
glrefmain.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Makefile 2005-10-16 Daniel Jacobowitz <dan@codesourcery.com> 2005-10-16 09:25:59 +00:00
modatexit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
modcxaatexit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
modstatic2.c Update. 2004-10-18 23:17:46 +00:00
modstatic.c Update. 2001-12-28 16:43:13 +00:00
sdladdr1.c Update. 2004-10-18 23:17:46 +00:00
sdladdr.c Update. 2004-10-18 23:17:46 +00:00
sdlclose.c Update. 2004-10-18 23:17:46 +00:00
sdlerror.c Update. 2004-10-18 23:17:46 +00:00
sdlinfo.c Update. 2004-10-18 23:17:46 +00:00
sdlmopen.c Update. 2004-10-18 23:17:46 +00:00
sdlopen.c Update. 2004-10-18 23:17:46 +00:00
sdlsym.c Update. 2004-10-18 23:17:46 +00:00
sdlvsym.c Update. 2004-10-18 23:17:46 +00:00
tst-dladdr.c (do_test): Get address of ref1 using DL_LOOKUP_ADDRESS. 2001-08-23 04:01:56 +00:00
tst-dlinfo.c * dlfcn/tst-dlinfo.c: New file. 2003-03-15 23:16:22 +00:00
tstatexit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tstcxaatexit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tststatic2.c Update. 2004-10-18 23:17:46 +00:00
tststatic.c Update. 2001-08-04 19:30:39 +00:00
Versions Update. 2004-10-18 23:17:46 +00:00