[haiku-commits] haiku: hrev47782 - src/system/kernel/util

  • From: ithamar@xxxxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 31 Aug 2014 01:52:50 +0200 (CEST)

hrev47782 adds 1 changeset to branch 'master'
old head: 780ca2bd158bacffe8fac40f15c8ce1788e3c041
new head: 586995da4728f10831c45615b43139c0d7b36a24
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=586995d+%5E780ca2b

----------------------------------------------------------------------------

586995d: ARM: make ARM C++ unwind stubs panic
  
  As suggested by Francois, thanks for paying attention!

                          [ Ithamar R. Adema <ithamar@xxxxxxxxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev47782
Commit:      586995da4728f10831c45615b43139c0d7b36a24
URL:         http://cgit.haiku-os.org/haiku/commit/?id=586995d
Author:      Ithamar R. Adema <ithamar@xxxxxxxxxxxxxxxxxxx>
Date:        Sat Aug 30 23:50:46 2014 UTC

----------------------------------------------------------------------------

1 file changed, 42 insertions(+), 36 deletions(-)
src/system/kernel/util/kernel_cpp.cpp | 78 +++++++++++++++++--------------

----------------------------------------------------------------------------

diff --git a/src/system/kernel/util/kernel_cpp.cpp 
b/src/system/kernel/util/kernel_cpp.cpp
index 1dad95e..52ee3e6 100644
--- a/src/system/kernel/util/kernel_cpp.cpp
+++ b/src/system/kernel/util/kernel_cpp.cpp
@@ -69,42 +69,6 @@ __cxa_finalize(void* dsoHandle)
 {
 }
 
-/* ARM */
-extern "C" void
-__aeabi_unwind_cpp_pr0(void)
-{
-}
-
-extern "C" void
-__aeabi_unwind_cpp_pr1(void)
-{
-}
-
-extern "C" void
-__aeabi_unwind_cpp_pr2(void)
-{
-}
-
-extern "C" void
-_Unwind_Complete(void)
-{
-}
-
-extern "C" void
-_Unwind_VRS_Set(void)
-{
-}
-
-extern "C" void
-_Unwind_VRS_Get(void)
-{
-}
-
-extern "C" void
-__gnu_unwind_frame(void)
-{
-}
-
 #endif
 
 // full C++ support in the kernel
@@ -282,6 +246,48 @@ __register_frame_info()
        panic("__register_frame_info");
 }
 
+/* ARM */
+extern "C" void
+__aeabi_unwind_cpp_pr0(void)
+{
+       panic("__aeabi_unwind_cpp_pr0");
+}
+
+extern "C" void
+__aeabi_unwind_cpp_pr1(void)
+{
+       panic("__aeabi_unwind_cpp_pr1");
+}
+
+extern "C" void
+__aeabi_unwind_cpp_pr2(void)
+{
+       panic("__aeabi_unwind_cpp_pr2");
+}
+
+extern "C" void
+_Unwind_Complete(void)
+{
+       panic("_Unwind_Complete");
+}
+
+extern "C" void
+_Unwind_VRS_Set(void)
+{
+       panic("_Unwind_VRS_Set");
+}
+
+extern "C" void
+_Unwind_VRS_Get(void)
+{
+       panic("_Unwind_VRS_Get");
+}
+
+extern "C" void
+__gnu_unwind_frame(void)
+{
+       panic("__gnu_unwind_frame");
+}
 
 #endif // __GNUC__ >= 4
 


Other related posts:

  • » [haiku-commits] haiku: hrev47782 - src/system/kernel/util - ithamar