diff --git a/ld/.Sanitize b/ld/.Sanitize index 91ee6643847..3f463991598 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 42495a0f31f..bde7b6d8331 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 00000000000..4981d2154cf --- /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 b0a4622d1f5..00000000000 --- 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 00000000000..87f1b7d92ca --- /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