petrochenkov wrote: > Perhaps linker implementations are more permissive there. I can check tomorrow whether lld or ld report any warnings for this on Linux. Yep, no errors or warnings with ELF linkers (both lld and binutils). https://github.com/llvm/llvm-project/pull/72797