Skip to content

Commit

Permalink
[AArch64][BZ 18648] change greg_t definition in ucontext.h
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Szabolcs Nagy committed Jul 9, 2015
1 parent 14d623b commit b8528e7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

Expand Down
14 changes: 7 additions & 7 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b8528e7

Please sign in to comment.