BPF: misc minor review fixes
This commit is contained in:
parent
bd8e5ce4b9
commit
ab93a139ef
5 changed files with 11 additions and 11 deletions
|
@ -12,6 +12,10 @@ pub fn opts(endian: Endian) -> TargetOptions {
|
|||
no_builtins: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
position_independent_executables: true,
|
||||
// Disable MergeFunctions since:
|
||||
// - older kernels don't support bpf-to-bpf calls
|
||||
// - on newer kernels, userspace still needs to relocate before calling
|
||||
// BPF_PROG_LOAD and not all BPF libraries do that yet
|
||||
merge_functions: MergeFunctions::Disabled,
|
||||
obj_is_bitcode: true,
|
||||
requires_lto: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue