From 55237887a675fa24c66864aa72f48253b0a60ca2 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Fri, 9 Apr 1993 17:46:13 +0000 Subject: [PATCH] Support for the H8/500 --- ld/.Sanitize | 11 +++++--- ld/config/.Sanitize | 1 + ld/config/coff-h8500.mt | 1 + ld/h8300xray.sc-sh | 26 ------------------- ld/h8300xray.sh | 8 ------ ld/{h8300xray.em => h8500hms.em} | 38 ++++++++++++++-------------- ld/h8500hms.sc-sh | 43 ++++++++++++++++++++++++++++++++ ld/h8500hms.sh | 7 ++++++ 8 files changed, 78 insertions(+), 57 deletions(-) create mode 100644 ld/config/coff-h8500.mt delete mode 100755 ld/h8300xray.sc-sh delete mode 100755 ld/h8300xray.sh rename ld/{h8300xray.em => h8500hms.em} (68%) create mode 100755 ld/h8500hms.sc-sh create mode 100755 ld/h8500hms.sh diff --git a/ld/.Sanitize b/ld/.Sanitize index 91ee664384..3f46399159 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -59,9 +59,9 @@ hp300bsd.sh h8300hms.em h8300hms.sc-sh h8300hms.sh -h8300xray.em -h8300xray.sc-sh -h8300xray.sh +h8500hms.em +h8500hms.sc-sh +h8500hms.sh i386aout.sh i386bsd.sh i386coff.sc-sh @@ -163,7 +163,10 @@ fi # # # $Log$ -# Revision 1.55 1993/03/30 23:24:53 pesch +# Revision 1.56 1993/04/09 17:44:54 sac +# Support for the H8/500 +# +# Revision 1.55 1993/03/30 23:24:53 pesch # ld.texinfo: # Conditionalize manual to maintain Cygnus, Hitachi versions in parallel. # (Texinfo conditionals are stable enough to permit this, at last!) diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index 42495a0f31..bde7b6d833 100644 --- a/ld/config/.Sanitize +++ b/ld/config/.Sanitize @@ -25,6 +25,7 @@ Things-to-keep: coff-a29k.mt coff-h8300.mt +coff-h8500.mt delta88.mh dgux.mh ebmon29k.mt diff --git a/ld/config/coff-h8500.mt b/ld/config/coff-h8500.mt new file mode 100644 index 0000000000..4981d2154c --- /dev/null +++ b/ld/config/coff-h8500.mt @@ -0,0 +1 @@ +EMUL=h8500hms diff --git a/ld/h8300xray.sc-sh b/ld/h8300xray.sc-sh deleted file mode 100755 index b0a4622d1f..0000000000 --- a/ld/h8300xray.sc-sh +++ /dev/null @@ -1,26 +0,0 @@ -cat <em_${EMULATION_NAME}.c < ram} +.data : + { + *(.data) + ${RELOCATING+ _edata = . ; } + } ${RELOCATING+ > ram} +.bss : + { + ${RELOCATING+ _bss_start = . ;} + *(.bss) + *(COMMON) + ${RELOCATING+ _end = . ; } + } ${RELOCATING+ >ram} +.stack : + { + ${RELOCATING+ _stack = . ; } + *(.stack) + } ${RELOCATING+ > topram} +} +EOF + + + + diff --git a/ld/h8500hms.sh b/ld/h8500hms.sh new file mode 100755 index 0000000000..87f1b7d92c --- /dev/null +++ b/ld/h8500hms.sh @@ -0,0 +1,7 @@ +EMULATION_NAME=h8500hms +SCRIPT_NAME=h8500hms +OUTPUT_FORMAT="coff-h8500" +TEXT_START_ADDR=0x8000 +PAGE_SIZE=128 +ARCH=h8500 +TEMPLATE_NAME=h8500hms