mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-05 01:09:27 +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:
parent
7894f0edc0
commit
1b63be3f89
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue