mirror of
https://github.com/ziglang/zig.git
synced 2025-12-28 17:13:19 +00:00
Due to a deficiency in LLD, we need to special-case BPF to a simple file copy when generating relocatables. Normally, we would expect `lld -r` to work. However, because LLD wants to resolve BPF relocations which it shouldn't, it fails before even generating the relocatable. Co-authored-by: Matthew Knight <mattnite@protonmail.com>