mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-02 04:52:53 +01:00
(local_resume): "static inline" version of what used to be ia64_local_resume().
(ia64_local_resume): Declare as "HIDDEN" (not "HIDDEN inline"), use local_resume(). (unw_resume): For UNW_LOCAL_ONLY case, call local_resume(). (Logical change 1.70)
This commit is contained in:
parent
81f4297d5a
commit
e4f251b98a
1 changed files with 9 additions and 3 deletions
|
@ -31,8 +31,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
|
||||||
#ifndef UNW_REMOTE_ONLY
|
#ifndef UNW_REMOTE_ONLY
|
||||||
|
|
||||||
HIDDEN inline int
|
static inline int
|
||||||
ia64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg)
|
local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg)
|
||||||
{
|
{
|
||||||
unw_word_t val, sol, sof, pri_unat, n, pfs;
|
unw_word_t val, sol, sof, pri_unat, n, pfs;
|
||||||
struct cursor *c = (struct cursor *) cursor;
|
struct cursor *c = (struct cursor *) cursor;
|
||||||
|
@ -139,6 +139,12 @@ ia64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg)
|
||||||
_Uia64_install_context (c, pri_unat, (unw_word_t *) &extra);
|
_Uia64_install_context (c, pri_unat, (unw_word_t *) &extra);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HIDDEN int
|
||||||
|
ia64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg)
|
||||||
|
{
|
||||||
|
return local_resume (as, cursor, arg);
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* !UNW_REMOTE_ONLY */
|
#endif /* !UNW_REMOTE_ONLY */
|
||||||
|
|
||||||
#ifndef UNW_LOCAL_ONLY
|
#ifndef UNW_LOCAL_ONLY
|
||||||
|
@ -231,7 +237,7 @@ unw_resume (unw_cursor_t *cursor)
|
||||||
struct cursor *c = (struct cursor *) cursor;
|
struct cursor *c = (struct cursor *) cursor;
|
||||||
|
|
||||||
#ifdef UNW_LOCAL_ONLY
|
#ifdef UNW_LOCAL_ONLY
|
||||||
return ia64_local_resume (c->as, cursor, c->as_arg);
|
return local_resume (c->as, cursor, c->as_arg);
|
||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Reference in a new issue