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