diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-07-09 09:53:30 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2015-07-09 09:53:30 +0100 |
commit | b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2 (patch) | |
tree | e7bea5d959e6742c1868311993dc313b5a191dc2 /sysdeps | |
parent | 14d623bcd178d336b47fdb4f0c973720d56d907c (diff) | |
download | glibc-b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2.tar glibc-b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2.tar.gz glibc-b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2.tar.bz2 glibc-b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2.zip |
[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).
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h b/sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h index db7a7c1a7e..e7268ce289 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 <signal.h>. */ #include <bits/sigcontext.h> -typedef int greg_t; +typedef elf_greg_t greg_t; /* Container for all general registers. */ typedef elf_gregset_t gregset_t; |