aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-07-09 09:53:30 +0100
committerSzabolcs Nagy <nsz@port70.net>2015-07-09 09:53:30 +0100
commitb8528e771c0f31ebb8ac2470e2cf7ee9a50693e2 (patch)
treee7bea5d959e6742c1868311993dc313b5a191dc2
parent14d623bcd178d336b47fdb4f0c973720d56d907c (diff)
downloadglibc-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).
-rw-r--r--ChangeLog4
-rw-r--r--NEWS14
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h2
3 files changed, 12 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 413a1c80a7..95f3ddf3c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
+ [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 <roland@hack.frob.com>
diff --git a/NEWS b/NEWS
index 40472a415a..fffbb43dd0 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 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;