mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 09:07:38 +01:00
For FreeBSD/i386, add real offset values for FPU context fields.
This commit is contained in:
parent
6f7b335e89
commit
53f7e650e0
1 changed files with 33 additions and 32 deletions
|
@ -83,51 +83,52 @@
|
||||||
#define LINUX_FPSTATE_XMM6_OFF 0x170
|
#define LINUX_FPSTATE_XMM6_OFF 0x170
|
||||||
#define LINUX_FPSTATE_XMM7_OFF 0x180
|
#define LINUX_FPSTATE_XMM7_OFF 0x180
|
||||||
|
|
||||||
|
/* FreeBSD-specific definitions: */
|
||||||
|
|
||||||
#define FREEBSD_SC_UCONTEXT_OFF 0x14
|
#define FREEBSD_SC_UCONTEXT_OFF 0x14
|
||||||
#define FREEBSD_UC_MCONTEXT_OFF 0x10
|
#define FREEBSD_UC_MCONTEXT_OFF 0x10
|
||||||
|
|
||||||
#define FREEBSD_UC_MCONTEXT_EAX_OFF 0x40
|
#define FREEBSD_UC_MCONTEXT_GS_OFF 0x14
|
||||||
#define FREEBSD_UC_MCONTEXT_EBX_OFF 0x34
|
#define FREEBSD_UC_MCONTEXT_FS_OFF 0x18
|
||||||
#define FREEBSD_UC_MCONTEXT_ECX_OFF 0x3c
|
#define FREEBSD_UC_MCONTEXT_ES_OFF 0x1c
|
||||||
#define FREEBSD_UC_MCONTEXT_EDX_OFF 0x38
|
#define FREEBSD_UC_MCONTEXT_DS_OFF 0x20
|
||||||
#define FREEBSD_UC_MCONTEXT_EDI_OFF 0x24
|
#define FREEBSD_UC_MCONTEXT_EDI_OFF 0x24
|
||||||
#define FREEBSD_UC_MCONTEXT_ESI_OFF 0x28
|
#define FREEBSD_UC_MCONTEXT_ESI_OFF 0x28
|
||||||
#define FREEBSD_UC_MCONTEXT_EBP_OFF 0x2c
|
#define FREEBSD_UC_MCONTEXT_EBP_OFF 0x2c
|
||||||
|
#define FREEBSD_UC_MCONTEXT_EBX_OFF 0x34
|
||||||
|
#define FREEBSD_UC_MCONTEXT_EDX_OFF 0x38
|
||||||
|
#define FREEBSD_UC_MCONTEXT_ECX_OFF 0x3c
|
||||||
|
#define FREEBSD_UC_MCONTEXT_EAX_OFF 0x40
|
||||||
|
#define FREEBSD_UC_MCONTEXT_TRAPNO_OFF 0x44
|
||||||
#define FREEBSD_UC_MCONTEXT_EIP_OFF 0x4c
|
#define FREEBSD_UC_MCONTEXT_EIP_OFF 0x4c
|
||||||
#define FREEBSD_UC_MCONTEXT_ESP_OFF 0x58
|
#define FREEBSD_UC_MCONTEXT_ESP_OFF 0x58
|
||||||
#define FREEBSD_UC_MCONTEXT_FS_OFF 0x18
|
|
||||||
#define FREEBSD_UC_MCONTEXT_GS_OFF 0x14
|
|
||||||
#define FREEBSD_UC_MCONTEXT_DS_OFF 0x20
|
|
||||||
#define FREEBSD_UC_MCONTEXT_ES_OFF 0x1c
|
|
||||||
#define FREEBSD_UC_MCONTEXT_SS_OFF 0x5c
|
|
||||||
#define FREEBSD_UC_MCONTEXT_CS_OFF 0x50
|
#define FREEBSD_UC_MCONTEXT_CS_OFF 0x50
|
||||||
#define FREEBSD_UC_MCONTEXT_EFLAGS_OFF 0x54
|
#define FREEBSD_UC_MCONTEXT_EFLAGS_OFF 0x54
|
||||||
#define FREEBSD_UC_MCONTEXT_OWNEDFP_OFF 0x68
|
#define FREEBSD_UC_MCONTEXT_SS_OFF 0x5c
|
||||||
#define FREEBSD_UC_MCONTEXT_FPFORMAT_OFF 0x64
|
|
||||||
#define FREEBSD_UC_MCONTEXT_FPSTATE_OFF 0x70
|
|
||||||
#define FREEBSD_UC_MCONTEXT_MC_LEN_OFF 0x60
|
#define FREEBSD_UC_MCONTEXT_MC_LEN_OFF 0x60
|
||||||
#define FREEBSD_UC_MCONTEXT_TRAPNO_OFF 0x44
|
#define FREEBSD_UC_MCONTEXT_FPFORMAT_OFF 0x64
|
||||||
|
#define FREEBSD_UC_MCONTEXT_OWNEDFP_OFF 0x68
|
||||||
|
#define FREEBSD_UC_MCONTEXT_FPSTATE_OFF 0x70
|
||||||
|
|
||||||
#define FREEBSD_UC_MCONTEXT_CW_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_CW_OFF 0x70
|
||||||
#define FREEBSD_UC_MCONTEXT_SW_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_SW_OFF 0x74
|
||||||
#define FREEBSD_UC_MCONTEXT_TAG_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_TAG_OFF 0x78
|
||||||
#define FREEBSD_UC_MCONTEXT_CSSEL_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_IPOFF_OFF 0x7c
|
||||||
#define FREEBSD_UC_MCONTEXT_IPOFF_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_CSSEL_OFF 0x80
|
||||||
#define FREEBSD_UC_MCONTEXT_DATAOFF_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_DATAOFF_OFF 0x84
|
||||||
#define FREEBSD_US_MCONTEXT_DATASEL_OFF 0x11111
|
#define FREEBSD_US_MCONTEXT_DATASEL_OFF 0x88
|
||||||
#define FREEBSD_UC_MCONTEXT_MXCSR_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_ST0_OFF 0x8c
|
||||||
#define FREEBSD_UC_MCONTEXT_ST0_OFF 0x11111
|
|
||||||
|
|
||||||
#define FREEBSD_UC_MCONTEXT_CW_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_CW_XMM_OFF 0x70
|
||||||
#define FREEBSD_UC_MCONTEXT_SW_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_SW_XMM_OFF 0x72
|
||||||
#define FREEBSD_UC_MCONTEXT_CSSEL_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_TAG_XMM_OFF 0x74
|
||||||
#define FREEBSD_UC_MCONTEXT_TAG_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_IPOFF_XMM_OFF 0x78
|
||||||
#define FREEBSD_UC_MCONTEXT_IPOFF_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_CSSEL_XMM_OFF 0x7c
|
||||||
#define FREEBSD_UC_MCONTEXT_DATAOFF_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_DATAOFF_XMM_OFF 0x80
|
||||||
#define FREEBSD_US_MCONTEXT_DATASEL_XMM_OFF 0x11111
|
#define FREEBSD_US_MCONTEXT_DATASEL_XMM_OFF 0x84
|
||||||
#define FREEBSD_UC_MCONTEXT_MXCSR_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_MXCSR_XMM_OFF 0x88
|
||||||
#define FREEBSD_UC_MCONTEXT_ST0_XMM_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_ST0_XMM_OFF 0x90
|
||||||
#define FREEBSD_UC_MCONTEXT_XMM0_OFF 0x11111
|
#define FREEBSD_UC_MCONTEXT_XMM0_OFF 0x110
|
||||||
|
|
||||||
#define FREEBSD_UC_MCONTEXT_MC_LEN_VAL 0x280
|
#define FREEBSD_UC_MCONTEXT_MC_LEN_VAL 0x280
|
||||||
#define FREEBSD_UC_MCONTEXT_FPFMT_NODEV 0x10000
|
#define FREEBSD_UC_MCONTEXT_FPFMT_NODEV 0x10000
|
||||||
|
|
Loading…
Reference in a new issue