summaryrefslogtreecommitdiffstats
path: root/libgloss/arm/elf-lm3s31x.ld
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/arm/elf-lm3s31x.ld')
-rw-r--r--libgloss/arm/elf-lm3s31x.ld12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgloss/arm/elf-lm3s31x.ld b/libgloss/arm/elf-lm3s31x.ld
new file mode 100644
index 000000000..6e56e6f40
--- /dev/null
+++ b/libgloss/arm/elf-lm3s31x.ld
@@ -0,0 +1,12 @@
+/* Linker script for Luminary Micro LM3S315, LM3S316. */
+
+MEMORY {
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 16K
+ ram (w) : ORIGIN = 0x20000000, LENGTH = 4K
+}
+
+SECTIONS {
+ _stack = 0x20000000 + 4K;
+}
+
+INCLUDE ldscripts/armelf.xc