From: Szabolcs Nagy Date: Fri, 25 Aug 2017 17:21:35 +0000 (+0100) Subject: [AArch64] Fix elf_greg_t on ILP32 X-Git-Tag: glibc-2.27~1074 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39e7a5a66828a60008543db5f03f46dc7081668b;p=thirdparty%2Fglibc.git [AArch64] Fix elf_greg_t on ILP32 Use uint64_t instead of unsigned long. --- diff --git a/ChangeLog b/ChangeLog index f2c420423d2..56c80c61942 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-08-25 Szabolcs Nagy + + * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t): + Use uint64_t instead of unsigned long. + 2017-08-25 Joseph Myers * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to diff --git a/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h b/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h index 7a7b1d0742a..5c96bc5f17e 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h +++ b/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h @@ -32,11 +32,12 @@ #include #include #include +#include __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