gcc/libstdc++-v3/libsupc++
Tristan Gingold bf1431e359 eh_personality.cc (__gxx_personality_seh0): New function.
libstdc++-v3/
	* libsupc++/eh_personality.cc (__gxx_personality_seh0): New function.
	Adjust for SEH.
	* config/abi/pre/gnu.ver: Add __gxx_personality_seh0.

libobjc/
	* exception.c (__gnu_objc_personality_seh0): New function.

libjava/
	* libgcj.ver: Add __gcj_personality_seh0.
	* exception.cc (__gcj_personality_seh0): New function.
	Adjust for SEH.

libgcc/
	* unwind-seh.c: New file.
	* unwind-generic.h: Include windows.h for SEH.
	(_Unwind_Exception): Use 6 private fields for SEH.
	(_GCC_specific_handler): Declare.
	* unwind-c.c (__gcc_personality_seh0): New function.
	Adjust for SEH.
	* config/i386/libgcc-cygming.ver: New file.
	* config/i386/t-seh-eh: New file.
	* config.host (x86_64-*-mingw*): Default to seh.

gcc/
	* opts.c (finish_options): Handle UI_SEH.
	* expr.c (build_personality_function): Handle UI_SEH.
	* dwarf2out.c (dwarf2out_begin_prologue): Handle UI_SEH.
	* coretypes.h (unwind_info_type): Add UI_SEH.
	* config/i386/winnt.c (i386_pe_seh_emit_except_personality):
	New function.
	(i386_pe_seh_init_sections): Likewise.
	* config/i386/cygming.h (TARGET_ASM_EMIT_EXCEPT_PERSONALITY): Define.
	(TARGET_ASM_INIT_SECTIONS): Define.
	* common/config/i386/i386-common.c (TARGET_EXCEPT_UNWIND_INFO): Define.
	(i386_except_unwind_info): New function.


Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r189644
2012-07-19 07:29:24 +00:00
..
Makefile.am re PR libstdc++/52689 (static linking with libstdc++ fails) 2012-03-29 06:14:32 +00:00
Makefile.in re PR libstdc++/52689 (static linking with libstdc++ fails) 2012-03-29 06:14:32 +00:00
array_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
atexit_arm.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
atomic_lockfree_defines.h acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
bad_alloc.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
bad_cast.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
bad_typeid.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
class_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cxxabi.h re PR target/51135 (SIGSEGV during exception cleanup on win32) 2011-12-16 19:43:06 +01:00
cxxabi_forced.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
del_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
dyncast.cc vmi_class_type_info.cc (__do_dyncast): Use src2dst hint to defer searching bases that don't overlap the desired address. 2009-07-06 18:13:51 -04:00
eh_alloc.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_arm.cc arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
eh_aux_runtime.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_call.cc arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
eh_catch.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_exception.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
eh_globals.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_personality.cc eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
eh_ptr.cc PR libstdc++/51798 continued. 2012-02-10 18:20:43 +00:00
eh_term_handler.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
eh_terminate.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_throw.cc PR libstdc++/51798 continued. 2012-02-10 18:20:43 +00:00
eh_tm.cc PR libstdc++/51798 continued. 2012-02-10 18:20:43 +00:00
eh_type.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_unex_handler.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
enum_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
exception re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
exception_defines.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
exception_ptr.h re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
function_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
fundamental_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
guard.cc PR libstdc++/51798 continued 2012-02-13 13:30:31 -08:00
guard_error.cc re PR libstdc++/43863 (Unused recursive_init_error class defined with -fno-exceptions) 2011-02-09 23:22:27 +00:00
hash_bytes.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hash_bytes.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
initializer_list initializer_list: Do not declare anything if __GXX_EXPERIMENTAL_CXX0X__ is not defined. 2011-12-05 23:16:16 +00:00
nested_exception.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
nested_exception.h re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
new re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_handler.cc re PR libstdc++/44647 (std::nothrow and std::bad_alloc are coupled) 2010-10-05 09:41:57 +00:00
new_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
pbase_type_info.cc ios_locale.cc: Fixes for -pedantic. 2010-02-17 05:43:24 +00:00
pmem_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pointer_type_info.cc ios_locale.cc: Fixes for -pedantic. 2010-02-17 05:43:24 +00:00
pure.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
si_class_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tinfo.cc re PR libstdc++/52562 ([C++11] Most type_info functions not noexcept) 2012-03-12 15:12:40 +00:00
tinfo.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tinfo2.cc re PR libstdc++/52562 ([C++11] Most type_info functions not noexcept) 2012-03-12 15:12:40 +00:00
typeinfo re PR libstdc++/52562 ([C++11] Most type_info functions not noexcept) 2012-03-12 15:12:40 +00:00
unwind-cxx.h re PR target/51135 (SIGSEGV during exception cleanup on win32) 2011-12-16 19:43:06 +01:00
vec.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
vmi_class_type_info.cc vmi_class_type_info.cc (__do_dyncast): Use src2dst hint to defer searching bases that don't overlap the desired address. 2009-07-06 18:13:51 -04:00
vterminate.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00