glibc/nptl_db
Alexandre Oliva f8aeae3473 Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage
for  ChangeLog

	[BZ #17090]
	[BZ #17620]
	[BZ #17621]
	[BZ #17628]
	* NEWS: Update.
	* elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
	entries with Static TLS too.  Skip entries past the end of the
	allocated DTV, from Alan Modra.
	(tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
	Static TLS DTV entry set up from...
	 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
	* elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
	* nptl/allocatestack.c (init_one_static_tls): ... and here...
	* elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
	for Static TLS.
	* elf/tlsdeschtab.h (map_generation): Return size_t.  Check
	that the slot we find is associated with the given map before
	using its generation count.
	* nptl_db/db_info.c: Include ldsodefs.h.
	(rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
	* nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
	(DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
	(link_map::l_tls_offset): New struct field.
	(dtv_t::counter): Likewise.
	(rtld_global): New struct.
	(_rtld_global): New rtld variable.
	(dl_tls_dtv_slotinfo_list): New rtld global field.
	(dtv_slotinfo_list): New struct.
	(dtv_slotinfo): Likewise.
	* nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
	(td_lookup): Rename to...
	(td_mod_lookup): ... this.  Use new mod parameter instead of
	LIBPTHREAD_SO.
	* nptl_db/td_thr_tlsbase.c: Include link.h.
	(dtv_slotinfo_list, dtv_slotinfo): New functions.
	(td_thr_tlsbase): Check DTV generation.  Compute Static TLS
	addresses even if the DTV is out of date or missing them.
	* nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
	index zero-length arrays.
	* nptl_db/thread_dbP.h: Include gnu/lib-names.h.
	(td_lookup): Make it a macro implemented in terms of...
	(td_mod_lookup): ... this declaration.
	* nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
	(DB_MAIN_VARIABLE): Likewise.
2015-03-17 00:31:49 -03:00
..
ChangeLog.old Retire the separate ChangeLog files in nptl/ and nptl_db/ subdirs. 2014-03-03 15:30:42 -08:00
db_info.c Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage 2015-03-17 00:31:49 -03:00
db-symbols.awk Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage 2015-03-17 00:31:49 -03:00
db-symbols.h powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define 2015-03-11 09:01:05 -04:00
fetch-value.c Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage 2015-03-17 00:31:49 -03:00
Makefile Add stub sys/procfs.h file 2015-01-08 13:24:56 -08:00
proc_service.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
structs.def Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage 2015-03-17 00:31:49 -03:00
td_init.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_log.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_symbol_list.c Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage 2015-03-17 00:31:49 -03:00
td_ta_clear_event.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_delete.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_enable_stats.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_event_addr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_event_getmsg.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_get_nthreads.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_get_ph.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_get_stats.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_map_id2thr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_map_lwp2thr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_new.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_reset_stats.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_set_event.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_setconcurrency.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_thr_iter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_ta_tsd_iter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_clear_event.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_dbresume.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_dbsuspend.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_event_enable.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_event_getmsg.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_get_info.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_getfpregs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_getgregs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_getxregs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_getxregsize.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_set_event.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_setfpregs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_setgregs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_setprio.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_setsigpending.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_setxregs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_sigsetmask.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_tls_get_addr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_tlsbase.c Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage 2015-03-17 00:31:49 -03:00
td_thr_tsd.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
td_thr_validate.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
thread_db.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
thread_dbP.h Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage 2015-03-17 00:31:49 -03:00
Versions 2003-03-15 Roland McGrath <roland@redhat.com> 2003-03-15 23:55:23 +00:00