summaryrefslogtreecommitdiff
path: root/l-loader/l-loader.lds
diff options
context:
space:
mode:
Diffstat (limited to 'l-loader/l-loader.lds')
-rw-r--r--l-loader/l-loader.lds32
1 files changed, 32 insertions, 0 deletions
diff --git a/l-loader/l-loader.lds b/l-loader/l-loader.lds
new file mode 100644
index 00000000..41eb16f5
--- /dev/null
+++ b/l-loader/l-loader.lds
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2014 Linaro Ltd.
+ */
+
+OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
+OUTPUT_ARCH(arm)
+ENTRY(_start)
+SECTIONS
+{
+ . = 0xf9800800;
+ LLOADER_START = .;
+
+ .text :
+ {
+ *(.text)
+ *(.rodata)
+ }
+
+ .data ALIGN(4):
+ {
+ *(.data)
+ }
+
+ . = ALIGN(4);
+
+ .bss ALIGN(4):
+ {
+ *(.bss)
+ }
+
+ LLOADER_BL1_BIN = 0xf9801000;
+}