aarch64: use <sys/user.h> defined register structures
authorKyle McMartin <kyle@redhat.com>
Mon, 9 Jun 2014 19:06:26 +0000 (21:06 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 1 Aug 2014 10:24:21 +0000 (12:24 +0200)
commitc1e0fcb9311c1d136e20e658449367ad8b7f487d
treea470ee7fb1750a7400d1c7f76d195751845f3ced
parent475849fdb25265706772905b856cd7028c566a71
aarch64: use <sys/user.h> defined register structures

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>
ChangeLog
backends/ChangeLog
backends/aarch64_initreg.c
backends/arm_initreg.c
configure.ac