diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index 9bfe92da1043..801a6b930b78 100755 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -208,7 +208,7 @@ static __printf(1, 2) void verbose(const char *fmt, ...) return; va_start(args, fmt); - bpf_verifier_log_write(&verifier_log, fmt, args); + bpf_verifier_vlog(&verifier_log, fmt, args); va_end(args); } diff --git a/scripts/module-lto.lds b/scripts/module-lto.lds new file mode 100644 index 000000000000..d0699ae19e0d --- /dev/null +++ b/scripts/module-lto.lds @@ -0,0 +1,22 @@ + +SECTIONS { + /DISCARD/ : { + *(.eh_frame) + } + .bss : { + *(.bss .bss.[0-9a-zA-Z_]*) + *(.bss..L*) + } + .data : { + *(.data .data.[0-9a-zA-Z_]*) + *(.data..L*) + } + .rodata : { + *(.rodata .rodata.[0-9a-zA-Z_]*) + *(.rodata..L*) + } + .text : ALIGN((1 << 12)) { + *(.text.__cfi_check) + *(.text .text.[0-9a-zA-Z_]* .text..L.cfi*) + } +}