* configure.in (mips*el-elf*): New target.

* config/mipsl-elf32.mt: New file.
	* emulparams/elf32mipl.sh: New file.
This commit is contained in:
Ian Lance Taylor 1994-09-20 18:41:27 +00:00
parent 602d41e523
commit f1781adcf3
6 changed files with 36 additions and 1 deletions

View File

@ -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

View File

@ -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

1
ld/config/mipsl-elf32.mt Normal file
View File

@ -0,0 +1 @@
EMUL=elf32mipl

View File

@ -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 ;;

View File

@ -32,6 +32,7 @@ ebmon29k.sh
elf32_sparc.sh
elf64_sparc.sh
elf32mipb.sh
elf32mipl.sh
elf32ppc.sh
elf_i386.sh
gld960.sh

View File

@ -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