[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).
This commit is contained in:
Szabolcs Nagy 2015-07-09 09:53:30 +01:00
parent 14d623bcd1
commit b8528e771c
3 changed files with 12 additions and 8 deletions

View File

@ -1,7 +1,11 @@
2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com> 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
[BZ #18400]
[BZ #18648]
* sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo): * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
Fix pr_uid and pr_gid members. Fix pr_uid and pr_gid members.
* sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
definition to elf_greg_t.
2015-07-08 Roland McGrath <roland@hack.frob.com> 2015-07-08 Roland McGrath <roland@hack.frob.com>

14
NEWS
View File

@ -21,13 +21,13 @@ Version 2.22
18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18116, 18125, 18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18116, 18125,
18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18217, 18219, 18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18217, 18219,
18220, 18221, 18234, 18244, 18245, 18247, 18287, 18319, 18324, 18333, 18220, 18221, 18234, 18244, 18245, 18247, 18287, 18319, 18324, 18333,
18346, 18371, 18383, 18397, 18409, 18410, 18412, 18418, 18422, 18434, 18346, 18371, 18383, 18397, 18400, 18409, 18410, 18412, 18418, 18422,
18435, 18444, 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, 18434, 18435, 18444, 18468, 18469, 18470, 18479, 18483, 18495, 18496,
18498, 18502, 18507, 18508, 18512, 18513, 18519, 18520, 18522, 18527, 18497, 18498, 18502, 18507, 18508, 18512, 18513, 18519, 18520, 18522,
18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, 18542, 18527, 18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540,
18544, 18545, 18546, 18547, 18549, 18553, 18557, 18558, 18569, 18583, 18542, 18544, 18545, 18546, 18547, 18549, 18553, 18557, 18558, 18569,
18585, 18586, 18592, 18593, 18594, 18602, 18612, 18613, 18619, 18633, 18583, 18585, 18586, 18592, 18593, 18594, 18602, 18612, 18613, 18619,
18641, 18643. 18633, 18641, 18643, 18648.
* Cache information can be queried via sysconf() function on s390 e.g. with * Cache information can be queried via sysconf() function on s390 e.g. with
_SC_LEVEL1_ICACHE_SIZE as argument. _SC_LEVEL1_ICACHE_SIZE as argument.

View File

@ -29,7 +29,7 @@
included in <signal.h>. */ included in <signal.h>. */
#include <bits/sigcontext.h> #include <bits/sigcontext.h>
typedef int greg_t; typedef elf_greg_t greg_t;
/* Container for all general registers. */ /* Container for all general registers. */
typedef elf_gregset_t gregset_t; typedef elf_gregset_t gregset_t;