aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-08-18 18:43:45 +0000
committerDJ Delorie <dj@redhat.com>2005-08-18 18:43:45 +0000
commit91888cc07b6f2d4437a082f740edd3b948e10d0f (patch)
treefb3150e5329959091dba9c8fceff6b26b9ee8aeb /libgloss
parentabebe87c40e8342525bdcac02bca975f042320bd (diff)
downloadnewlib-91888cc07b6f2d4437a082f740edd3b948e10d0f.zip
newlib-91888cc07b6f2d4437a082f740edd3b948e10d0f.tar.gz
newlib-91888cc07b6f2d4437a082f740edd3b948e10d0f.tar.bz2
* m32c/Makefile.in: Block out memory regions reserved for monitors
and simulators. Add monitor link scripts.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/m32c/Makefile.in27
2 files changed, 24 insertions, 8 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 2fc5503..9ef533a 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-11 DJ Delorie <dj@redhat.com>
+
+ * m32c/Makefile.in: Block out memory regions reserved for monitors
+ and simulators. Add monitor link scripts.
+
2005-08-16 Shaun Jackman <sjackman@gmail.com>
* arm/syscalls.c (initialise_monitor_handles): Set
diff --git a/libgloss/m32c/Makefile.in b/libgloss/m32c/Makefile.in
index e53d15f..b272821 100644
--- a/libgloss/m32c/Makefile.in
+++ b/libgloss/m32c/Makefile.in
@@ -56,7 +56,7 @@ OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
then echo ${objroot}/../binutils/objcopy ; \
else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
-SCRIPTS = r8c.ld m16c.ld m32cm.ld m32c.ld sim8.ld sim16.ld sim24.ld
+SCRIPTS = r8c.ld m16c.ld m32cm.ld m32c.ld m16cmon.ld m32cmon.ld sim8.ld sim16.ld sim24.ld
CRT = crt0.o crtn.o
SIM_BSP = libsim.a
LIBNOSYS = ../libnosys/libnosys.a
@@ -106,28 +106,39 @@ $(SIM_BSP): $(SIM_OBJS)
GDEP = $(srcdir)/m32c.tmpl $(srcdir)/genscript Makefile
GS = $(SHELL) $(srcdir)/genscript $(srcdir)
+# NOTE: The simulators and monitors reserve the following locations
+# for themselves, so we skip them:
+# R8C/M16C: 0x400-0x4ff 0x0ff600-0x0ffcff
+# M32C: 0x400-0x4ff 0xfff600-0xfffcff
r8c.ld : $(GDEP)
- $(GS) r8c 0x400 0x400 0xc000 0x3f24 0xff
+ $(GS) r8c 0x500 0x300 0xc000 0x3f24 0xff
m16c.ld : $(GDEP)
- $(GS) m16c 0x400 0x5000 0xc0000 0x3ff24 0xfff
+ $(GS) m16c 0x500 0x4f00 0xc0000 0x3f600 0xfff
m32cm.ld : $(GDEP)
- $(GS) m32cm 0x400 0x2800 0xfe0000 0x01ff24 0xffff
+ $(GS) m32cm 0x500 0x2700 0xfe0000 0x01f600 0xffff
m32c.ld : $(GDEP)
- $(GS) m32c 0x400 0x7c00 0xf80000 0x07ff24 0xffff
+ $(GS) m32c 0x500 0x7b00 0xf80000 0x07f600 0xffff
+
+
+m16cmon.ld : $(GDEP)
+ $(GS) m16c 0x400 0x100 0xff600 0x800 0xfff
+
+m32cmon.ld : $(GDEP)
+ $(GS) m16c 0x400 0x100 0xfff600 0x800 0xffff
sim8.ld : $(GDEP)
- $(GS) sim8 0x400 0xf724 0 0 0xff
+ $(GS) sim8 0x500 0xf624 0 0 0xff
sim16.ld : $(GDEP)
- $(GS) sim16 0x400 0xf800 0x20000 0x80000 0xfff
+ $(GS) sim16 0x500 0xf700 0x20000 0x80000 0xfff
sim24.ld : $(GDEP)
- $(GS) sim24 0x200000 0x800000 0 0 0xffff
+ $(GS) sim24 0x200000 0x800000 0 0 0xffff
install: $(CRT) $(SIM_BSP) $(SCRIPTS)