diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-11-26 10:46:40 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-11-26 10:53:30 +0100 |
| commit | d6f43a1eac6d8d0405b870a46f202d71957b5ba4 (patch) | |
| tree | 0bfdd47e5600b7e4430c167d8c30b073c4da8604 /src/Module.zig | |
| parent | a96b6ad83f4385dd47112084baeeb24e7e9356fa (diff) | |
| download | zig-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/Module.zig')
0 files changed, 0 insertions, 0 deletions
