Implement --execute-only (and turn --no-execute-only from a no-op into an
authorkettenis <kettenis@openbsd.org>
Mon, 9 Jan 2023 14:36:38 +0000 (14:36 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 9 Jan 2023 14:36:38 +0000 (14:36 +0000)
commit754e8b3d331df0029595c848486ad20597337c4d
treefe609ba0424243ffb847d47e171752bac38ccab5
parentf1727d29cf43b62cc025f759a2778bcc08d5aeb2
Implement --execute-only (and turn --no-execute-only from a no-op into an
options that does the opposite).

Note that this option is likely to be ineffective without changes to the
linker scripts.  A change that adjusts the hppa linker scripts will follow
shortly.  Other architectures will need some work.

ok deraadt@
gnu/usr.bin/binutils-2.17/bfd/elf.c
gnu/usr.bin/binutils-2.17/include/bfdlink.h
gnu/usr.bin/binutils-2.17/ld/lexsup.c