CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/11/20 12:29:18
Modified files:
gnu/llvm/lld/ELF: Relocations.cpp
Log message:
Stop erroring out when .gcc_except_table relocs point at discarded sections
lang/gcc on riscv64 has a wart, it creates such relocs which upset ld.lld.
The workaround I have used in lang/gcc since Sep 2022 doesn't work any
more, so ask ld.lld to be more lenient. This will let the fortran ports
and friends build on riscv64. clang has fixed since some time already,
but our lang/gcc port will likely keep that wart for some time.
Upstream report: https://reviews.llvm.org/D83244
Input and ok kettenis@