[AArch64] Fix elf_greg_t on ILP32

Use uint64_t instead of unsigned long.
This commit is contained in:
Szabolcs Nagy 2017-08-25 18:21:35 +01:00
parent a6ccdb0839
commit 39e7a5a668
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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