This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
portland-os/src/kernel/elf-link.ld

23 lines
No EOL
311 B
Text

OUTPUT_FORMAT(elf32-i386)
OUTPUT_ARCH(i386)
SECTIONS {
. = 0x00030000;
.text : {
*/main.ko(.text)
*(.text)
}
.rodata : {
*(.rodata)
}
.data : {
_kernel_data_start = .;
*(.data)
_kernel_data_end = .;
}
. = 0x04000000;
.bss : {
*(.bss)
_kernel_bss_end = .;
}
}