selftests/powerpc/dexcr: Add -no-pie to hashchk tests
authorBenjamin Gray <bgray@linux.ibm.com>
Wed, 17 Apr 2024 11:23:17 +0000 (21:23 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 3 May 2024 10:46:51 +0000 (20:46 +1000)
commitd7228a58d9438d6f219dc7f33eab0d1980b3bd2f
treeb739650cbc774b6865b70fbdf00628b0a28a53b2
parent4071739249fd2e647e7058dbab0db4ddc0a0c427
selftests/powerpc/dexcr: Add -no-pie to hashchk tests

The hashchk tests want to verify that the hash key is changed over exec.
It does so by calculating hashes at the same address across an exec.
This is made simpler by disabling PIE functionality, so we can
re-execute ourselves and be using the same addresses in the child.

While -fno-pie is already added, -no-pie is also required.

Fixes: bdb07f35a52f ("selftests/powerpc/dexcr: Add hashst/hashchk test")
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240417112325.728010-2-bgray@linux.ibm.com
tools/testing/selftests/powerpc/dexcr/Makefile