bpf: Update logging functions to work with BTF

* Based on 430e68d10b,
  77d2e05abd
  and a2a7d57010

Change-Id: I27e2c804726078646ca9beda31cbae2a745dfd47
urubino
Tim Zimmermann 7 months ago committed by Jenna-they-them
parent 65b93fbf9b
commit a1da9dde53
  1. 22
      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*)
}
}
Loading…
Cancel
Save