summaryrefslogtreecommitdiff
path: root/bootloader.ld
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.ld')
-rw-r--r--bootloader.ld12
1 files changed, 12 insertions, 0 deletions
diff --git a/bootloader.ld b/bootloader.ld
new file mode 100644
index 0000000..c9e5ffe
--- /dev/null
+++ b/bootloader.ld
@@ -0,0 +1,12 @@
+OUTPUT_ARCH(arm);
+
+MEMORY {
+ bios : ORIGIN = 0x00000000, LENGTH = 0x00004000
+};
+
+SECTIONS {
+ .bss : {*(.bss*)} > bios
+ .data : {*(.data*)} > bios
+ .text : {*(.text*)} > bios
+ .rodata : {*(.rodata*)} > bios
+};