[PATCH] aarch64: use <sys/user.h> defined register structures

Kyle McMartin kmcmarti at redhat.com
Fri Aug 1 12:38:40 UTC 2014


On Fri, Aug 01, 2014 at 12:42:37PM +0200, Mark Wielaard wrote:
> > From 5df2dc63e96808afb1602d4338e30dbca560a656 Mon Sep 17 00:00:00 2001
> > From: Kyle McMartin <kyle at 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 at redhat.com>
> > Signed-off-by: Mark Wielaard <mjw at redhat.com>
> 
> It seems to do the right thing with old/new aarch64 glibc so I pushed
> this to master now.
> 

awesome, thanks very much mark, sorry for the radio silence.

--kyle

> Cheers,
> 
> Mark


More information about the elfutils-devel mailing list