From e520b52cd58f70af9a17f330fe1ce98ce059762c Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 23 Dec 2019 01:33:26 -0500 Subject: small changes, part 1 --- src/kernel/link.ld | 11 +++++++++++ 1 file changed, 11 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..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 -- cgit v1.2.3