summaryrefslogtreecommitdiffstats
path: root/libgloss/arm/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/arm/Makefile.in')
-rw-r--r--libgloss/arm/Makefile.in21
1 files changed, 12 insertions, 9 deletions
diff --git a/libgloss/arm/Makefile.in b/libgloss/arm/Makefile.in
index 8b16860ac..e081234fb 100644
--- a/libgloss/arm/Makefile.in
+++ b/libgloss/arm/Makefile.in
@@ -133,15 +133,18 @@ $(RDIMON_BSP): $(RDIMON_OBJS)
${AR} ${ARFLAGS} $@ $^
${RANLIB} $@
-# Armv7M board files.
-# ram rom stack crt0 bsp
-# position size position size
-rdimon= 0 4095M 0 0 no rdimon-crt0.o -lrdimon
-rdpmon= 0 4095M 0 0 no rdpmon-crt0.o -lrdpmon
-armv7m= 0 32M 0x20000000 32M no armv7m-crt0.o -lrdimon
-lm3s10x= 0 2k 0x20000000 8k yes armv7m-crt0.o -lrdimon
-lm3s301= 0 2k 0x20000000 16k yes armv7m-crt0.o -lrdimon
-lm3s31x= 0 4k 0x20000000 16k yes armv7m-crt0.o -lrdimon
+# Default and armv7M board files.
+# For RAM configurations which start at zero, skip 8k. This prevents
+# the simulator from getting confused about whether we have our own
+# SWI vectors.
+# ram rom stack crt0 bsp
+# position size position size
+rdimon= 0x8000 4095M 0 0 no rdimon-crt0.o -lrdimon
+rdpmon= 0x8000 4095M 0 0 no rdpmon-crt0.o -lrdpmon
+armv7m= 0x20000000 32M 0 32M no armv7m-crt0.o -lrdimon
+lm3s10x= 0x20000000 2k 0 8k yes armv7m-crt0.o -lrdimon
+lm3s301= 0x20000000 2k 0 16k yes armv7m-crt0.o -lrdimon
+lm3s31x= 0x20000000 4k 0 16k yes armv7m-crt0.o -lrdimon
%-ram.ld : arm.sc Makefile
RAM=$(word 1,$($*)) RAM_SIZE=$(word 2,$($*)) \