Remove v850e sanitization
[deliverable/binutils-gdb.git] / ld / configure.tgt
index b099ec8ed6075db68d1ee04c0eb8282b833205ae..353d94a911c486662f456416e70ef87c48c7e4dc 100644 (file)
 # following shell variables:
 #  targ_emul           name of linker emulation to use
 #  targ_extra_emuls    additional linker emulations to provide
+#  targ_extra_ofiles   additional objects needed by the emulation
 
 targ_extra_emuls=
+targ_extra_ofiles=
 
 case "${targ}" in
 arm-*-pe)              targ_emul=armpe ;;
-# start-sanitize-arc
 arc-*-elf*)            targ_emul=arcelf ;;
-# end-sanitize-arc
+d10v-*-*)              targ_emul=d10velf ;;
+d30v-*-*ext*)          targ_emul=d30v_e; targ_extra_emuls="d30velf d30v_o" ;;
+d30v-*-*onchip*)       targ_emul=d30v_o; targ_extra_emuls="d30velf d30v_e" ;;
+d30v-*-*)              targ_emul=d30velf; targ_extra_emuls="d30v_e d30v_o" ;;
+sparc64-*-aout*)       targ_emul=sparcaout ;;
+sparc64-*-elf*)                targ_emul=elf64_sparc ;;
 sparc-sun-sunos4*)     targ_emul=sun4 ;;
+sparclite*-*-elf)      targ_emul=elf32_sparc ;;
 sparclite*-*-coff)     targ_emul=coff_sparc ;;
-sparclite*-fujitsu-*)  targ_emul=sun4 ;;
-sparc*-*-aout)         targ_emul=sun4 ;;
+sparclite*-fujitsu-*)  targ_emul=sparcaout ;;
+sparc*-*-aout)         targ_emul=sparcaout ;;
 sparc*-*-coff)         targ_emul=coff_sparc ;;
-sparc64-*-elf*)                targ_emul=elf64_sparc ;;
-sparc64*)              targ_emul=sun4 ;;
 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-gnu*)  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-gnu*)   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 ;;
-sparc*-wrs-vxworks*)   targ_emul=sun4 ;;
+sparc*-wrs-vxworks*)   targ_emul=sparcaout ;;
+sparc*-*-rtems*)       targ_emul=sparcaout ;;
 i960-wrs-vxworks5.0*)  targ_emul=gld960 ;;
 i960-wrs-vxworks5*)    targ_emul=gld960coff ;;
-i960-wrs-vxworks*)     targ_emul=gldi960 ;;
+i960-wrs-vxworks*)     targ_emul=gld960 ;;
 i960-*-coff)           targ_emul=gld960coff ;;
-i960-intel-nindy)      targ_emul=gldi960 ;;
+i960-intel-nindy)      targ_emul=gld960 ;;
+i960-*-rtems*)         targ_emul=gld960coff ;;
+m32r-*-*)              targ_emul=m32relf ;;
 m68*-sun-sunos[34]*)   targ_emul=sun3 ;;
 m68*-wrs-vxworks*)     targ_emul=sun3 ;;
 m68*-ericsson-ose)     targ_emul=sun3 ;;
+m68*-apple-aux*)       targ_emul=m68kaux ;;
 *-tandem-none)         targ_emul=st2000 ;;
-i[345]86-*-vsta)       targ_emul=vsta ;;
-i[345]86-*-go32)       targ_emul=i386go32 ;;
-i[345]86-*-aix*)       targ_emul=i386coff ;;
-i[345]86-*-sco*)       targ_emul=i386coff ;;
-i[345]86-*-lynxos*)    targ_emul=i386lynx ;;
-i[345]86-*-coff)       targ_emul=i386coff ;;
-i[345]86-*-bsd)                targ_emul=i386bsd ;;
-i[345]86-*-bsd386)     targ_emul=i386bsd ;;
-i[345]86-*-bsdi*)      targ_emul=i386bsd ;;
-i[345]86-*-aout)       targ_emul=i386aout ;;
-i[345]86-*-linuxaout*) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
-i[345]86-*-linuxoldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
-i[345]86-*-linux*)     targ_emul=elf_i386; targ_extra_emuls=i386linux ;;
-i[345]86-*-sysv4*)     targ_emul=elf_i386 ;;
-i[345]86-*-unixware)   targ_emul=elf_i386 ;;
-i[345]86-*-netbsd*)    targ_emul=i386nbsd ;;
-i[345]86-*-netware)    targ_emul=i386nw ;;
-i[345]86-*-elf*)       targ_emul=elf_i386 ;;
-i[345]86-*-sysv*)      targ_emul=i386coff ;;
-i[345]86-*-ptx*)       targ_emul=i386coff ;;
-i[345]86-*-mach*)      targ_emul=i386mach ;;
-i[345]86-*-gnu*)       targ_emul=elf_i386; targ_extra_emuls=i386mach ;;
-i[345]86-*-msdos*)     targ_emul=i386msdos; targ_extra_emuls=i386aout ;;
-i[345]86-*-moss*)      targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
-i[345]86-*-winnt)      targ_emul=i386pe ;;
-i[345]86-*-pe)         targ_emul=i386pe ;;
-i[345]86-*-win32)      targ_emul=i386pe ;;
+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 ;;
+i[3456]86-*-lynxos*)   targ_emul=i386lynx ;;
+i[3456]86-*-coff)      targ_emul=i386coff ;;
+i[3456]86-*-rtems*)    targ_emul=i386coff ;;
+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-*-linux*aout*)       targ_emul=i386linux
+                       targ_extra_emuls=elf_i386
+                       tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
+                       ;;
+i[3456]86-*-linuxoldld)        targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
+i[3456]86-*-linux-gnu*)        targ_emul=elf_i386
+                       targ_extra_emuls=i386linux
+                       tdir_i386linux=${targ_alias}aout
+                       ;;
+i[3456]86-*-sysv4*)    targ_emul=elf_i386 ;;
+i[3456]86-*-solaris2*) targ_emul=elf_i386 ;;
+i[3456]86-*-unixware)  targ_emul=elf_i386 ;;
+i[3456]86-*-solaris*)  targ_emul=elf_i386 ;;
+i[3456]86-*-netbsd*)   targ_emul=i386nbsd ;;
+i[3456]86-*-netware)   targ_emul=i386nw ;;
+i[3456]86-*-elf*)      targ_emul=elf_i386 ;;
+i[3456]86-*-freebsdelf*) targ_emul=elf_i386 ;;
+i[3456]86-*-freebsd*)  targ_emul=i386bsd ;;
+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 ;;
+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 ;;
+i[3456]86-*-pe)                targ_emul=i386pe ;;
+i[3456]86-*-cygwin*)   targ_emul=i386pe ;
+                       targ_extra_ofiles="deffilep.o pe-dll.o" ;;
+i[3456]86-*-mingw32*)  targ_emul=i386pe ;
+                       targ_extra_ofiles="deffilep.o pe-dll.o" ;;
+# start-sanitize-beos
+i[3456]86-*-beospe*)    targ_emul=i386beos ;;
+i[3456]86-*-beos*)     targ_emul=elf_i386 ;;
+# end-sanitize-beos
 m8*-*-*)               targ_emul=m88kbcs ;;
 a29k-*-udi)            targ_emul=sa29200 ;;
 a29k-*-ebmon)          targ_emul=ebmon29k ;;
@@ -71,53 +118,133 @@ a29k-*-*)         targ_emul=a29k ;;
 arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
 armeb-*-aout)          targ_emul=armaoutb ;;
 arm-*-coff)            targ_emul=armcoff ;;
-h8300-*-hms)           targ_emul=h8300; targ_extra_emuls=h8300h ;;
-h8500-*-hms)           targ_emul=h8500
+arm-*-elf)             targ_emul=armelf ;;
+thumb-*-coff)          targ_emul=armcoff ;;
+thumb-*-elf)           targ_emul=armelf ;;
+thumb-*-pe)            targ_emul=armpe ;;
+h8300-*-hms* | h8300-*-coff*)
+                       targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
+                       ;;
+h8500-*-hms* | h8500-*-coff*)
+                       targ_emul=h8500
                        targ_extra_emuls="h8500s h8500b h8500m h8500c"
                        ;;
-sh-*-*)                        targ_emul=sh; targ_extra_emuls=shl ;;
-# start-sanitize-rce
-rce-*-aout)            targ_emul=rce ;;
-# end-sanitize-rce
+sh-*-elf*)             targ_emul=shelf
+                       targ_extra_emuls="shlelf sh shl"
+                       ;;
+sh-*-*|sh-*-rtems*)    targ_emul=sh; targ_extra_emuls=shl ;;
 m68k-sony-*)           targ_emul=news ;;
 m68k-hp-bsd*)          targ_emul=hp300bsd ;;
+m68*-motorola-sysv*)   targ_emul=delta68 ;;
 m68*-*-aout)           targ_emul=m68kaout ;;
 m68*-*-coff)           targ_emul=m68kcoff ;;
 m68*-*-elf)            targ_emul=m68kelf ;;
 m68*-*-hpux*)          targ_emul=hp3hpux ;;
+m68k-*-linux*aout*)    targ_emul=m68klinux
+                       targ_extra_emuls=m68kelf
+                       tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'`
+                       ;;
+m68k-*-linux-gnu*)     targ_emul=m68kelf
+                       targ_extra_emuls=m68klinux
+                       tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'`
+                       ;;
+m68*-*-gnu*)           targ_emul=m68kelf ;;
 m68*-*-lynxos*)                targ_emul=m68klynx ;;
 m68*-hp*-netbsd*)      targ_emul=m68k4knbsd ;;
 m68*-*-netbsd*)                targ_emul=m68knbsd ;;
+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*-sgi-irix5*)      targ_emul=elf32bmip ;;
+mips*-dec-osf*)                targ_emul=mipslit ;;
+mips*-sgi-irix[56]*)   targ_emul=elf32bsmip ;;
 mips*-sgi-irix*)       targ_emul=mipsbig ;;
 mips*el-*-ecoff*)      targ_emul=mipsidtl ;;
 mips*-*-ecoff*)                targ_emul=mipsidt ;;
 mips*-dec-bsd*)                targ_emul=mipsbsd ;;
 mips*-dec-netbsd*)     targ_emul=elf32lmip ;;
 mips*-*-bsd*)          targ_emul=mipsbig ;;
+# start-sanitize-vr4xxx
+mips*vr4xxxel-*-elf*)  targ_emul=elf32l4300 ;;
+mips*vr4xxx-*-elf*)    targ_emul=elf32b4300 ;;
+# end-sanitize-vr4xxx
+# start-sanitize-vr4320
+mips*vr4320el-*-elf*)  targ_emul=elf32l4300 ;;
+mips*vr4320-*-elf*)    targ_emul=elf32b4300 ;;
+# end-sanitize-vr4320
 mips*vr4300el-*-elf*)  targ_emul=elf32l4300 ;;
 mips*vr4300-*-elf*)    targ_emul=elf32b4300 ;;
-mips*el-*-elf*)                targ_emul=elf32lmip ;;
-mips*-*-elf*)          targ_emul=elf32bmip ;;
-alpha-*-linux*)                targ_emul=alpha ;;
-alpha-*-osf*)          targ_emul=alpha ;;
-alpha-*-netware*)      targ_emul=alpha ;;
+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=elf32l5900 ;;
+# end-sanitize-r5900 
+# start-sanitize-sky
+dvp-*-*)               targ_emul=elf32l5900 ;;
+# end-sanitize-sky
+mips*el-*-elf*)                targ_emul=elf32elmip ;;
+mips*-*-elf*)          targ_emul=elf32ebmip ;;
+mips*-*-rtems*)                targ_emul=elf32ebmip ;;
+mips*el-*-linux-gnu*)  targ_emul=elf32lsmip
+                       targ_extra_emuls="elf32bsmip mipslit mipsbig"
+                       ;;
+mips*-*-linux-gnu*)    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
+                       tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'`
+                       ;;
+alpha*-*-linux-gnu*)   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*-*-netbsd*)      targ_emul=elf64alpha ;;
 z8k-*-coff)            targ_emul=z8002; targ_extra_emuls=z8001 ;;
-ns32k-pc532-mach* | ns32k-pc532-ux*)   targ_emul=pc532machaout ;;
+ns32k-pc532-mach* | ns32k-pc532-ux*)   targ_emul=pc532macha ;;
 ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
-powerpc-*-elf* | powerpc-*-eabi*)      targ_emul=elf32ppc ;;
-powerpcle-*-elf* | powerpcle-*-eabi*)  targ_emul=elf32lppc ;;
+powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-linux-gnu* | powerpc-*-sysv* \
+  | powerpc-*-netbsd* | powerpc-*-vxworks*)
+       targ_emul=elf32ppc ;;
+powerpcle-*-elf* | powerpcle-*-eabi* | powerpcle-*-solaris* \
+  | powerpcle-*-sysv* | powerpcle-*-vxworks*)
+       targ_emul=elf32lppc ;;
+powerpc-*-rtems*)      targ_emul=elf32ppc ;;
+powerpc-*-macos*)      targ_emul=ppcmacos ;;
 powerpc-*-netware*)    targ_emul=ppcnw ;;
+powerpcle-*-pe)         targ_emul=ppcpe ;;
+powerpcle-*-winnt*)     targ_emul=ppcpe ;;
+powerpcle-*-cygwin*)   targ_emul=ppcpe ;;
 powerpc-*-aix*)                targ_emul=aixppc ;;
+powerpc-*-beos*)       targ_emul=aixppc ;;
 rs6000-*-aix*)         targ_emul=aixrs6 ;;
+tic30-*-*aout*)                targ_emul=tic30aout ;;
+tic30-*-*coff*)                targ_emul=tic30coff ;;
+# start-sanitize-tic80
+tic80-*-*)             targ_emul=tic80coff ;;
+# end-sanitize-tic80
+v850-*-*)              targ_emul=v850 ;;
+v850e-*-*)             targ_emul=v850 ;;
+v850ea-*-*)            targ_emul=v850 ;;
 w65-*-*)               targ_emul=w65 ;;
+fr30-*-*)              targ_emul=elf32fr30 ;;
 *-*-aout)              targ_emul=${target_cpu}-${target_vendor} ;;
 *-*-coff)              targ_emul=${target_cpu}-${target_vendor} ;;
 *-*-netware)           targ_emul=${target_cpu}-nw ;;
+*-*-ieee*)             targ_emul=vanilla ;;
 
 *)
   echo 2>&1 "*** ld does not support target ${targ}"
This page took 0.031024 seconds and 4 git commands to generate.