From 20e1d3e5e2006a4039814ff1da3274006a491d8f Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 17 Sep 2006 00:05:21 +0000 Subject: [PATCH] added _Unwind_* to make the gcc 4 linker happy, but I'm not sure if this is the correct way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18870 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/util/kernel_cpp.cpp | 96 +++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/src/system/kernel/util/kernel_cpp.cpp b/src/system/kernel/util/kernel_cpp.cpp index 32fc90309a..ac39187b64 100644 --- a/src/system/kernel/util/kernel_cpp.cpp +++ b/src/system/kernel/util/kernel_cpp.cpp @@ -99,6 +99,102 @@ puts(const char *string) #endif // __GNUC__ >= 3 +#if __GNUC__ >= 4 + +extern "C" +void +_Unwind_DeleteException() +{ + panic("_Unwind_DeleteException"); +} + +extern "C" +void +_Unwind_Find_FDE() +{ + panic("_Unwind_Find_FDE"); +} + + +extern "C" +void +_Unwind_GetDataRelBase() +{ + panic("_Unwind_GetDataRelBase"); +} + +extern "C" +void +_Unwind_GetGR() +{ + panic("_Unwind_GetGR"); +} + +extern "C" +void +_Unwind_GetIP() +{ + panic("_Unwind_GetIP"); +} + +extern "C" +void +_Unwind_GetLanguageSpecificData() +{ + panic("_Unwind_GetLanguageSpecificData"); +} + +extern "C" +void +_Unwind_GetRegionStart() +{ + panic("_Unwind_GetRegionStart"); +} + +extern "C" +void +_Unwind_GetTextRelBase() +{ + panic("_Unwind_GetTextRelBase"); +} + +extern "C" +void +_Unwind_RaiseException() +{ + panic("_Unwind_RaiseException"); +} + +extern "C" +void +_Unwind_Resume() +{ + panic("_Unwind_Resume"); +} + +extern "C" +void +_Unwind_Resume_or_Rethrow() +{ + panic("_Unwind_Resume_or_Rethrow"); +} + +extern "C" +void +_Unwind_SetGR() +{ + panic("_Unwind_SetGR"); +} + +extern "C" +void +_Unwind_SetIP() +{ + panic("_Unwind_SetIP"); +} + +#endif // __GNUC__ >= 4 + extern "C" void abort()