diff options
Diffstat (limited to 'src/kernel/link.ld')
-rw-r--r-- | src/kernel/link.ld | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kernel/link.ld b/src/kernel/link.ld new file mode 100644 index 0000000..64dd0be --- /dev/null +++ b/src/kernel/link.ld @@ -0,0 +1,11 @@ +OUTPUT_FORMAT(binary) +SECTIONS { + . = 0x01000000; + .text : { + main = .; + *(.text) + } + .rodata : { *(.rodata) } + .data : { *(.data) } + .bss : { *(.bss) } +}
\ No newline at end of file |