riscv64 fix: Handle relaxation reductions of more than 65536 bytes
authorjca <jca@openbsd.org>
Wed, 7 Feb 2024 20:54:20 +0000 (20:54 +0000)
committerjca <jca@openbsd.org>
Wed, 7 Feb 2024 20:54:20 +0000 (20:54 +0000)
commit6add50f8885e2b12e9d85f7d7e9299c8248e7f85
tree8d0a089fd60d73d32b823d65a3c5599b81de890d
parent10306fc25ad053b16ef81314369bf9e0dcf7d981
riscv64 fix: Handle relaxation reductions of more than 65536 bytes

Upstream commit:
https://github.com/llvm/llvm-project/commit/9d37ea95df1b84cca9b5e954d8964c976a5e303e

Already needed at least by ports/math/hdf5, prerequisite if we want to
enable linker relaxation (clang upstream defaults).

ok kettenis@
gnu/llvm/lld/ELF/Arch/RISCV.cpp
gnu/llvm/lld/ELF/InputSection.h