This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] aarch64: use <sys/user.h> defined register structures
- From: Kyle McMartin <kmcmarti at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 01 Aug 2014 08:38:40 -0400
- Subject: Re: [PATCH] aarch64: use <sys/user.h> defined register structures
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@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@redhat.com>
> > Signed-off-by: Mark Wielaard <mjw@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