patch-include_unwind-cxx_h 822 B

123456789101112131415161718192021
  1. patch from OpenWrt
  2. --- uClibc++-0.2.2.orig/include/unwind-cxx.h 2007-06-04 00:51:12.000000000 +0200
  3. +++ uClibc++-0.2.2/include/unwind-cxx.h 2010-04-02 12:44:02.704723285 +0200
  4. @@ -135,6 +135,7 @@ extern std::unexpected_handler __unexpec
  5. // This is the exception class we report -- "GNUCC++\0".
  6. const _Unwind_Exception_Class __gxx_exception_class
  7. +#ifndef __ARM_EABI_UNWINDER__
  8. = ((((((((_Unwind_Exception_Class) 'G'
  9. << 8 | (_Unwind_Exception_Class) 'N')
  10. << 8 | (_Unwind_Exception_Class) 'U')
  11. @@ -143,6 +144,9 @@ const _Unwind_Exception_Class __gxx_exce
  12. << 8 | (_Unwind_Exception_Class) '+')
  13. << 8 | (_Unwind_Exception_Class) '+')
  14. << 8 | (_Unwind_Exception_Class) '\0');
  15. +#else
  16. += "GNUC++";
  17. +#endif
  18. // GNU C++ personality routine, Version 0.
  19. extern "C" _Unwind_Reason_Code __gxx_personality_v0