summaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-25 01:40:50 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-25 01:40:50 +0100
commitbad8fa17adf4d9609343fe86feabe05188023bc1 (patch)
treed9298a6bc2c6f0a3880ba2dbd3dda662f00e098c /linker.ld
parent7230b118e3a8f6b25bc2d525999b815c30490c81 (diff)
memory and buildsys improvements
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld24
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 = .;
+
+}