elfutils: fix aarch64.
This commit is contained in:
parent
2f157530af
commit
faaff9d341
1 changed files with 2 additions and 5 deletions
|
@ -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 2015-11-27 14:36:29.000000000 +0100
|
||||||
+++ backends/aarch64_initreg.c 2016-08-09 03:47:25.428560159 +0200
|
+++ backends/aarch64_initreg.c 2016-08-09 03:47:25.428560159 +0200
|
||||||
@@ -33,7 +33,9 @@
|
@@ -33,7 +33,6 @@
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#ifdef __aarch64__
|
#ifdef __aarch64__
|
||||||
+#if defined(__GLIBC__)
|
-# include <linux/uio.h>
|
||||||
# include <linux/uio.h>
|
|
||||||
+#endif
|
|
||||||
# include <sys/user.h>
|
# include <sys/user.h>
|
||||||
# include <sys/ptrace.h>
|
# include <sys/ptrace.h>
|
||||||
/* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
|
/* 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))
|
if (! setfunc (64, 32, dwarf_fregs, arg))
|
||||||
return false;
|
return false;
|
||||||
--- /tmp/musl/builddir/elfutils-0.166/backends/aarch64_initreg.c 2016-08-09 03:49:39.071557467 +0200
|
|
||||||
|
|
Loading…
Reference in a new issue