From 66100609bb7fb01811e64318bec3018d0bc9abd5 Mon Sep 17 00:00:00 2001 From: "homeip.net!davidm" Date: Thu, 19 Aug 2004 10:45:23 +0000 Subject: [PATCH] Add alias required by ia64 unwind specification. (Logical change 1.246) --- src/unwind/Backtrace.c | 5 ++++- src/unwind/DeleteException.c | 5 ++++- src/unwind/FindEnclosingFunction.c | 5 ++++- src/unwind/ForcedUnwind.c | 6 +++++- src/unwind/GetBSP.c | 5 ++++- src/unwind/GetCFA.c | 5 ++++- src/unwind/GetDataRelBase.c | 5 ++++- src/unwind/GetGR.c | 5 ++++- src/unwind/GetIP.c | 5 ++++- src/unwind/GetLanguageSpecificData.c | 6 +++++- src/unwind/GetRegionStart.c | 5 ++++- src/unwind/GetTextRelBase.c | 5 ++++- src/unwind/RaiseException.c | 4 ++++ src/unwind/Resume.c | 5 ++++- src/unwind/Resume_or_Rethrow.c | 6 +++++- src/unwind/SetGR.c | 5 ++++- src/unwind/SetIP.c | 5 ++++- 17 files changed, 71 insertions(+), 16 deletions(-) diff --git a/src/unwind/Backtrace.c b/src/unwind/Backtrace.c index 82c2a615..99c20fcc 100644 --- a/src/unwind/Backtrace.c +++ b/src/unwind/Backtrace.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -51,3 +51,6 @@ _Unwind_Backtrace (_Unwind_Trace_Fn trace, void *trace_parameter) return _URC_FATAL_PHASE1_ERROR; } } + +_Unwind_Reason_Code __libunwind_Unwind_Backtrace (_Unwind_Trace_Fn, void *) + ALIAS (_Unwind_Backtrace); diff --git a/src/unwind/DeleteException.c b/src/unwind/DeleteException.c index ce0c700b..5104b73b 100644 --- a/src/unwind/DeleteException.c +++ b/src/unwind/DeleteException.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -33,3 +33,6 @@ _Unwind_DeleteException (struct _Unwind_Exception *exception_object) if (cleanup) (*cleanup) (_URC_FOREIGN_EXCEPTION_CAUGHT, exception_object); } + +void __libunwind_Unwind_DeleteException (struct _Unwind_Exception *) + ALIAS (_Unwind_DeleteException); diff --git a/src/unwind/FindEnclosingFunction.c b/src/unwind/FindEnclosingFunction.c index 8a6e47e3..782aafe2 100644 --- a/src/unwind/FindEnclosingFunction.c +++ b/src/unwind/FindEnclosingFunction.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -36,3 +36,6 @@ _Unwind_FindEnclosingFunction (void *ip) return (void *) pi.start_ip; } + +void *__libunwind_Unwind_FindEnclosingFunction (void *) + ALIAS (_Unwind_FindEnclosingFunction); diff --git a/src/unwind/ForcedUnwind.c b/src/unwind/ForcedUnwind.c index 29739f44..bd334d35 100644 --- a/src/unwind/ForcedUnwind.c +++ b/src/unwind/ForcedUnwind.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -46,3 +46,7 @@ _Unwind_ForcedUnwind (struct _Unwind_Exception *exception_object, return _Unwind_Phase2 (exception_object, &context); } + +_Unwind_Reason_Code __libunwind_Unwind_ForcedUnwind (struct _Unwind_Exception*, + _Unwind_Stop_Fn, void *) + ALIAS (_Unwind_ForcedUnwind); diff --git a/src/unwind/GetBSP.c b/src/unwind/GetBSP.c index de8df23f..d53e4011 100644 --- a/src/unwind/GetBSP.c +++ b/src/unwind/GetBSP.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -37,3 +37,6 @@ _Unwind_GetBSP (struct _Unwind_Context *context) return 0; #endif } + +unsigned long __libunwind_Unwind_GetBSP (struct _Unwind_Context *) + ALIAS (_Unwind_GetBSP); diff --git a/src/unwind/GetCFA.c b/src/unwind/GetCFA.c index cd47292c..bd8559b8 100644 --- a/src/unwind/GetCFA.c +++ b/src/unwind/GetCFA.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -33,3 +33,6 @@ _Unwind_GetCFA (struct _Unwind_Context *context) unw_get_reg (&context->cursor, UNW_REG_SP, &val); return val; } + +unsigned long __libunwind_Unwind_GetCFA (struct _Unwind_Context *) + ALIAS (_Unwind_GetCFA); diff --git a/src/unwind/GetDataRelBase.c b/src/unwind/GetDataRelBase.c index 484aa310..cb604766 100644 --- a/src/unwind/GetDataRelBase.c +++ b/src/unwind/GetDataRelBase.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -34,3 +34,6 @@ _Unwind_GetDataRelBase (struct _Unwind_Context *context) unw_get_proc_info (&context->cursor, &pi); return pi.gp; } + +unsigned long __libunwind_Unwind_GetDataRelBase (struct _Unwind_Context *) + ALIAS (_Unwind_GetDataRelBase); diff --git a/src/unwind/GetGR.c b/src/unwind/GetGR.c index 276dc782..3a875e80 100644 --- a/src/unwind/GetGR.c +++ b/src/unwind/GetGR.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -38,3 +38,6 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index) unw_get_reg (&context->cursor, index, &val); return val; } + +unsigned long __libunwind_Unwind_GetGR (struct _Unwind_Context *, int) + ALIAS (_Unwind_GetGR); diff --git a/src/unwind/GetIP.c b/src/unwind/GetIP.c index b4528159..6fd48a2e 100644 --- a/src/unwind/GetIP.c +++ b/src/unwind/GetIP.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -33,3 +33,6 @@ _Unwind_GetIP (struct _Unwind_Context *context) unw_get_reg (&context->cursor, UNW_REG_IP, &val); return val; } + +unsigned long __libunwind_Unwind_GetIP (struct _Unwind_Context *) + ALIAS (_Unwind_GetIP); diff --git a/src/unwind/GetLanguageSpecificData.c b/src/unwind/GetLanguageSpecificData.c index dc4f1aec..eefcec75 100644 --- a/src/unwind/GetLanguageSpecificData.c +++ b/src/unwind/GetLanguageSpecificData.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -34,3 +34,7 @@ _Unwind_GetLanguageSpecificData (struct _Unwind_Context *context) unw_get_proc_info (&context->cursor, &pi); return pi.lsda; } + +unsigned long +__libunwind_Unwind_GetLanguageSpecificData (struct _Unwind_Context *) + ALIAS (_Unwind_GetLanguageSpecificData); diff --git a/src/unwind/GetRegionStart.c b/src/unwind/GetRegionStart.c index 71bbe5da..11c34605 100644 --- a/src/unwind/GetRegionStart.c +++ b/src/unwind/GetRegionStart.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -34,3 +34,6 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context) unw_get_proc_info (&context->cursor, &pi); return pi.start_ip; } + +unsigned long __libunwind_Unwind_GetRegionStart (struct _Unwind_Context *) + ALIAS (_Unwind_GetRegionStart); diff --git a/src/unwind/GetTextRelBase.c b/src/unwind/GetTextRelBase.c index 4c187701..a53ca9b1 100644 --- a/src/unwind/GetTextRelBase.c +++ b/src/unwind/GetTextRelBase.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -30,3 +30,6 @@ _Unwind_GetTextRelBase (struct _Unwind_Context *context) { return 0; } + +unsigned long __libunwind_Unwind_GetTextRelBase (struct _Unwind_Context *) + ALIAS (_Unwind_GetTextRelBase); diff --git a/src/unwind/RaiseException.c b/src/unwind/RaiseException.c index 3bc9768c..a5e05f09 100644 --- a/src/unwind/RaiseException.c +++ b/src/unwind/RaiseException.c @@ -97,3 +97,7 @@ _Unwind_RaiseException (struct _Unwind_Exception *exception_object) return _Unwind_Phase2 (exception_object, &context); } + +_Unwind_Reason_Code +__libunwind_Unwind_RaiseException (struct _Unwind_Exception *) + ALIAS (_Unwind_RaiseException); diff --git a/src/unwind/Resume.c b/src/unwind/Resume.c index 88242e17..ddf9d2cc 100644 --- a/src/unwind/Resume.c +++ b/src/unwind/Resume.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -37,3 +37,6 @@ _Unwind_Resume (struct _Unwind_Exception *exception_object) _Unwind_Phase2 (exception_object, &context); abort (); } + +void __libunwind_Unwind_Resume (struct _Unwind_Exception *) + ALIAS (_Unwind_Resume); diff --git a/src/unwind/Resume_or_Rethrow.c b/src/unwind/Resume_or_Rethrow.c index 84736101..ece0ced3 100644 --- a/src/unwind/Resume_or_Rethrow.c +++ b/src/unwind/Resume_or_Rethrow.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -41,3 +41,7 @@ _Unwind_Resume_or_Rethrow (struct _Unwind_Exception *exception_object) else return _Unwind_RaiseException (exception_object); } + +_Unwind_Reason_Code +__libunwind_Unwind_Resume_or_Rethrow (struct _Unwind_Exception *) + ALIAS (_Unwind_Resume_or_Rethrow); diff --git a/src/unwind/SetGR.c b/src/unwind/SetGR.c index 6ca9bf58..056bfc70 100644 --- a/src/unwind/SetGR.c +++ b/src/unwind/SetGR.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -36,3 +36,6 @@ _Unwind_SetGR (struct _Unwind_Context *context, int index, unw_set_reg (&context->cursor, UNW_IA64_NAT + (index - UNW_IA64_GR), 0); #endif } + +void __libunwind_Unwind_SetGR (struct _Unwind_Context *, int, unsigned long) + ALIAS (_Unwind_SetGR); diff --git a/src/unwind/SetIP.c b/src/unwind/SetIP.c index 1794c23a..0652a14a 100644 --- a/src/unwind/SetIP.c +++ b/src/unwind/SetIP.c @@ -1,5 +1,5 @@ /* libunwind - a platform-independent unwind library - Copyright (C) 2003 Hewlett-Packard Co + Copyright (C) 2003-2004 Hewlett-Packard Co Contributed by David Mosberger-Tang This file is part of libunwind. @@ -30,3 +30,6 @@ _Unwind_SetIP (struct _Unwind_Context *context, unsigned long new_value) { unw_set_reg (&context->cursor, UNW_REG_IP, new_value); } + +void __libunwind_Unwind_SetIP (struct _Unwind_Context *, unsigned long) + ALIAS (_Unwind_SetIP);