os/kernel/link.ld

25 lines
391 B
Text
Raw Normal View History

2024-06-29 20:50:08 +02:00
SECTIONS {
. = 0xffffffff80000000;
.text ALIGN(0x1000) : {
2024-07-06 14:18:31 +02:00
_text_start = .;
2024-06-29 20:50:08 +02:00
*(.text*)
2024-07-06 14:18:31 +02:00
_text_end = .;
2024-06-29 20:50:08 +02:00
}
.rodata ALIGN(0x1000) : {
2024-07-06 14:18:31 +02:00
_rodata_start = .;
2024-06-29 20:50:08 +02:00
*(.rodata*)
2024-07-06 14:18:31 +02:00
_rodata_end = .;
2024-06-29 20:50:08 +02:00
}
.data ALIGN(0x1000) : {
2024-07-06 14:18:31 +02:00
_data_start = .;
2024-06-29 20:50:08 +02:00
*(.data*)
2024-07-06 11:00:25 +02:00
*(.got)
2024-07-06 14:18:31 +02:00
_data_end = .;
2024-06-29 20:50:08 +02:00
}
.bss ALIGN(0x1000) : {
2024-07-06 14:18:31 +02:00
_bss_start = .;
2024-06-29 20:50:08 +02:00
*(.bss*)
2024-07-06 14:18:31 +02:00
_bss_end = .;
2024-06-29 20:50:08 +02:00
}
}