about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2017-08-25 18:21:35 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2017-08-25 18:21:35 +0100
commit39e7a5a66828a60008543db5f03f46dc7081668b (patch)
tree3258fb1d2a7bbdfe0223601d50c9ab23bb9e3730 /sysdeps
parenta6ccdb0839756c00377e99ac37f9721028f5d719 (diff)
downloadglibc-39e7a5a66828a60008543db5f03f46dc7081668b.tar.gz
glibc-39e7a5a66828a60008543db5f03f46dc7081668b.tar.xz
glibc-39e7a5a66828a60008543db5f03f46dc7081668b.zip
[AArch64] Fix elf_greg_t on ILP32
Use uint64_t instead of unsigned long.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/sys/procfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h b/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h
index 7a7b1d0742..5c96bc5f17 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h
@@ -32,11 +32,12 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/user.h>
+#include <stdint.h>
 
 __BEGIN_DECLS
 
 /* Type for a general-purpose register.  */
-typedef unsigned long elf_greg_t;
+typedef uint64_t elf_greg_t;
 
 /* And the whole bunch of them.  We could have used `struct
    pt_regs' directly in the typedef, but tradition says that