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

Mark Wielaard mjw at redhat.com
Fri Aug 1 10:42:37 UTC 2014


> 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.

Cheers,

Mark


More information about the elfutils-devel mailing list