aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-20 18:41:27 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-20 18:41:27 +0000
commitf1781adcf37819bbb7b45a43ae0a0da638f8da15 (patch)
tree09b4250e41d7074915019e61085b4cad62b0dd1a /ld
parent602d41e523e7f1ee427c34740cb2d5996bf7a0d4 (diff)
downloadgdb-f1781adcf37819bbb7b45a43ae0a0da638f8da15.zip
gdb-f1781adcf37819bbb7b45a43ae0a0da638f8da15.tar.gz
gdb-f1781adcf37819bbb7b45a43ae0a0da638f8da15.tar.bz2
* configure.in (mips*el-elf*): New target.
* config/mipsl-elf32.mt: New file. * emulparams/elf32mipl.sh: New file.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/config/.Sanitize3
-rw-r--r--ld/config/mipsl-elf32.mt1
-rw-r--r--ld/configure.in2
-rw-r--r--ld/emulparams/.Sanitize1
-rw-r--r--ld/emulparams/elf32mipl.sh24
6 files changed, 36 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3d97960..11ef429 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+Tue Sep 20 14:35:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
+
+ * configure.in (mips*el-elf*): New target.
+ * config/mipsl-elf32.mt: New file.
+ * emulparams/elf32mipl.sh: New file.
+
Fri Sep 16 12:16:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* ldmain.c (main): Rather than prohibiting ld -r -s, treat it as
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index bf62623..7c11dde 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -69,9 +69,10 @@ mipsbsd.mh
mipsbsd.mt
mips-big.mt
mips-idt.mt
+mipsb-elf32.mt
+mipsl-elf32.mt
mipsl-idt.mt
mips-lit.mt
-mipsb-elf32.mt
news.mt
ose68.mt
ppc-elf32.mt
diff --git a/ld/config/mipsl-elf32.mt b/ld/config/mipsl-elf32.mt
new file mode 100644
index 0000000..a21e8f9
--- /dev/null
+++ b/ld/config/mipsl-elf32.mt
@@ -0,0 +1 @@
+EMUL=elf32mipl
diff --git a/ld/configure.in b/ld/configure.in
index 71dc89e..8eb350c 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -82,6 +82,7 @@ case "${targ}" in
a29k-*-udi) ld_target=sa29200 ;;
a29k-*-ebmon) ld_target=ebmon29k ;;
a29k-*-*) ld_target=coff-a29k ;;
+# arm-*-riscix*) ld_target=riscix ;;
h8300-*-hms) ld_target=coff-h8300 ;;
h8300h-*-hms) ld_target=cf-h8300h ;;
h8500-*-hms) ld_target=coff-h8500 ;;
@@ -103,6 +104,7 @@ case "${targ}" in
mips*el-idt-ecoff*) ld_target=mipsl-idt ;;
mips*-idt-ecoff*) ld_target=mips-idt ;;
mips*-dec-bsd*) ld_target=mipsbsd ;;
+ mips*el-elf*) ld_target=mipsl-elf32 ;;
mips*-*-elf*) ld_target=mipsb-elf32 ;;
alpha-*-osf*) ld_target=alpha ;;
alpha-*-netware*) ld_target=alpha ;;
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 4d703ec..7502992 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -32,6 +32,7 @@ ebmon29k.sh
elf32_sparc.sh
elf64_sparc.sh
elf32mipb.sh
+elf32mipl.sh
elf32ppc.sh
elf_i386.sh
gld960.sh
diff --git a/ld/emulparams/elf32mipl.sh b/ld/emulparams/elf32mipl.sh
new file mode 100644
index 0000000..4a710dc
--- /dev/null
+++ b/ld/emulparams/elf32mipl.sh
@@ -0,0 +1,24 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-littlemips"
+TEXT_START_ADDR=0x0400000
+DATA_ADDR=0x10000000
+MAXPAGESIZE=0x40000
+NONPAGED_TEXT_START_ADDR=0x0400000
+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