aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-06-18 22:55:30 +0000
committerJeff Law <law@redhat.com>1996-06-18 22:55:30 +0000
commit71415be57c79a33a2b9847a13db2372c8708c294 (patch)
tree0e6cdcd5d1a4c1f840830def8c93eb66c7fec1c1 /ld/emulparams
parent2459179f7a082da7b16b89f914c055f3656c54c5 (diff)
downloadgdb-71415be57c79a33a2b9847a13db2372c8708c294.zip
gdb-71415be57c79a33a2b9847a13db2372c8708c294.tar.gz
gdb-71415be57c79a33a2b9847a13db2372c8708c294.tar.bz2
* scripttempl/h8300s.sc: New file for H8/S.
* emulpararms/h8300s.sh: New file for H8/S. * Makefile.in (ALL_EMULATIONS): Add H8/S. (e_h8300s.c): Add dependencies. * configure.tgt: Add H8/S to targ_extra_emuls. H8/S linker stuff. Sanitized until status of this code is known.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/.Sanitize8
-rw-r--r--ld/emulparams/h8300s.sh5
2 files changed, 13 insertions, 0 deletions
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 68dee19..d250a1f 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -23,6 +23,14 @@ else
lose_these_too="${arc_files} ${lose_these_too}"
fi
+h8s_files="h8300s.sh"
+
+if ( echo $* | grep keep\-h8s > /dev/null ) ; then
+ keep_these_too="${h8s_files} ${keep_these_too}"
+else
+ lose_these_too="${h8s_files} ${lose_these_too}"
+fi
+
# All files listed between the "Things-to-keep:" line and the
# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
diff --git a/ld/emulparams/h8300s.sh b/ld/emulparams/h8300s.sh
new file mode 100644
index 0000000..e27b4f5
--- /dev/null
+++ b/ld/emulparams/h8300s.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=h8300s
+OUTPUT_FORMAT="coff-h8300"
+TEXT_START_ADDR=0x8000
+TARGET_PAGE_SIZE=128
+ARCH=h8300