mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-10 19:23:41 +01:00
(ABI_LINUX): New macro.
(ABI_HPUX): Ditto. (ABI_FREEBSD): Ditto. (ABI_OPENVMS): Ditto. (ABI_NSK): Ditto. (ABI_WINDOWS): Ditto. (unw_addr_space): Add member "abi". (Logical change 1.87)
This commit is contained in:
parent
275253b46b
commit
08230509a3
1 changed files with 12 additions and 0 deletions
|
@ -79,10 +79,19 @@ ia64_loc_t;
|
|||
|
||||
#include "ia64/script.h"
|
||||
|
||||
#define ABI_UNKNOWN 0
|
||||
#define ABI_LINUX 1
|
||||
#define ABI_HPUX 2
|
||||
#define ABI_FREEBSD 3
|
||||
#define ABI_OPENVMS 4
|
||||
#define ABI_NSK 5 /* Tandem/HP Non-Stop Kernel */
|
||||
#define ABI_WINDOWS 6
|
||||
|
||||
struct unw_addr_space
|
||||
{
|
||||
struct unw_accessors acc;
|
||||
int big_endian;
|
||||
int abi; /* abi < 0 => unknown, 0 => SysV, 1 => HP-UX, 2 => Windows */
|
||||
unw_caching_policy_t caching_policy;
|
||||
uint32_t cache_generation;
|
||||
unw_word_t dyn_generation; /* see dyn-common.h */
|
||||
|
@ -91,6 +100,9 @@ struct unw_addr_space
|
|||
struct ia64_script_cache global_cache;
|
||||
};
|
||||
|
||||
/* Note: The ABI numbers in the ABI-markers (.unwabi directive) are
|
||||
not the same as the above ABI numbers (which are more
|
||||
fine-grained). */
|
||||
#define ABI_MARKER_LINUX_SIGTRAMP ((0 << 8) | 's')
|
||||
#define ABI_MARKER_HP_UX_SIGTRAMP ((1 << 8) | 1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue