Downgrade RISCV ABI mismatch error to a warning
authorjca <jca@openbsd.org>
Thu, 10 Mar 2022 23:24:30 +0000 (23:24 +0000)
committerjca <jca@openbsd.org>
Thu, 10 Mar 2022 23:24:30 +0000 (23:24 +0000)
commit221b2ca46ac548b27f58f8106a1600d65392a76d
treee785f4b37c279f036a54acbd4245e0dc6ff9c400
parent1d11c04796284e5ca5d28b38f3a3c9aab62fc58b
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 kettenis@
gnu/llvm/lld/ELF/Arch/RISCV.cpp