diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-12-05 01:21:05 -0800 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2020-12-07 10:46:43 -1000 |
commit | f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e (patch) | |
tree | 06bcfcd5c08d28b5c5e96800e782662fbafd61d1 /package/libs/libcxxabi/patches | |
parent | 0ba83a757728185eabd965e07331508923cca825 (diff) | |
download | upstream-f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e.tar.gz upstream-f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e.tar.bz2 upstream-f7d7a3a18b1f1d1fdcf5b05f4ab1af6b8fc2ce1e.zip |
libcxx[abi]: remove
This is a neat project, but offers no benefit to OpenWrt. The initial
reason for it was to be a replacement for libstdcpp as it is smaller
and lacks compatibility for C++98. Unfortunately, compiling several
packages with it results in larger ipk sizes.
While not a member of the packages feed, this will be moved to
packages-abandoned to keep it somewhere.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/libcxxabi/patches')
-rw-r--r-- | package/libs/libcxxabi/patches/010-arm.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/package/libs/libcxxabi/patches/010-arm.patch b/package/libs/libcxxabi/patches/010-arm.patch deleted file mode 100644 index b14609dc62..0000000000 --- a/package/libs/libcxxabi/patches/010-arm.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/src/cxa_exception.h -+++ b/src/cxa_exception.h -@@ -27,6 +27,13 @@ _LIBCXXABI_HIDDEN uint64_t __getExceptio - _LIBCXXABI_HIDDEN void __setExceptionClass ( _Unwind_Exception*, uint64_t); - _LIBCXXABI_HIDDEN bool __isOurExceptionClass(const _Unwind_Exception*); - -+#if defined(__arm__) && defined(__GNUC__) -+// missing values from _Unwind_Reason_Code enum -+#define _URC_FATAL_PHASE2_ERROR ((_Unwind_Reason_Code)2) -+#define _URC_FATAL_PHASE1_ERROR ((_Unwind_Reason_Code)3) -+#define _URC_NORMAL_STOP ((_Unwind_Reason_Code)4) -+#endif -+ - struct _LIBCXXABI_HIDDEN __cxa_exception { - #if defined(__LP64__) || defined(_WIN64) || defined(_LIBCXXABI_ARM_EHABI) - // Now _Unwind_Exception is marked with __attribute__((aligned)), ---- a/src/cxa_personality.cpp -+++ b/src/cxa_personality.cpp -@@ -1108,7 +1108,7 @@ __gxx_personality_v0(_Unwind_State state - - // Check the undocumented force unwinding behavior - bool is_force_unwinding = state & _US_FORCE_UNWIND; -- state &= ~_US_FORCE_UNWIND; -+ state = (_Unwind_State)(state & ~_US_FORCE_UNWIND); - - scan_results results; - switch (state) { |