From: Nick Clifton Date: Thu, 24 Apr 2003 15:25:24 +0000 (+0000) Subject: oops - omitted from previous delta X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0dbc2a48b46677d805d6e62f5ee8df85a7868801;p=binutils-gdb.git oops - omitted from previous delta --- diff --git a/ld/emulparams/h8300hn.sh b/ld/emulparams/h8300hn.sh new file mode 100644 index 00000000000..d349082336c --- /dev/null +++ b/ld/emulparams/h8300hn.sh @@ -0,0 +1,5 @@ +SCRIPT_NAME=h8300hn +OUTPUT_FORMAT="coff-h8300" +TEXT_START_ADDR=0x8000 +TARGET_PAGE_SIZE=128 +ARCH=h8300 diff --git a/ld/emulparams/h8300hnelf.sh b/ld/emulparams/h8300hnelf.sh new file mode 100644 index 00000000000..4a75ff9f81a --- /dev/null +++ b/ld/emulparams/h8300hnelf.sh @@ -0,0 +1,2 @@ +. ${srcdir}/emulparams/h8300elf.sh +ARCH="h8300:h8300hn" diff --git a/ld/emulparams/h8300sn.sh b/ld/emulparams/h8300sn.sh new file mode 100644 index 00000000000..16364efab0b --- /dev/null +++ b/ld/emulparams/h8300sn.sh @@ -0,0 +1,5 @@ +SCRIPT_NAME=h8300sn +OUTPUT_FORMAT="coff-h8300" +TEXT_START_ADDR=0x8000 +TARGET_PAGE_SIZE=128 +ARCH=h8300 diff --git a/ld/emulparams/h8300snelf.sh b/ld/emulparams/h8300snelf.sh new file mode 100644 index 00000000000..ddeec116856 --- /dev/null +++ b/ld/emulparams/h8300snelf.sh @@ -0,0 +1,2 @@ +. ${srcdir}/emulparams/h8300elf.sh +ARCH="h8300:h8300sn" diff --git a/ld/scripttempl/h8300hn.sc b/ld/scripttempl/h8300hn.sc new file mode 100644 index 00000000000..e2c29544785 --- /dev/null +++ b/ld/scripttempl/h8300hn.sc @@ -0,0 +1,87 @@ +TORS=".tors : + { + ___ctors = . ; + *(.ctors) + ___ctors_end = . ; + ___dtors = . ; + *(.dtors) + ___dtors_end = . ; + } > ram" + +cat < vectors} + +.text : + { + *(.rodata) + *(.text) + *(.strings) + ${RELOCATING+ _etext = . ; } + } ${RELOCATING+ > ram} + +${CONSTRUCTING+${TORS}} + +.data : + { + *(.data) + *(.tiny) + ${RELOCATING+ _edata = . ; } + } ${RELOCATING+ > ram} + +.bss : + { + ${RELOCATING+ _bss_start = . ;} + *(.bss) + *(COMMON) + ${RELOCATING+ _end = . ; } + } ${RELOCATING+ >ram} + +.stack : + { + ${RELOCATING+ _stack = . ; } + *(.stack) + } ${RELOCATING+ > topram} + +.eight : + { + *(.eight) + } ${RELOCATING+ > eight} + +.stab 0 ${RELOCATING+(NOLOAD)} : + { + [ .stab ] + } + +.stabstr 0 ${RELOCATING+(NOLOAD)} : + { + [ .stabstr ] + } +} +EOF diff --git a/ld/scripttempl/h8300sn.sc b/ld/scripttempl/h8300sn.sc new file mode 100644 index 00000000000..b2647ca4058 --- /dev/null +++ b/ld/scripttempl/h8300sn.sc @@ -0,0 +1,87 @@ +TORS=".tors : + { + ___ctors = . ; + *(.ctors) + ___ctors_end = . ; + ___dtors = . ; + *(.dtors) + ___dtors_end = . ; + } > ram" + +cat < vectors} + +.text : + { + *(.rodata) + *(.text) + *(.strings) + ${RELOCATING+ _etext = . ; } + } ${RELOCATING+ > ram} + +${CONSTRUCTING+${TORS}} + +.data : + { + *(.data) + *(.tiny) + ${RELOCATING+ _edata = . ; } + } ${RELOCATING+ > ram} + +.bss : + { + ${RELOCATING+ _bss_start = . ;} + *(.bss) + *(COMMON) + ${RELOCATING+ _end = . ; } + } ${RELOCATING+ >ram} + +.stack : + { + ${RELOCATING+ _stack = . ; } + *(.stack) + } ${RELOCATING+ > topram} + +.eight : + { + *(.eight) + } ${RELOCATING+ > eight} + +.stab 0 ${RELOCATING+(NOLOAD)} : + { + [ .stab ] + } + +.stabstr 0 ${RELOCATING+(NOLOAD)} : + { + [ .stabstr ] + } +} +EOF