* lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
[deliverable/binutils-gdb.git] / ld / configure.tgt
index 394f8911716ee0ef177f61892a98634625d1f55b..7f419eabdf94bb7a2d166421a1d836cd836a6493 100644 (file)
@@ -12,12 +12,11 @@ targ_extra_emuls=
 
 case "${targ}" in
 arm-*-pe)              targ_emul=armpe ;;
-# start-sanitize-arc
 arc-*-elf*)            targ_emul=arcelf ;;
-# end-sanitize-arc
-# start-sanitize-d10v
 d10v-*-*)              targ_emul=d10velf ;;
-# end-sanitize-d10v
+# start-sanitize-d30v
+d30v-*-*)              targ_emul=d30velf ;;
+# end-sanitize-d30v
 sparc64-*-aout*)       targ_emul=sparcaout ;;
 sparc64-*-elf*)                targ_emul=elf64_sparc ;;
 sparc-sun-sunos4*)     targ_emul=sun4 ;;
@@ -27,6 +26,22 @@ sparc*-*-aout)               targ_emul=sparcaout ;;
 sparc*-*-coff)         targ_emul=coff_sparc ;;
 sparc*-*-elf)          targ_emul=elf32_sparc ;;
 sparc*-*-sysv4*)       targ_emul=elf32_sparc ;;
+sparc*-*-linux*aout*)  targ_emul=sparclinux
+                       targ_extra_emuls="elf32_sparc sun4"
+                       tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
+                       tdir_sun4=sparc-sun-sunos4
+                       ;;
+sparc64-*-linux*)      targ_emul=elf64_sparc
+                       targ_extra_emuls="elf32_sparc sparclinux sun4"
+                       tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
+                       tdir_sparclinux=${tdir_elf32_sparc}aout
+                       tdir_sun4=sparc-sun-sunos4
+                       ;;
+sparc*-*-linux*)       targ_emul=elf32_sparc
+                       targ_extra_emuls="sparclinux sun4"
+                       tdir_sparclinux=${targ_alias}aout
+                       tdir_sun4=sparc-sun-sunos4
+                       ;;
 sparc*-*-lynxos*)      targ_emul=sparclynx ;;
 sparc*-*-netbsd*)      targ_emul=sparcnbsd ;;
 sparc*-*-solaris2*)    targ_emul=elf32_sparc ;;
@@ -38,9 +53,7 @@ i960-wrs-vxworks*)    targ_emul=gld960 ;;
 i960-*-coff)           targ_emul=gld960coff ;;
 i960-intel-nindy)      targ_emul=gld960 ;;
 i960-*-rtems*)         targ_emul=gld960coff ;;
-# start-sanitize-m32r
 m32r-*-*)              targ_emul=m32relf ;;
-# end-sanitize-m32r
 m68*-sun-sunos[34]*)   targ_emul=sun3 ;;
 m68*-wrs-vxworks*)     targ_emul=sun3 ;;
 m68*-ericsson-ose)     targ_emul=sun3 ;;
@@ -49,6 +62,7 @@ m68*-apple-aux*)      targ_emul=m68kaux ;;
 i[3456]86-*-vsta)      targ_emul=vsta ;;
 i[3456]86-go32-rtems*) targ_emul=i386go32 ;;
 i[3456]86-*-go32)      targ_emul=i386go32 ;;
+i[3456]86-*-msdosdjgpp*) targ_emul=i386go32 ;;
 i[3456]86-*-aix*)      targ_emul=i386coff ;;
 i[3456]86-*-sco*)      targ_emul=i386coff ;;
 i[3456]86-*-isc*)      targ_emul=i386coff ;;
@@ -59,7 +73,7 @@ i[3456]86-*-bsd)      targ_emul=i386bsd ;;
 i[3456]86-*-bsd386)    targ_emul=i386bsd ;;
 i[3456]86-*-bsdi*)     targ_emul=i386bsd ;;
 i[3456]86-*-aout)      targ_emul=i386aout ;;
-i[3456]86-*-linuxaout*)        targ_emul=i386linux
+i[3456]86-*-linux*aout*)       targ_emul=i386linux
                        targ_extra_emuls=elf_i386
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
                        ;;
@@ -77,7 +91,7 @@ i[3456]86-*-freebsdelf*) targ_emul=elf_i386 ;;
 i[3456]86-*-sysv*)     targ_emul=i386coff ;;
 i[3456]86-*-ptx*)      targ_emul=i386coff ;;
 i[3456]86-*-mach*)     targ_emul=i386mach ;;
-i[3456]86-*-gnu*)      targ_emul=elf_i386; targ_extra_emuls=i386mach ;;
+i[3456]86-*-gnu*)      targ_emul=elf_i386 ;;
 i[3456]86-*-msdos*)    targ_emul=i386msdos; targ_extra_emuls=i386aout ;;
 i[3456]86-*-moss*)     targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
 i[3456]86-*-winnt)     targ_emul=i386pe ;;
@@ -96,7 +110,7 @@ h8300-*-hms)         targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
 h8500-*-hms)           targ_emul=h8500
                        targ_extra_emuls="h8500s h8500b h8500m h8500c"
                        ;;
-sh-*-elf*)             targ_emul=shelf
+sh-*-elf*|sh-*-rtems*) targ_emul=shelf
                        targ_extra_emuls="shlelf sh shl"
                        ;;
 sh-*-*)                        targ_emul=sh; targ_extra_emuls=shl ;;
@@ -107,7 +121,7 @@ m68*-*-aout)                targ_emul=m68kaout ;;
 m68*-*-coff)           targ_emul=m68kcoff ;;
 m68*-*-elf)            targ_emul=m68kelf ;;
 m68*-*-hpux*)          targ_emul=hp3hpux ;;
-m68k-*-linuxaout*)     targ_emul=m68klinux
+m68k-*-linux*aout*)    targ_emul=m68klinux
                        targ_extra_emuls=m68kelf
                        tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'`
                        ;;
@@ -122,10 +136,11 @@ m68*-*-psos*)             targ_emul=m68kpsos ;;
 m68*-*-rtems*)         targ_emul=m68kcoff ;;
 hppa*-*-*elf*)         targ_emul=hppaelf ;;
 hppa*-*-lites*)                targ_emul=hppaelf ;;
+hppa*-*-rtems*)                targ_emul=hppaelf ;;
 vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
 mips*-dec-ultrix*)     targ_emul=mipslit ;;
 mips*-dec-osf*)                targ_emul=mipslit ;;
-mips*-sgi-irix[56]*)   targ_emul=elf32bmip ;;
+mips*-sgi-irix[56]*)   targ_emul=elf32bsmip ;;
 mips*-sgi-irix*)       targ_emul=mipsbig ;;
 mips*el-*-ecoff*)      targ_emul=mipsidtl ;;
 mips*-*-ecoff*)                targ_emul=mipsidt ;;
@@ -138,20 +153,34 @@ mips*vr4100el-*-elf*)     targ_emul=elf32l4300 ;;
 mips*vr4100-*-elf*)    targ_emul=elf32b4300 ;;
 mips*vr5000el-*-elf*)  targ_emul=elf32l4300 ;;
 mips*vr5000-*-elf*)    targ_emul=elf32b4300 ;;
+# start-sanitize-tx49
+mips*tx49el-*-elf*)    targ_emul=elf32l4300 ;;
+mips*tx49-*-elf*)      targ_emul=elf32b4300 ;;
+# end-sanitize-tx49
+# start-sanitize-r5900 
+mips*r5900*-*-elf*)    targ_emul=elf32l4300 ;;
+# end-sanitize-r5900 
 mips*el-*-elf*)                targ_emul=elf32elmip ;;
 mips*-*-elf*)          targ_emul=elf32ebmip ;;
 mips*-*-rtems*)                targ_emul=elf32ebmip ;;
+mips*el-*-linux*)      targ_emul=elf32lsmip
+                       targ_extra_emuls="elf32bsmip mipslit mipsbig"
+                       ;;
+mips*-*-linux*)                targ_emul=elf32bsmip
+                       targ_extra_emuls="elf32lsmip mipsbig mipslit"
+                       ;;
+mips*-*-lnews*)                targ_emul=mipslnews ;;
 mn10200-*-*)           targ_emul=mn10200 ;;
 mn10300-*-*)           targ_emul=mn10300 ;;
-alpha-*-linuxecoff*)   targ_emul=alpha targ_extra_emuls=elf64alpha
+alpha*-*-linuxecoff*)  targ_emul=alpha targ_extra_emuls=elf64alpha
                        tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'`
                        ;;
-alpha-*-linux*)                targ_emul=elf64alpha targ_extra_emuls=alpha
+alpha*-*-linux*)       targ_emul=elf64alpha targ_extra_emuls=alpha
                        tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'`
                        ;;
-alpha-*-osf*)          targ_emul=alpha ;;
-alpha-*-gnu*)          targ_emul=elf64alpha ;;
-alpha-*-netware*)      targ_emul=alpha ;;
+alpha*-*-osf*)         targ_emul=alpha ;;
+alpha*-*-gnu*)         targ_emul=elf64alpha ;;
+alpha*-*-netware*)     targ_emul=alpha ;;
 z8k-*-coff)            targ_emul=z8002; targ_extra_emuls=z8001 ;;
 ns32k-pc532-mach* | ns32k-pc532-ux*)   targ_emul=pc532macha ;;
 ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
@@ -165,10 +194,16 @@ powerpcle-*-pe)         targ_emul=ppcpe ;;
 powerpcle-*-winnt*)     targ_emul=ppcpe ;;
 powerpcle-*-cygwin32)   targ_emul=ppcpe ;;
 powerpc-*-aix*)                targ_emul=aixppc ;;
+powerpc-*-beos*)       targ_emul=aixppc ;;
 rs6000-*-aix*)         targ_emul=aixrs6 ;;
-# start-sanitize-v850
+# start-sanitize-tic80
+tic80-*-*)             targ_emul=tic80coff ;;
+# end-sanitize-tic80
 v850-*-*)              targ_emul=v850 ;;
-# end-sanitize-v850
+# start-sanitize-v850e
+v850e-*-*)             targ_emul=v850 ;;
+v850eq-*-*)            targ_emul=v850 ;;
+# end-sanitize-v850e
 w65-*-*)               targ_emul=w65 ;;
 *-*-aout)              targ_emul=${target_cpu}-${target_vendor} ;;
 *-*-coff)              targ_emul=${target_cpu}-${target_vendor} ;;
This page took 0.025833 seconds and 4 git commands to generate.