selftests/powerpc/pmu: Link ebb tests with -no-pie
authorJoel Stanley <joel@jms.id.au>
Mon, 29 Oct 2018 11:23:51 +0000 (22:23 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Oct 2018 12:56:21 +0000 (23:56 +1100)
commit98415da03ae6559dc62899fd31e55e194779c45b
tree734a530b39b19c6c94240902397848216baa8323
parent27825349d7b238533a47e3d98b8bb0efd886b752
selftests/powerpc/pmu: Link ebb tests with -no-pie

When running the ebb tests after building on a ppc64le Ubuntu machine:

 $ pmu/ebb/reg_access_test: error while loading shared libraries:
 R_PPC64_ADDR16_HI reloc at 0x000000013a965130 for symbol `' out of
 range

This is because the Ubuntu toolchain builds has PIE enabled by default.
Change it to be always off instead.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/pmu/ebb/Makefile