elfutils: fix aarch64.

This commit is contained in:
Christian Neukirchen 2016-09-17 16:53:11 +02:00
parent 2f157530af
commit faaff9d341
1 changed files with 2 additions and 5 deletions

View File

@ -3,13 +3,11 @@ Casting to Dwarf_Word instead of & 0xFFFFFFF should do.
--- backends/aarch64_initreg.c 2015-11-27 14:36:29.000000000 +0100
+++ backends/aarch64_initreg.c 2016-08-09 03:47:25.428560159 +0200
@@ -33,7 +33,9 @@
@@ -33,7 +33,6 @@
#include "system.h"
#include <assert.h>
#ifdef __aarch64__
+#if defined(__GLIBC__)
# include <linux/uio.h>
+#endif
-# include <linux/uio.h>
# include <sys/user.h>
# include <sys/ptrace.h>
/* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
@ -22,4 +20,3 @@ Casting to Dwarf_Word instead of & 0xFFFFFFF should do.
if (! setfunc (64, 32, dwarf_fregs, arg))
return false;
--- /tmp/musl/builddir/elfutils-0.166/backends/aarch64_initreg.c 2016-08-09 03:49:39.071557467 +0200