From b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 9 Jul 2015 09:53:30 +0100 Subject: [AArch64][BZ 18648] change greg_t definition in ucontext.h This is an ABI breaking change, but typedef int greg_t; is not a useful definition on aarch64. greg_t is usually used for defining gregset_t which is used in mcontext_t. The general registers in mcontext_t can only be accessed by target specific code and on aarch64 greg_t is not needed for that so this change is not supposed to break existing code, just fix the definition. [BZ #18648] * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the definition to elf_greg_t. (Added another BZ entry that was missed in the previous commit). --- sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux') diff --git a/sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h b/sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h index db7a7c1..e7268ce 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h @@ -29,7 +29,7 @@ included in . */ #include -typedef int greg_t; +typedef elf_greg_t greg_t; /* Container for all general registers. */ typedef elf_gregset_t gregset_t; -- cgit v1.1