mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-29 10:17:38 +01:00
441adc46ff
This adds a port to Linux on the IBM Z platform (a.k.a s390x). It only supports the 64-bit ABI. Most functionality is working and all the tests pass with the exception of the coredump tests*. Unwinding is only supported if DWARF unwind information is present. libunwind can't currently make use of the backchain (if present). The getcontext/setcontext functions only preserve/restore a subset of registers. Currently this only consists of callee-saved registers and some parameter registers. Vector registers and access registers are not saved (and aren't callee- saved) by getcontext and cannot currently be modified. They will however be restored unmodified after resuming a context from a signal handler. There is no special libunwind support for setjmp, the functionality is emulated using glibc (I think all the ports do this for modern Linux kernels). * Unwinding on s390x requires floating point register access which the coredump library doesn't currently support. |
||
---|---|---|
.. | ||
_UCD_access_mem.c | ||
_UCD_access_reg_freebsd.c | ||
_UCD_access_reg_linux.c | ||
_UCD_accessors.c | ||
_UCD_create.c | ||
_UCD_destroy.c | ||
_UCD_elf_map_image.c | ||
_UCD_find_proc_info.c | ||
_UCD_get_proc_name.c | ||
_UCD_internal.h | ||
_UCD_lib.h | ||
_UPT_access_fpreg.c | ||
_UPT_elf.c | ||
_UPT_get_dyn_info_list_addr.c | ||
_UPT_put_unwind_info.c | ||
_UPT_resume.c | ||
libunwind-coredump.pc.in | ||
README |
This code is based on "unwinding via ptrace" code from ptrace/ directory. Files with names starting with _UCD_ are substantially changed from their ptrace/_UPT_... progenitors. Files which still have _UPT_... names are either verbiatim copies from ptrace/, or unimplemented stubs.