aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool/elf.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-11-12 13:46:06 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-11-12 14:47:54 +1100
commit2c7645b0f7d1014f2636393de7906c6bfd25939f (patch)
tree4ac37971e808e324b428551a9836bf5934bbad29 /tools/objtool/elf.h
parentpowerpc/io: Fix the IO workarounds code to work with Radix (diff)
downloadlinux-dev-2c7645b0f7d1014f2636393de7906c6bfd25939f.tar.xz
linux-dev-2c7645b0f7d1014f2636393de7906c6bfd25939f.zip
selftests/powerpc: Fix wild_bctr test to work on ppc64
The selftest I recently added to test branching to an out-of-bounds NIP doesn't work on 64-bit big endian. It does fail but not in the right way. That is it SEGVs trying to load from the opd at BAD_NIP, but it never gets as far as branching to BAD_NIP. To fix it we need to create an opd which is reachable but which holds the bad address. Fixes: b7683fc66eba ("selftests/powerpc: Add a test of wild bctr") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/objtool/elf.h')
0 files changed, 0 insertions, 0 deletions