mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-10-13 21:25:07 -07:00
add the last of the files and some basic stubs for most of the empty files from last commit
This commit is contained in:
31
kernel/linker.ld
Normal file
31
kernel/linker.ld
Normal file
@@ -0,0 +1,31 @@
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS {
|
||||
. = 1M;
|
||||
|
||||
.multiboot : {
|
||||
*(.multiboot)
|
||||
}
|
||||
|
||||
.text : {
|
||||
*(.text)
|
||||
}
|
||||
|
||||
.rodata : {
|
||||
*(.rodata)
|
||||
}
|
||||
|
||||
.data : {
|
||||
*(.data)
|
||||
}
|
||||
|
||||
.bss : {
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
|
||||
. = ALIGN(4096);
|
||||
__stack_top = .;
|
||||
. += 128K;
|
||||
__stack_bottom = .;
|
||||
}
|
Reference in New Issue
Block a user