From: Jackie Smith Cashion Date: Fri, 1 Sep 1995 15:38:07 +0000 (+0000) Subject: NEC VR4300 target (IDT SIM monitor) support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=751b7dcc00ada9869d445efb0df51a73bc44d8ed;p=binutils-gdb.git NEC VR4300 target (IDT SIM monitor) support. Fri Sep 1 08:35:16 1995 James G. Smith * configure.in: Added mips*vr4300-idt-elf* and mips*vr4300el-idt-elf* targets. * Makefile.in: Added eelf32vr4300* targets. * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index df4b575480e..9794ec65b02 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +Fri Sep 1 08:35:16 1995 James G. Smith + + * configure.in: Added mips*vr4300-idt-elf* and + mips*vr4300el-idt-elf* targets. + * Makefile.in: Added eelf32vr4300* targets. + * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added. + * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added. + Fri Sep 1 10:51:45 1995 Ian Lance Taylor * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index e004cc0d72c..9efc726ee5c 100644 --- a/ld/config/.Sanitize +++ b/ld/config/.Sanitize @@ -99,6 +99,8 @@ m88k-bcs.mt mips-big.mt mips-idt.mt mips-lit.mt +mips-vr4300.mt +mips-vr4300el.mt mipsb-elf32.mt mipsbsd.mh mipsbsd.mt diff --git a/ld/config/mips-vr4300.mt b/ld/config/mips-vr4300.mt new file mode 100644 index 00000000000..962ebd9b78b --- /dev/null +++ b/ld/config/mips-vr4300.mt @@ -0,0 +1 @@ +EMUL=elf32vr4300 diff --git a/ld/config/mips-vr4300el.mt b/ld/config/mips-vr4300el.mt new file mode 100644 index 00000000000..b330b2b27cb --- /dev/null +++ b/ld/config/mips-vr4300el.mt @@ -0,0 +1 @@ +EMUL=elf32vr4300el diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index 1b084b8a058..dc0ec298c3c 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -52,6 +52,8 @@ elf32bmip.sh elf32lmip.sh elf32lppc.sh elf32ppc.sh +elf32vr4300.sh +elf32vr4300el.sh elf64_sparc.sh elf_i386.sh gld960.sh diff --git a/ld/emulparams/elf32vr4300.sh b/ld/emulparams/elf32vr4300.sh new file mode 100644 index 00000000000..b8755889d1f --- /dev/null +++ b/ld/emulparams/elf32vr4300.sh @@ -0,0 +1,25 @@ +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-bigmips" +BIG_OUTPUT_FORMAT="elf32-bigmips" +LITTLE_OUTPUT_FORMAT="elf32-littlemips" +TEXT_START_ADDR=0xa001af20 +DATA_ADDR=. +MAXPAGESIZE=0x40000 +OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }' +OTHER_READWRITE_SECTIONS=' + _gp = . + 0x8000; + .lit8 : { *(.lit8) } + .lit4 : { *(.lit4) } +' +TEXT_START_SYMBOLS='_ftext = . ;' +DATA_START_SYMBOLS='_fdata = . ;' +OTHER_BSS_SYMBOLS='_fbss = .;' +EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;' +OTHER_SECTIONS=' + .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) } + .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) } +' +ARCH=mips +TEMPLATE_NAME=elf32 +GENERATE_SHLIB_SCRIPT=yes +DYNAMIC_LINK=false diff --git a/ld/emulparams/elf32vr4300el.sh b/ld/emulparams/elf32vr4300el.sh new file mode 100644 index 00000000000..aeac8a88efb --- /dev/null +++ b/ld/emulparams/elf32vr4300el.sh @@ -0,0 +1,25 @@ +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-littlemips" +BIG_OUTPUT_FORMAT="elf32-bigmips" +LITTLE_OUTPUT_FORMAT="elf32-littlemips" +TEXT_START_ADDR=0xa001af20 +DATA_ADDR=. +MAXPAGESIZE=0x40000 +OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }' +OTHER_READWRITE_SECTIONS=' + _gp = . + 0x8000; + .lit8 : { *(.lit8) } + .lit4 : { *(.lit4) } +' +TEXT_START_SYMBOLS='_ftext = . ;' +DATA_START_SYMBOLS='_fdata = . ;' +OTHER_BSS_SYMBOLS='_fbss = .;' +EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;' +OTHER_SECTIONS=' + .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) } + .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) } +' +ARCH=mips +TEMPLATE_NAME=elf32 +GENERATE_SHLIB_SCRIPT=yes +DYNAMIC_LINK=false