Files
userspace/module.ld
T
2020-05-29 15:36:03 +03:00

28 lines
377 B
Plaintext

ENTRY(_mod_entry);
SECTIONS {
/*
* Modules are linked with 0x0 base virtual address
* and are position independent
*/
. = 0x100000000;
.text : ALIGN(4K) {
*(.text*)
}
.rodata : {
*(.rodata)
*(.eh_frame)
}
.data : ALIGN(4K) {
*(.data*)
}
.bss : {
*(COMMON)
*(.bss*)
}
}