aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJackie Smith Cashion <jsmith@redhat.com>1995-09-01 15:38:07 +0000
committerJackie Smith Cashion <jsmith@redhat.com>1995-09-01 15:38:07 +0000
commit751b7dcc00ada9869d445efb0df51a73bc44d8ed (patch)
tree00c66e01163c69ab4b445c3e74484df49e31225f /ld
parent180fd370b16504faa5de1995e89494b75218acb6 (diff)
downloadgdb-751b7dcc00ada9869d445efb0df51a73bc44d8ed.zip
gdb-751b7dcc00ada9869d445efb0df51a73bc44d8ed.tar.gz
gdb-751b7dcc00ada9869d445efb0df51a73bc44d8ed.tar.bz2
NEC VR4300 target (IDT SIM monitor) support.
Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com> * 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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/config/.Sanitize2
-rw-r--r--ld/config/mips-vr4300.mt1
-rw-r--r--ld/config/mips-vr4300el.mt1
-rw-r--r--ld/emulparams/.Sanitize2
-rw-r--r--ld/emulparams/elf32vr4300.sh25
-rw-r--r--ld/emulparams/elf32vr4300el.sh25
7 files changed, 64 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index df4b575..9794ec6 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com>
+
+ * 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 <ian@cygnus.com>
* scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index e004cc0..9efc726 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 0000000..962ebd9
--- /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 0000000..b330b2b
--- /dev/null
+++ b/ld/config/mips-vr4300el.mt
@@ -0,0 +1 @@
+EMUL=elf32vr4300el
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 1b084b8..dc0ec29 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 0000000..b875588
--- /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 0000000..aeac8a8
--- /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