bpf_conformance icon indicating copy to clipboard operation
bpf_conformance copied to clipboard

Support local BPF calls in ELF mode

Open Alan-Jowett opened this issue 2 years ago • 0 comments

BPF programs with local calls (calls to BPF sub-programs) should separate the main program and the sub-program into different sections in the ELF file.

Entry point BPF programs each go in their own section and BPF sub-programs go into the default ".text" section and then a relocation is added to bind the entry point BPF program to the BPF sub-program.

Alan-Jowett avatar Jan 03 '23 21:01 Alan-Jowett