diff options
Diffstat (limited to 'linker.ld')
| -rw-r--r-- | linker.ld | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/linker.ld b/linker.ld new file mode 100644 index 0000000..52a32ef --- /dev/null +++ b/linker.ld @@ -0,0 +1,24 @@ +OUTPUT_FORMAT(binary) + +SECTIONS +{ + . = 0x100000; + + .text BLOCK(4K) : ALIGN(4K) + { + *(.text) + } + + .bss BLOCK(4K) : ALIGN(4K) + { + *(.bss) + } + + .data BLOCK(4K) : ALIGN(4K) + { + *(.data) + } + + kernel_end = .; + +} |
