From 5df2dc63e96808afb1602d4338e30dbca560a656 Mon Sep 17 00:00:00
From: Kyle McMartin <kyle(a)redhat.com>
Date: Mon, 9 Jun 2014 21:06:26 +0200
Subject: [PATCH] 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(a)redhat.com>
Signed-off-by: Mark Wielaard <mjw(a)redhat.com>
It seems to do the right thing with old/new aarch64 glibc so I pushed
this to master now.