Fix EABI unwind function declarations to match the function definitions.The mismatch was noticed by clang, when using it to compile the in-treegcc and libstdc++.
libstdc++: merge non-abi changes from Apple's developer toolsTake some changes from Apple's Developer Tools 4.0 [1]:block.patchemergency-buffer-reduction.patchtest_cleanup.patchvector_copy_no
libstdc++: merge non-abi changes from Apple's developer toolsTake some changes from Apple's Developer Tools 4.0 [1]:block.patchemergency-buffer-reduction.patchtest_cleanup.patchvector_copy_no_alloc.patch problem/6473222 copy-constructing a std::vector from an empty std::vector calls malloc2008-10-27 Howard Hinnantstl_tree_system_header.patch Added #pragma GCC system_header to stl_tree.h.copy_doc.patch Corrected documentation concerning copy in stl_algobase.h.string_compare.patch Fixed basic_string.h, basic_string.tcc, incorrect 64bit to 32bit narrowing.Reference:[1] http://opensource.apple.com/source/libstdcxx/libstdcxx-39/patches-4.2.1/Obtained from: AppleMFC after: 1 month
show more ...
Make libsupc++'s __cxa_call_terminate() prototype consistent with thedefinition.Submitted by: [email protected]MFC after: 3 days
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 stopfunction to tell it when to stop unwinding. One of
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 stopfunction to tell it when to stop unwinding. One of the stop function'sparameters is a _Unwind_Exception_Class. On most architectures this is anint64_t, however on ARM EABI the gcc developers have made this a char arraywith 8 items. While both of these take the same space they are passed intothe stop function differently, an int64_t is passed in in registers r2 andr3, while the char[8] is passed in as a pointer to the first item inregister r2.Because libthr expects the value to be an int64_t we would get incorrectresults when it passes a function that take an int64_t but libgcc passes ina pointer to a char array including crashing.The fix is to update libgcc_s to make it pass an int64_t to the stopfunction and to libstdc++ as it expects _Unwind_Exception_Class to be anarray.
Fix a number of other clang warnings in libstdc++, which could appearwhen building other C++ software with it. Also fix one actual bug inlibsupc++, which was exposed by such a warning. This latte
Fix a number of other clang warnings in libstdc++, which could appearwhen building other C++ software with it. Also fix one actual bug inlibsupc++, which was exposed by such a warning. This latter fix is theonly functional change.MFC after: 1 week
Undo the earlier revert of the ABI change in libsupc++. On further discussion,posting an errata notice with 9.1 is the less painful solution.Approved by: dim (mentor)
Revert ABI breakage in libsupc++.Unfortunately, the ABI was broken upstream for the 4.2 release, which weimported. We then shipped the broken version for several years and certainports (e.g. lib
Revert ABI breakage in libsupc++.Unfortunately, the ABI was broken upstream for the 4.2 release, which weimported. We then shipped the broken version for several years and certainports (e.g. libobjc2) depend on it, so we're stuck with it for now...We should revisit this for 10.0, since we're allowed to break the ABI then, butuntil then we should keep the ABI we shipped with 8.x and 9.x.Reviewed by: kanApproved by: dim (mentor)MFC after: 1 week
Update libstdc++ with small updates from the latest rev. (135556)from the gcc 4.2 branch.The libraries in the gcc-4_2-branch remained under the LGPLv2.The changes can be reproduced with the follo
Update libstdc++ with small updates from the latest rev. (135556)from the gcc 4.2 branch.The libraries in the gcc-4_2-branch remained under the LGPLv2.The changes can be reproduced with the following command:svn diff svn://gcc.gnu.org/svn/gcc/branches/gcc-4_2-branch/libstdc++-v3 -r 127959:135556Reviewed by: mmApproved by: jhb (mentor)MFC after: 2 weeks
GCC 4.2.1 release C++ standard library and runtime support code.
GCC 4.2.0 release C++ standard library and runtime support code.
Gcc 3.4.4 C++ support bits.
Gcc 3.4.2 20040728 C++ support bits.
Gcc 3.3.3 20031106 C++ support bits.
Gcc 3.3.1-pre 2003-07-11 C++ support bits.
Gcc 3.2.2-release C++ support bits.
Gcc 3.2.1-prerelease libf2c bits from the FSF anoncvs repo gcc-3_2-branch on 1-Sep-2002 00:00:01 EDT.
Gcc 3.1.0 pre-release's C++ support bits from the FSF anoncvs repoon 9-May-2002 15:57:15 EDT.