[AArch64][BZ 18648] change greg_t definition in ucontext.h
commitb8528e771c0f31ebb8ac2470e2cf7ee9a50693e2
authorSzabolcs Nagy <nsz@port70.net>
Thu, 9 Jul 2015 08:53:30 +0000 (9 09:53 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Thu, 9 Jul 2015 08:53:30 +0000 (9 09:53 +0100)
treee7bea5d959e6742c1868311993dc313b5a191dc2
parent14d623bcd178d336b47fdb4f0c973720d56d907c
[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).
ChangeLog
NEWS
sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h