From 53801b9baed096e57b40df6147d9ff0f3da0c737 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 16 May 2020 13:25:46 -0400 Subject: Hello world --- src/kernel/link.ld | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/kernel/link.ld (limited to 'src/kernel/link.ld') 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 -- cgit v1.2.3