aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 07:09:31 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 07:09:31 +0000
commitf4984206d8fb20bec6cd4cf1c89adf3bc298824f (patch)
tree1589ff2dd03791edda5f5c58e19b1c893e0281d9 /ld/emulparams
parent12b55ccc43340fd281f4eb8f4e6287f069799eab (diff)
downloadgdb-f4984206d8fb20bec6cd4cf1c89adf3bc298824f.zip
gdb-f4984206d8fb20bec6cd4cf1c89adf3bc298824f.tar.gz
gdb-f4984206d8fb20bec6cd4cf1c89adf3bc298824f.tar.bz2
include/elf/
* h8.h (E_H8_MACH_H8300SXN): New flag. bfd/ * archures.c (bfd_mach_h8300sxn): New architecture. * bfd-in2.h: Regenerate. * cpu-h8300.c (h8300_scan): Check for 'sxn'. (h8300sxn_info_struct): New. (h8300sx_info_struct): Link to it. * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. (elf32_h8_final_write_processing): Likewise. gas/ * config/tc-h8300.c (h8300sxnmode): New. (md_pseudo_table): Add .h8300sxn entry. Sync others with FSF version. ld/ * configure.tgt (h8300*): Add h8300sxn emulations. * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. (eh8300sxn.c, eh8300sxnelf.c): New rules. * Makefile.in: Regenerate. * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/h8300sxn.sh5
-rw-r--r--ld/emulparams/h8300sxnelf.sh2
2 files changed, 7 insertions, 0 deletions
diff --git a/ld/emulparams/h8300sxn.sh b/ld/emulparams/h8300sxn.sh
new file mode 100644
index 0000000..7cad974
--- /dev/null
+++ b/ld/emulparams/h8300sxn.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=h8300sxn
+OUTPUT_FORMAT="coff-h8300"
+TEXT_START_ADDR=0x8000
+TARGET_PAGE_SIZE=128
+ARCH=h8300
diff --git a/ld/emulparams/h8300sxnelf.sh b/ld/emulparams/h8300sxnelf.sh
new file mode 100644
index 0000000..98e9d49
--- /dev/null
+++ b/ld/emulparams/h8300sxnelf.sh
@@ -0,0 +1,2 @@
+. ${srcdir}/emulparams/h8300elf.sh
+ARCH="h8300:h8300sxn"