diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-01-09 15:52:51 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-01-10 17:55:42 +0000 |
commit | 46d6137f01d7321172f00f4ae3f697018739396d (patch) | |
tree | 5d8410c343a29d672c76cff57ba48298f56fa4a6 /tests/test-progs/m5-exit | |
parent | 0a36956261c67d61def90e1aefeb6c46568ff167 (diff) | |
download | gem5-46d6137f01d7321172f00f4ae3f697018739396d.tar.xz |
arch-arm, sim-se: Fix incorrect SP handling in clone
The clone syscall is currently broken on aarch64 since the aarch64
code uses an incorrect SP register. Fix this by storing the new stack
pointer in SP_EL0 instead of R13.
Change-Id: Ie17990b4f359608e3b53e5bf625eca53769a6653
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Cc: Giacomo Travaglini <giacomo.travaglini@arm.com>
Cc: Javier Setoain <javier.setoain@arm.com>
Cc: Brandon Potter <Brandon.Potter@amd.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15436
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Diffstat (limited to 'tests/test-progs/m5-exit')
0 files changed, 0 insertions, 0 deletions