arch-power: Update hello test program
authorSandipan Das <sandipan@linux.vnet.ibm.com>
Thu, 7 Jun 2018 14:46:12 +0000 (20:16 +0530)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 24 Jan 2021 03:48:26 +0000 (03:48 +0000)
commit6b910a9dfd6e8b2e5f69043b88df8f3a720cdde6
treee50f4a1390c74724eaeeeac9053befc72d543fda
parent1a67a905db5b51ca9112da8ffa259e3b5e5daad2
arch-power: Update hello test program

This updates the hello test program binary to an equivalent
64-bit little endian executable. Since this binary is built
with a recent toolchain, the kernel version provided by the
uname system call is ramped up to be able to meet the minimum
version required by glibc. This binary also uses the readlink
system call and the Move From Time Base (mftb) instruction.
So, placeholder code is added for these.

Change-Id: I645b344e8582f938711b75488bd25899c374cca3
Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com>
src/arch/power/isa/decoder.isa
src/arch/power/linux/process.cc
tests/test-progs/hello/bin/power/linux/hello [new file with mode: 0755]