The binutils strip damages GNU_RELRO on binaries linked by ld.lld on at
authorkettenis <kettenis@openbsd.org>
Thu, 19 Jan 2023 00:18:19 +0000 (00:18 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 19 Jan 2023 00:18:19 +0000 (00:18 +0000)
commitec641ddb456259c199e6e110b13a53b1e10d566e
tree8ee7b5d4268dcaf5e848ffdeea7571abd148ad1f
parent38811e21064636e2b23f1af4c8777ad12540033c
The binutils strip damages GNU_RELRO on binaries linked by ld.lld on at
least amd64.  Fix this by switching to the llvm strip on architectures
that use ld.lld.

ok deraadt@
gnu/usr.bin/binutils-2.17/Makefile.bsd-wrapper
gnu/usr.bin/clang/llvm-objcopy/Makefile
gnu/usr.bin/clang/llvm-objcopy/strip.1 [new file with mode: 0644]