glibc/csu
Maciej W. Rozycki 0d23a5c1b1 [BZ #16046] Static dlopen correction fallout fixes.
Fixes to address issues from BZ #15022 resolution, as follows:

* TLS updates to csu/libc-tls.c -- we now have a proper main map, so
  there's no longer a need to create a separate fake one to keep TLS
  structures,

* random updates to elf/dl-close.c -- LM_ID_BASE is now a valid name
  space ID for static executables as well, so assert that we don't
  unload the main map.  Similarly dl_nns isn't supposed to be 0 for
  static executables anymore,

* actual BZ #16046 fix to elf/dl-iteratephdr.c -- the dl_iterate_phdr
  special function for static executables isn't needed anymore, provided
  that l_phdr and l_phnum members of the main map have been properly
  initialized (done in _dl_non_dynamic_init in elf/dl-support.c now),

* ld.so.cache loader update to elf/dl-load.c --
  GL(dl_ns)[LM_ID_BASE]._ns_loaded is now always initialized in static
  executables so can become the fallback loader map to check for
  DF_1_NODEFLIB, provided that the l_flags_1 member of the main map has
  been properly initialized (done in elf/dl-support.c now); this also
  ensures previous semantics elsewhere in elf/dl-load.c,

* matching updates to elf/dl-support.c -- to complement the two fixes
  above.
2014-01-31 17:51:31 +00:00
..
abi-note.S Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
check_fds.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dso_handle.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
elf-init.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
errno-loc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
errno.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gmon-start.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
init-first.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
init.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
libc-start.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
libc-tls.c [BZ #16046] Static dlopen correction fallout fixes. 2014-01-31 17:51:31 +00:00
Makefile Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
start.c More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
sysdep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
tst-atomic-long.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-atomic.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-empty.c 2003-04-11 Roland McGrath <roland@redhat.com> 2003-04-12 00:16:59 +00:00
version.c Update remaining copyright dates 2014-01-01 22:02:55 +10:00
Versions Cleanup of configuration options 2011-09-10 14:34:15 -04:00