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
Benji Dial e8c6577617 program loading, others
big kernel additions: paging, elf loading, separate kernel and user page allocation
it now properly loads and runs sd0:bin/init.elf
still need to determine which disk was booted from, and start the init on that disk
2020-09-06 00:48:07 -04:00

21 lines
No EOL
256 B
Text

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