1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-19 03:25:18 +02:00
libunwind-eh_elf/src/tilegx/offsets.h
Zhi-Gang Liu 790be1e40d Add TileGx platform support to libunwind.
"make check" passed.
======================================================
All 34 tests behaved as expected (2 expected failures)
======================================================
Zhi-Gang Liu @ Tilera
2014-09-08 16:21:53 -04:00

13 lines
375 B
C

/* Linux-specific definitions: */
/* Define various structure offsets to simplify cross-compilation. */
/* Offsets for TILEGX Linux "ucontext_t": */
#define LINUX_UC_FLAGS_OFF 0x0
#define LINUX_UC_LINK_OFF 0x8
#define LINUX_UC_STACK_OFF 0x10
#define LINUX_UC_MCONTEXT_OFF 0x28
#define LINUX_UC_SIGMASK_OFF 0x228
#define LINUX_UC_MCONTEXT_GREGS 0x28