glibc/dlfcn
Ulrich Drepper 9be09e060f * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements
to fill in holes
	(rtld_global_ro): Likewise.

2007-06-18  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous.
	Move PT_LOAD checking to...
	(_dl_addr_inside_object): ... here, new function.
	* elf/dl-sym.c (do_sym): If not l_contiguous,
	call _dl_addr_inside_object.
	* elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise.
	* dlfcn/dlinfo.c (dlinfo_doit): Likewise.
	* elf/dl-open.c (dl_open_worker): Likewise.
	(_dl_addr_inside_object): New function if IS_IN_rtld.
	* elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no
	holes are present or are PROT_NONE protected.
	* include/link.h (struct link_map): Add l_contiguous field.
	* sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype.
2007-06-19 22:59:48 +00:00
..
Makefile . 2007-07-31 13:33:18 +00:00
Versions Update. 2004-10-18 23:17:46 +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-atexit3-lib.cc * dlfcn/Makefile: Add rules to build and run bug-atexit3. 2006-07-27 01:31:43 +00:00
bug-atexit3.c * dlfcn/Makefile: Add rules to build and run bug-atexit3. 2006-07-27 01:31:43 +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
dladdr.c Update. 2004-10-18 23:17:46 +00:00
dladdr1.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 * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements 2007-06-19 22:59:48 +00:00
dlmopen.c * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be 2006-07-26 08:21:54 +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
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
modstatic.c Update. 2001-12-28 16:43:13 +00:00
modstatic2.c Update. 2004-10-18 23:17:46 +00:00
sdladdr.c Update. 2004-10-18 23:17:46 +00:00
sdladdr1.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
tststatic.c Update. 2001-08-04 19:30:39 +00:00
tststatic2.c Update. 2004-10-18 23:17:46 +00:00