1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-22 08:10:30 +01:00

Adjust for "ia64_rse" to "rse" prefix change.

2005/02/23 12:55:45-08:00 mostang.com!davidm
(inlined_uc_addr): Adjust for ALWAYS_INLINE change.

(Logical change 1.290)
This commit is contained in:
mostang.com!davidm 2005-05-03 09:13:17 +00:00
parent 7f8b54ae5c
commit 9f3360a546

View file

@ -1,5 +1,5 @@
/* libunwind - a platform-independent unwind library /* libunwind - a platform-independent unwind library
Copyright (C) 2001-2004 Hewlett-Packard Co Copyright (C) 2001-2005 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com> Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind. This file is part of libunwind.
@ -51,7 +51,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#if !defined(HAVE_SYS_UC_ACCESS_H) && !defined(UNW_REMOTE_ONLY) #if !defined(HAVE_SYS_UC_ACCESS_H) && !defined(UNW_REMOTE_ONLY)
static inline ALWAYS_INLINE void * static ALWAYS_INLINE void *
inlined_uc_addr (ucontext_t *uc, int reg, uint8_t *nat_bitnr) inlined_uc_addr (ucontext_t *uc, int reg, uint8_t *nat_bitnr)
{ {
unw_word_t reg_addr; unw_word_t reg_addr;
@ -566,7 +566,7 @@ rbs_contains (struct rbs_area *rbs, unw_word_t bsp)
static inline ia64_loc_t static inline ia64_loc_t
rbs_get_rnat_loc (struct rbs_area *rbs, unw_word_t bsp) rbs_get_rnat_loc (struct rbs_area *rbs, unw_word_t bsp)
{ {
unw_word_t rnat_addr = ia64_rse_rnat_addr (bsp); unw_word_t rnat_addr = rse_rnat_addr (bsp);
ia64_loc_t rnat_loc; ia64_loc_t rnat_loc;
if (rbs_contains (rbs, rnat_addr)) if (rbs_contains (rbs, rnat_addr))
@ -600,7 +600,7 @@ ia64_get_stacked (struct cursor *c, unw_word_t reg,
assert (reg >= 32 && reg < 128); assert (reg >= 32 && reg < 128);
addr = ia64_rse_skip_regs (c->bsp, regs_to_skip); addr = rse_skip_regs (c->bsp, regs_to_skip);
if (locp) if (locp)
*locp = rbs_loc (rbs, addr); *locp = rbs_loc (rbs, addr);
if (rnat_locp) if (rnat_locp)
@ -614,7 +614,7 @@ ia64_get_stacked (struct cursor *c, unw_word_t reg,
/* The UNaT slot # calculation is identical to the one for RNaT slots, /* The UNaT slot # calculation is identical to the one for RNaT slots,
but for readability/clarity, we don't want to use but for readability/clarity, we don't want to use
ia64_rnat_slot_num() directly. */ ia64_rnat_slot_num() directly. */
#define ia64_unat_slot_num(addr) ia64_rse_slot_num(addr) #define ia64_unat_slot_num(addr) rse_slot_num(addr)
/* XXX should be in glibc: */ /* XXX should be in glibc: */
#ifndef IA64_SC_FLAG_ONSTACK #ifndef IA64_SC_FLAG_ONSTACK