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)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 24 Jan 2021 03:44:19 +0000 (03:44 +0000)
commit1a67a905db5b51ca9112da8ffa259e3b5e5daad2
tree26414aae57f7a231f9691fa231cff0f679c48300
parentad502b3d7bf7835440c715ff7d14d668988c1ae1
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