Restore lost patch: downgrade RISCV ABI mismatch error to a warning
authorjca <jca@openbsd.org>
Mon, 20 Nov 2023 04:53:11 +0000 (04:53 +0000)
committerjca <jca@openbsd.org>
Mon, 20 Nov 2023 04:53:11 +0000 (04:53 +0000)
commit7474b486ee6245367d3a67d178c6fda11adc52d5
treeb573cdda0f3472fe2e87f1f12c28269221b55063
parent8f13aefc2fe6a867a0d42f30832d8ea36ada693d
Restore lost patch: downgrade RISCV ABI mismatch error to a warning

This lets lld link code with object files created with ld -b binary,
as used by several ports (mupdf, postgresql-pllua, various games).
Upstream report with an unfinished diff: https://reviews.llvm.org/D106378

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