From bad8fa17adf4d9609343fe86feabe05188023bc1 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 25 Nov 2014 01:40:50 +0100 Subject: memory and buildsys improvements --- linker.ld | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 linker.ld (limited to 'linker.ld') 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 = .; + +} -- cgit v1.2.3