Rui Ueyama
Rui Ueyama
> While it says nim.cfg in the docs, config.nims is the correct file for this purpose OK, but that confused me. Is that the official documentation plainly wrong and needs...
"For non-PIC executables, the load address is the start address of the first PT_LOAD segment." This comment seems correct. The load address should be the first PT_LOAD segment's address. The...
Let me try to use mold on an OpenBSD machine.
OK, so I think you guys should fix libtbb first so that mold can be built on OpenBSD out-of-the-box. We can't maintain OpenBSD-specific local patches for libtbb as we are...
@brad0 That's good news! With that I can now build mold on an OpenBSD machine. Currently mold unittests only care about Linux, so the first step to port it to...
No, that's different. What target did you get this error for? If it's for x86-64 or ARM64, it is actually odd if an object file contains a REL-type relocation section...
It looks like LLVM generates REL-type relocations instead of RELA-type ones for LLVM. It's very likely that it's a bug in LLVM. Can you report it to LLVM?
Yes, it's a bug in LLVM, please report it to LLVM. x86-64 is defined to use RELA-type relocations by its psABI, so creating a REL-type relocation type is illegal even...
Even if it's documented, it still violates the spec. As quoted from x86-64 psABI p.72, "The AMD64 LP64 ABI architecture uses only Elf64_Rela relocation entries with explicit addends." While they...
Alright, how about we simply ignore the REL relocation tables in psABIs where RELA is mandated? It seems that by doing so, we'll resolve the issue.