summaryrefslogtreecommitdiffstats
path: root/libgloss/arm/elf-lm3s10x.ld
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/arm/elf-lm3s10x.ld')
-rw-r--r--libgloss/arm/elf-lm3s10x.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/libgloss/arm/elf-lm3s10x.ld b/libgloss/arm/elf-lm3s10x.ld
new file mode 100644
index 000000000..dad433dc9
--- /dev/null
+++ b/libgloss/arm/elf-lm3s10x.ld
@@ -0,0 +1,13 @@
+/* Linker script for Luminary Micro LM3S101, LM3S102. */
+
+MEMORY {
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 8K
+ ram (w) : ORIGIN = 0x20000000, LENGTH = 2K
+}
+
+SECTIONS {
+ _stack = 0x20000000 + 2K;
+}
+
+INCLUDE cm3.ld
+INCLUDE ldscripts/armelf.xc