1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 03:53:43 +01:00

(parse_dynamic): Make it a dummy-function of _U_dyn_op isn't defined, i.e.,

if libunwind-dynamic.h isn't in use (as is the case for the kernel at
	the moment).

(Logical change 1.295)
This commit is contained in:
hp.com!davidm 2005-05-20 11:28:16 +00:00
parent 7894f0edc0
commit 1b63be3f89

View file

@ -689,6 +689,8 @@ desc_spill_sprel_p (unsigned char qp, unw_word t, unsigned char abreg,
#include "unwind_decoder.h"
#ifdef _U_dyn_op
/* parse dynamic unwind info */
static struct ia64_reg_info *
@ -911,6 +913,9 @@ parse_dynamic (struct cursor *c, struct ia64_state_record *sr)
}
return 0;
}
#else
# define parse_dynamic(c,sr) (-UNW_EINVAL)
#endif /* _U_dyn_op */
HIDDEN int