* configure.in (mips*el-elf*): New target.
authorIan Lance Taylor <ian@airs.com>
Tue, 20 Sep 1994 18:41:27 +0000 (18:41 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 20 Sep 1994 18:41:27 +0000 (18:41 +0000)
* config/mipsl-elf32.mt: New file.
* emulparams/elf32mipl.sh: New file.

ld/ChangeLog
ld/config/.Sanitize
ld/config/mipsl-elf32.mt [new file with mode: 0644]
ld/configure.in
ld/emulparams/.Sanitize
ld/emulparams/elf32mipl.sh [new file with mode: 0644]

index 3d979601b37c3897ed3b59c20fbc26b72bce5654..11ef4299419c270302a432655a5159742696731c 100644 (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
index bf62623840a3039720e76c41e9bfd1e9d83307c1..7c11dde7acf7b6b22155f1fbd7777e35c65fdf23 100644 (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
diff --git a/ld/config/mipsl-elf32.mt b/ld/config/mipsl-elf32.mt
new file mode 100644 (file)
index 0000000..a21e8f9
--- /dev/null
@@ -0,0 +1 @@
+EMUL=elf32mipl
index 71dc89e7d4c98c24a1fb537982b9f7540c016411..8eb350c606f795fb8711b62ed9e5f2daf6a2014a 100644 (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 ;;
index 4d703ec98ec13434e0aa847b57a4f403bbd5f730..75029925204cb763e49a5b6e6e6e224f3c4093a4 100644 (file)
@@ -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 (file)
index 0000000..4a710dc
--- /dev/null
@@ -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