freebsd-skq/contrib/libstdc++/libsupc++
Andrew Turner 93c7e89712 Allow the unwind functions int libgcc_s to interact correctly with libthr.
_Unwind_ForcedUnwind in libgcc_s takes as one of it's parameters a stop
function to tell it when to stop unwinding. One of the stop function's
parameters is a _Unwind_Exception_Class. On most architectures this is an
int64_t, however on ARM EABI the gcc developers have made this a char array
with 8 items. While both of these take the same space they are passed into
the stop function differently, an int64_t is passed in in registers r2 and
r3, while the char[8] is passed in as a pointer to the first item in
register r2.

Because libthr expects the value to be an int64_t we would get incorrect
results when it passes a function that take an int64_t but libgcc passes in
a pointer to a char array including crashing.

The fix is to update libgcc_s to make it pass an int64_t to the stop
function and to libstdc++ as it expects _Unwind_Exception_Class to be an
array.
2013-02-04 09:28:36 +00:00
..
cxxabi.h GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
del_op.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
del_opnt.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
del_opv.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
del_opvnt.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_alloc.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_arm.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_aux_runtime.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_call.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_catch.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_exception.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_globals.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_personality.cc Update libstdc++ with small updates from the latest rev. (135556) 2011-12-21 16:36:07 +00:00
eh_term_handler.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_terminate.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_throw.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_type.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
eh_unex_handler.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
exception GCC 4.2.1 release C++ standard library and runtime support code. 2007-08-14 02:49:11 +00:00
exception_defines.h GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
guard.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
Makefile.am GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
Makefile.in GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
new GCC 4.2.1 release C++ standard library and runtime support code. 2007-08-14 02:49:11 +00:00
new_handler.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
new_op.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
new_opnt.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
new_opv.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
new_opvnt.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
pure.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
tinfo2.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
tinfo.cc Fix a number of other clang warnings in libstdc++, which could appear 2012-10-23 18:45:32 +00:00
tinfo.h GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
typeinfo Undo the earlier revert of the ABI change in libsupc++. On further discussion, 2012-03-30 12:48:36 +00:00
unwind-cxx.h Allow the unwind functions int libgcc_s to interact correctly with libthr. 2013-02-04 09:28:36 +00:00
vec.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00
vterminate.cc GCC 4.2.0 release C++ standard library and runtime support code. 2007-05-19 01:25:07 +00:00