Rewrite the hppa assembly code to avoid reads from .text, by using the
authorkettenis <kettenis@openbsd.org>
Mon, 9 Jan 2023 13:52:42 +0000 (13:52 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 9 Jan 2023 13:52:42 +0000 (13:52 +0000)
commitd857960c2adb4f01ce6ea2ad1fe7a7b476716dd2
tree3f7d78e101e2dbce21e30fc908440bae756f5b64
parent4bd9ff11abf2fd7ac677cb497a9eea39a0dc4060
Rewrite the hppa assembly code to avoid reads from .text, by using the
standard PIC magic.  This makes the code similar to what we already use
for rcrt0.o.  This makes it ready for execute-only.

Build C code using -fno-jump-tables to make it ready for execute-only.

ok deraadt@, miod@
libexec/ld.so/hppa/Makefile.inc
libexec/ld.so/hppa/ldasm.S