gcc/include
Jason Merrill 7c424acd9a Allow dynamic initialization of thread_locals.
gcc/cp/
	* decl.c: Define tls_aggregates.
	(expand_static_init): Remove sorry.  Add to tls_aggregates.
	* cp-tree.h: Declare tls_aggregates.
	* call.c (set_up_extended_ref_temp): Add to tls_aggregates.
	* decl2.c (var_needs_tls_wrapper): New.
	(var_defined_without_dynamic_init): New.
	(get_tls_init_fn, get_tls_wrapper_fn): New.
	(generate_tls_wrapper, handle_tls_init): New.
	(cp_write_global_declarations): Call handle_tls_init and
	enerate_tls_wrapper.
	* mangle.c (write_guarded_var_name): Split out from..
	(mangle_guard_variable): ...here.
	(mangle_tls_init_fn, mangle_tls_wrapper_fn): Use it.
	(decl_tls_wrapper_p): New.
	* semantics.c (finish_id_expression): Replace use of thread_local
	variable with a call to its wrapper.
libiberty/
	* cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
	(d_make_comp, d_print_comp): Likewise.
include/
	* demangle.h (enum demangle_component_type): Add
	DEMANGLE_COMPONENT_TLS_INIT and DEMANGLE_COMPONENT_TLS_WRAPPER.

From-SVN: r192211
2012-10-08 10:45:37 -04:00
..
COPYING
COPYING3
ChangeLog Allow dynamic initialization of thread_locals. 2012-10-08 10:45:37 -04:00
ChangeLog-9103
ansidecl.h obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-21 21:35:29 -04:00
demangle.h Allow dynamic initialization of thread_locals. 2012-10-08 10:45:37 -04:00
dwarf2.def dwarf2.def: Edit comment. 2012-09-06 16:32:59 -07:00
dwarf2.h Adjust last commit. 2012-06-08 20:52:32 +02:00
dyn-string.h
fibheap.h
filenames.h filenames.h: #include "hashtab.h". 2012-07-13 22:12:28 +00:00
floatformat.h Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
fnmatch.h
getopt.h
hashtab.h
leb128.h leb128.h: #include stdint.h, inttypes.h. 2012-05-23 23:42:25 +00:00
libiberty.h libiberty.h (countargv): Declare. 2011-09-28 19:04:30 +00:00
lto-symtab.h
md5.h
objalloc.h PR other/54411: integer overflow in objalloc_alloc 2012-09-18 10:34:05 +02:00
obstack.h obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-21 21:35:29 -04:00
partition.h
plugin-api.h Sync plugin-api.h with gold patch : http://sourceware.org/ml/binutils/2012-08/msg00447.html 2012-08-24 19:07:28 +00:00
safe-ctype.h
sha1.h
simple-object.h simple-object.h (simple_object_attributes_merge): Declare, replacing simple_object_attributes_compare. 2010-11-17 01:03:06 +00:00
sort.h
splay-tree.h gengtype.c (main): Make uintptr_t a known type. 2012-04-10 08:32:23 +00:00
symcat.h
timeval-utils.h timeval-utils.h: New file. 2011-09-28 19:09:50 +00:00
xregex.h system.h [...]: Wrap C function declarations in extern "C". 2011-07-25 14:24:59 +00:00
xregex2.h
xtensa-config.h Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00