aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-12-12 19:05:06 +0000
committerJeff Law <law@redhat.com>1996-12-12 19:05:06 +0000
commit9e258df329ce3ca022d82bce9242f7165ceb623d (patch)
tree5f003bbea6a34db95534bbbf1f28b02bf00cede3 /ld/emulparams
parent1e4a0d020fb04cd4798d6e894f4f1c24d806201f (diff)
downloadgdb-9e258df329ce3ca022d82bce9242f7165ceb623d.zip
gdb-9e258df329ce3ca022d82bce9242f7165ceb623d.tar.gz
gdb-9e258df329ce3ca022d82bce9242f7165ceb623d.tar.bz2
* Makefile.in (emn10200.c): Add dependencies.
* configure.tgt: Handle mn10200. * emulparms/mn10200.sh: New file. mn10200 support.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/mn10200.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/emulparams/mn10200.sh b/ld/emulparams/mn10200.sh
new file mode 100644
index 0000000..7700f60
--- /dev/null
+++ b/ld/emulparams/mn10200.sh
@@ -0,0 +1,20 @@
+MACHINE=
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-mn10200"
+TEXT_START_ADDR=0x0
+ARCH=mn10200
+MACHINE=
+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 = .;'