From: Szabolcs Nagy Date: Thu, 9 Jul 2015 08:53:30 +0000 (+0100) Subject: [AArch64][BZ 18648] change greg_t definition in ucontext.h X-Git-Tag: upstream/2.30~5838 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8528e771c0f31ebb8ac2470e2cf7ee9a50693e2;p=external%2Fglibc.git [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). --- diff --git a/ChangeLog b/ChangeLog index 413a1c8..95f3ddf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ 2015-07-09 Szabolcs Nagy + [BZ #18400] + [BZ #18648] * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo): 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 diff --git a/NEWS b/NEWS index 40472a4..fffbb43 100644 --- a/NEWS +++ b/NEWS @@ -21,13 +21,13 @@ Version 2.22 18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18116, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18217, 18219, 18220, 18221, 18234, 18244, 18245, 18247, 18287, 18319, 18324, 18333, - 18346, 18371, 18383, 18397, 18409, 18410, 18412, 18418, 18422, 18434, - 18435, 18444, 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, - 18498, 18502, 18507, 18508, 18512, 18513, 18519, 18520, 18522, 18527, - 18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, 18542, - 18544, 18545, 18546, 18547, 18549, 18553, 18557, 18558, 18569, 18583, - 18585, 18586, 18592, 18593, 18594, 18602, 18612, 18613, 18619, 18633, - 18641, 18643. + 18346, 18371, 18383, 18397, 18400, 18409, 18410, 18412, 18418, 18422, + 18434, 18435, 18444, 18468, 18469, 18470, 18479, 18483, 18495, 18496, + 18497, 18498, 18502, 18507, 18508, 18512, 18513, 18519, 18520, 18522, + 18527, 18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, + 18542, 18544, 18545, 18546, 18547, 18549, 18553, 18557, 18558, 18569, + 18583, 18585, 18586, 18592, 18593, 18594, 18602, 18612, 18613, 18619, + 18633, 18641, 18643, 18648. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. 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;