kmod: prepare for kernel module loading
This commit is contained in:
parent
30017592ad
commit
d017412af5
3 changed files with 31 additions and 4 deletions
|
@ -57,6 +57,11 @@ SECTIONS
|
|||
.data : {
|
||||
data_start_ld = .;
|
||||
*(.data .data.*)
|
||||
|
||||
/* Exported kernel symbols */
|
||||
__start_ksyms = .;
|
||||
KEEP(*(.ksyms))
|
||||
__stop_ksyms = .;
|
||||
} :data
|
||||
|
||||
/* NOTE: .bss needs to be the last thing mapped to :data, otherwise lots of */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue