mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 03:53:43 +01:00
Add alias required by ia64 unwind specification.
(Logical change 1.246)
This commit is contained in:
parent
ccdd644cf2
commit
66100609bb
17 changed files with 71 additions and 16 deletions
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
|
@ -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 <davidm@hpl.hp.com>
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue