aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-11-26 10:46:40 +0100
committerJakub Konka <kubkon@jakubkonka.com>2021-11-26 10:53:30 +0100
commitd6f43a1eac6d8d0405b870a46f202d71957b5ba4 (patch)
tree0bfdd47e5600b7e4430c167d8c30b073c4da8604 /src/codegen.zig
parenta96b6ad83f4385dd47112084baeeb24e7e9356fa (diff)
downloadzig-d6f43a1eac6d8d0405b870a46f202d71957b5ba4.tar.gz
zig-d6f43a1eac6d8d0405b870a46f202d71957b5ba4.zip
bpf: do not invoke lld when linking eBPF relocatables
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>
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions