arch-power: Fix stack layout for 64-bit execution
authorSandipan Das <sandipan@linux.vnet.ibm.com>
Thu, 7 Jun 2018 14:37:02 +0000 (20:07 +0530)
committerSandipan Das <sandipan@linux.vnet.ibm.com>
Thu, 7 Jun 2018 14:45:27 +0000 (20:15 +0530)
commitc97c626aa944959e3875e3e1c59874c39f6eb776
treeeffb0ad7089ebda09a65a23cb6feeed74d144e16
parent664a94055ebcea876c455f07eae1de12b97ee210
arch-power: Fix stack layout for 64-bit execution

This fixes the call stack layout by changing the size of the
auxiliary vector entries, each of which contain two 64-bit
values. Also, all base addresses for stack contents are now
considered to be 64 bits in order to prevent underflows during
program execution.

Users can now run statically-linked 64-bit ELF ABI v2 compliant
PowerPC LSB ELF executables in syscall emulation mode.

Change-Id: I256399d9344b1b101385e32ad8978325aec9844e
Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com>
src/arch/power/isa_traits.hh
src/arch/power/process.cc