aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-11-15 20:02:07 +0000
committerJeff Law <law@redhat.com>1996-11-15 20:02:07 +0000
commit96e34542a1315f41b6851c8b659d680d5d19c676 (patch)
tree02cf46aad1eae0617a9262a2d20526572c97b0d0 /ld
parent9f7f97103b2026e25d65a5361f0febb5a51c6d58 (diff)
downloadgdb-96e34542a1315f41b6851c8b659d680d5d19c676.zip
gdb-96e34542a1315f41b6851c8b659d680d5d19c676.tar.gz
gdb-96e34542a1315f41b6851c8b659d680d5d19c676.tar.bz2
* Makefile.in (emn10300.c): Add dependencies.
* configure.tgt: Handle mn10300. * emulparms/mn10300.sh: New file. Skeleton support for the mn10300. Matsushita.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog13
-rw-r--r--ld/emulparams/.Sanitize1
-rw-r--r--ld/emulparams/mn10300.sh19
3 files changed, 33 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 504eb8a..8b19ef9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,16 @@
+Fri Nov 15 13:00:18 1996 Jeffrey A Law (law@cygnus.com)
+
+ * Makefile.in (emn10300.c): Add dependencies.
+ * configure.tgt: Handle mn10300.
+ * emulparms/mn10300.sh: New file.
+
+start-sanitize-d10v
+Tue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
+
+ * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004.
+ (EMBEDDED): Define.
+
+end-sanitize-d10v
Fri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com>
* ld.texinfo: Add section on reporting bugs.
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 6723bcc..62a8870 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -121,6 +121,7 @@ mipsbsd.sh
mipsidt.sh
mipsidtl.sh
mipslit.sh
+mn10300.sh
news.sh
ns32knbsd.sh
pc532macha.sh
diff --git a/ld/emulparams/mn10300.sh b/ld/emulparams/mn10300.sh
new file mode 100644
index 0000000..dc7d126
--- /dev/null
+++ b/ld/emulparams/mn10300.sh
@@ -0,0 +1,19 @@
+MACHINE=
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-mn10300"
+TEXT_START_ADDR=0x0
+ARCH=mn10300
+MAXPAGESIZE=256
+ENTRY=_start
+EMBEDDED=yes
+
+# Hmmm, there's got to be a better way. This sets the stack to the
+# top of the simulator memory (2^18 bytes).
+OTHER_RELOCATING_SECTIONS='.stack 0x40000 : { _stack = .; *(.stack) }'
+
+# These are for compatibility with the COFF toolchain.
+# XXX These should definitely disappear.
+CTOR_START='___ctors = .;'
+CTOR_END='___ctors_end = .;'
+DTOR_START='___dtors = .;'
+DTOR_END='___dtors_end = .;'