summaryrefslogtreecommitdiff
path: root/backends/arm_initreg.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up linux-specific system includesUlf Hermann2017-04-261-1/+3
| | | | | | We only include them where we actually need them and only on linux. Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
* aarch64: use <sys/user.h> defined register structuresKyle McMartin2014-08-011-1/+5
| | | | | | | | | | | glibc now supplies these (compatible) structs instead of including the kernel's <asm/ptrace.h> header, so let's use them. Annoyingly this will cause new elfutils to FTBFS on old glibc, and vice versa. So include a new configure check for the new struct names and use the old ones if they are not avilable. Signed-off-by: Kyle McMartin <kyle@redhat.com> Signed-off-by: Mark Wielaard <mjw@redhat.com>
* backends: add ARM compatible mode to AARCH64Jean Pihet2014-03-301-2/+32
| | | | | | | | | Add the initial register setup for AARCH64 running ARM code (so called compat mode). This makes 'eu-stack -p' happy on ARM binaries while running on a AARCH64 kernel. Signed-off-by: Jean Pihet <jean.pihet@linaro.org> Signed-off-by: Mark Wielaard <mjw@redhat.com>
* backends: Add arm frame_nregs and set_initial_registers_tid.Mark Wielaard2014-01-301-0/+58
This allows CFI unwinding for ARM. It relies on having .debug_frame around which is always the case in our testsuite. All native backtrace tests PASS on arm if debuginfo (for glibc) is installed on the system. Otherwise the tests SKIP. For non-debug unwinding ARM uses EXIDX tables, not .eh_frames, which would have to be translated to CFI to do unwinding without .debug_frame available. Signed-off-by: Mark Wielaard <mjw@redhat.com>