]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[AArch64] Fix elf_greg_t on ILP32
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 25 Aug 2017 17:21:35 +0000 (18:21 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 25 Aug 2017 17:21:35 +0000 (18:21 +0100)
Use uint64_t instead of unsigned long.

ChangeLog
sysdeps/unix/sysv/linux/aarch64/sys/procfs.h

index f2c420423d2d9dab7e1bc8c9e5ea6895b05e44b3..56c80c61942f95fdb6689f3399101655670a8811 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
+       Use uint64_t instead of unsigned long.
+
 2017-08-25  Joseph Myers  <joseph@codesourcery.com>
 
        * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
index 7a7b1d0742afc163c42274ce9a1798f6ecfc6bdd..5c96bc5f17edb0bfafdff24c8e007cdaf55dab0a 100644 (file)
 #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