This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] aarch64: use <sys/user.h> defined register structures
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 01 Aug 2014 12:42:37 +0200
- Subject: Re: [PATCH] aarch64: use <sys/user.h> defined register structures
> From 5df2dc63e96808afb1602d4338e30dbca560a656 Mon Sep 17 00:00:00 2001
> From: Kyle McMartin <email@example.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 <firstname.lastname@example.org>
> Signed-off-by: Mark Wielaard <email@example.com>
It seems to do the right thing with old/new aarch64 glibc so I pushed
this to master now.