aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2001-08-29 12:51:26 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2001-08-29 12:51:26 +0000
commit8af6dd4198a8080a315f366331648137a19cdd19 (patch)
tree390d3646fc9d9d732badaec7619d27352f46ecd4 /ld/emulparams
parent82f3c9a358a2d488eae8eb73bd776b4584dd7f5b (diff)
downloadgdb-8af6dd4198a8080a315f366331648137a19cdd19.zip
gdb-8af6dd4198a8080a315f366331648137a19cdd19.tar.gz
gdb-8af6dd4198a8080a315f366331648137a19cdd19.tar.bz2
* Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
eh8300self.o . (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. * configure.tgt (h8300-*-elf*): New case. * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. * emulparams/h8300self.sh: New file. * Makefile.in: Regenerated.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/h8300elf.sh12
-rw-r--r--ld/emulparams/h8300helf.sh5
-rw-r--r--ld/emulparams/h8300self.sh5
3 files changed, 22 insertions, 0 deletions
diff --git a/ld/emulparams/h8300elf.sh b/ld/emulparams/h8300elf.sh
new file mode 100644
index 0000000..e3024c6
--- /dev/null
+++ b/ld/emulparams/h8300elf.sh
@@ -0,0 +1,12 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-h8300"
+TEXT_START_ADDR=0x100
+MAXPAGESIZE=2
+TARGET_PAGE_SIZE=128
+ARCH=h8300
+TEMPLATE_NAME=elf32
+EMBEDDED=yes
+
+OTHER_RELOCATING_SECTIONS='
+.stack 0xfefc : { _stack = .; *(.stack) }
+'
diff --git a/ld/emulparams/h8300helf.sh b/ld/emulparams/h8300helf.sh
new file mode 100644
index 0000000..3241acd
--- /dev/null
+++ b/ld/emulparams/h8300helf.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=h8300h
+OUTPUT_FORMAT="elf32-h8300"
+TEXT_START_ADDR=0x100
+TARGET_PAGE_SIZE=128
+ARCH=h8300
diff --git a/ld/emulparams/h8300self.sh b/ld/emulparams/h8300self.sh
new file mode 100644
index 0000000..f0bd699
--- /dev/null
+++ b/ld/emulparams/h8300self.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=h8300s
+OUTPUT_FORMAT="elf32-h8300"
+TEXT_START_ADDR=0x100
+TARGET_PAGE_SIZE=128
+ARCH=h8300