bfd/
[deliverable/binutils-gdb.git] / ld / configure.tgt
index 96dc4203c85fa1720cad1c24be08b272dd26cf60..bed886af8eafcb0418661b7fdf8c77f85e56b834 100644 (file)
@@ -16,6 +16,7 @@ targ_extra_emuls=
 targ_extra_ofiles=
 
 case "${targ}" in
+am33_2.0-*-linux*)     targ_emul=elf32am33lin ;;
 arm-epoc-pe)           targ_emul=arm_epoc_pe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
 arm-*-wince)           targ_emul=armpe ;
@@ -28,6 +29,7 @@ avr-*-*)              targ_emul=avr85xx
 cris-*-*aout*)         targ_emul=crisaout
                        targ_extra_emuls="criself crislinux"
                        targ_extra_libpath=$targ_extra_emuls ;;
+cris-*-linux-gnu*)     targ_emul=crislinux ;;
 cris-*-*)              targ_emul=criself
                        targ_extra_emuls="crisaout crislinux"
                        targ_extra_libpath=$targ_extra_emuls ;;
@@ -122,30 +124,30 @@ m68*-ericsson-ose)        targ_emul=sun3 ;;
 m68*-apple-aux*)       targ_emul=m68kaux ;;
 *-tandem-none)         targ_emul=st2000 ;;
 i370-*-elf* | i370-*-linux-gnu*) targ_emul=elf32i370 ;;
-i[3456]86-*-nto-qnx*)  targ_emul=i386nto ;;
-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-*-rtemscoff*) targ_emul=i386coff ;;
-i[3456]86-*-rtemself*)  targ_emul=elf_i386 ;;
-i[3456]86-*-rtems*)     targ_emul=elf_i386 ;;
-i[3456]86-*-aros*)      targ_emul=elf_i386 ;;
-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
+i[3-7]86-*-nto-qnx*)   targ_emul=i386nto ;;
+i[3-7]86-*-vsta)       targ_emul=vsta ;;
+i[3-7]86-go32-rtems*)  targ_emul=i386go32 ;;
+i[3-7]86-*-go32)       targ_emul=i386go32 ;;
+i[3-7]86-*-msdosdjgpp*) targ_emul=i386go32 ;;
+i[3-7]86-*-aix*)       targ_emul=i386coff ;;
+i[3-7]86-*-sco*)       targ_emul=i386coff ;;
+i[3-7]86-*-isc*)       targ_emul=i386coff ;;
+i[3-7]86-*-lynxos*)    targ_emul=i386lynx ;;
+i[3-7]86-*-coff)       targ_emul=i386coff ;;
+i[3-7]86-*-rtemscoff*) targ_emul=i386coff ;;
+i[3-7]86-*-rtemself*)  targ_emul=elf_i386 ;;
+i[3-7]86-*-rtems*)     targ_emul=elf_i386 ;;
+i[3-7]86-*-aros*)      targ_emul=elf_i386 ;;
+i[3-7]86-*-bsd)                targ_emul=i386bsd ;;
+i[3-7]86-*-bsd386)     targ_emul=i386bsd ;;
+i[3-7]86-*-bsdi*)      targ_emul=i386bsd ;;
+i[3-7]86-*-aout)       targ_emul=i386aout ;;
+i[3-7]86-*-linux*aout*)        targ_emul=i386linux
                        targ_extra_emuls=elf_i386
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
                        ;;
-i[3456]86-*-linux*oldld)       targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
-i[3456]86-*-linux-gnu*)        targ_emul=elf_i386
+i[3-7]86-*-linux*oldld)        targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
+i[3-7]86-*-linux-gnu*) targ_emul=elf_i386
                        targ_extra_emuls=i386linux
                        if test x${want64} = xtrue; then
                          targ_extra_emuls="$targ_extra_emuls elf_x86_64"
@@ -158,21 +160,22 @@ x86_64-*-linux-gnu*)      targ_emul=elf_x86_64
                        tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'`
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
                        ;;
-i[3456]86-*-sysv[45]*) targ_emul=elf_i386 ;;
-i[3456]86-*-solaris2*)  targ_emul=elf_i386_ldso
+i[3-7]86-*-sysv[45]*)  targ_emul=elf_i386 ;;
+i[3-7]86-*-solaris2*)  targ_emul=elf_i386_ldso
                         targ_extra_emuls="elf_i386"
                         ;;
-i[3456]86-*-unixware)  targ_emul=elf_i386 ;;
-i[3456]86-*-solaris*)   targ_emul=elf_i386_ldso
+i[3-7]86-*-unixware)   targ_emul=elf_i386 ;;
+i[3-7]86-*-solaris*)   targ_emul=elf_i386_ldso
                         targ_extra_emuls="elf_i386"
                         ;;
-i[3456]86-*-netbsdelf*)        targ_emul=elf_i386
+i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu*)
+                       targ_emul=elf_i386
                        targ_extra_emuls=i386nbsd
                        ;;
-i[3456]86-*-netbsdpe*) targ_emul=i386pe
+i[3-7]86-*-netbsdpe*)  targ_emul=i386pe
                        targ_extra_ofiles="deffilep.o pe-dll.o"
                        ;;
-i[3456]86-*-netbsd*)   targ_emul=i386nbsd
+i[3-7]86-*-netbsd*)    targ_emul=i386nbsd
                        targ_extra_emuls=elf_i386
                        ;;
 x86_64-*-netbsd*)      targ_emul=elf_x86_64
@@ -187,39 +190,39 @@ x86_64-*-netbsd*) targ_emul=elf_x86_64
                                ;;
                        esac
                        ;;
-i[3456]86-*-netware)   targ_emul=i386nw ;;
-i[3456]86-*-elf*)      targ_emul=elf_i386 ;;
-i[3456]86-*-kaos*)     targ_emul=elf_i386 ;;
-i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12])
+i[3-7]86-*-netware)    targ_emul=i386nw ;;
+i[3-7]86-*-elf*)       targ_emul=elf_i386 ;;
+i[3-7]86-*-kaos*)      targ_emul=elf_i386 ;;
+i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12])
                        targ_emul=i386bsd ;;
-i[3456]86-*-freebsd*)  targ_emul=elf_i386_fbsd
+i[3-7]86-*-freebsd*)   targ_emul=elf_i386_fbsd
                        targ_extra_emuls="elf_i386 i386bsd" ;;
 x86_64-*-freebsd*)     targ_emul=elf_x86_64_fbsd
                        targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386"
                        tdir_elf_i386=`echo ${targ_alias} \
                            | sed -e 's/x86_64/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 ;;
-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[3-7]86-*-sysv*)      targ_emul=i386coff ;;
+i[3-7]86-*-ptx*)       targ_emul=i386coff ;;
+i[3-7]86-*-mach*)      targ_emul=i386mach ;;
+i[3-7]86-*-gnu*)       targ_emul=elf_i386 ;;
+i[3-7]86-*-msdos*)     targ_emul=i386msdos; targ_extra_emuls=i386aout ;;
+i[3-7]86-*-moss*)      targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
+i[3-7]86-*-winnt*)     targ_emul=i386pe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
-i[3456]86-*-pe)                targ_emul=i386pe ;
+i[3-7]86-*-pe)         targ_emul=i386pe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
-i[3456]86-*-cygwin*)   targ_emul=i386pe ;
+i[3-7]86-*-cygwin*)    targ_emul=i386pe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o"
                        test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;;
-i[3456]86-*-mingw32*)  targ_emul=i386pe ;
+i[3-7]86-*-mingw32*)   targ_emul=i386pe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
-i[3456]86-*-interix*)  targ_emul=i386pe_posix;
+i[3-7]86-*-interix*)   targ_emul=i386pe_posix;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
-i[3456]86-*-beospe*)    targ_emul=i386beos ;;
-i[3456]86-*-beos*)     targ_emul=elf_i386_be ;;
-i[3456]86-*-vxworks*)  targ_emul=i386aout ;;
-i[3456]86-*-chaos)     targ_emul=elf_i386_chaos ;;
+i[3-7]86-*-beospe*)    targ_emul=i386beos ;;
+i[3-7]86-*-beos*)      targ_emul=elf_i386_be ;;
+i[3-7]86-*-vxworks*)   targ_emul=i386aout ;;
+i[3-7]86-*-chaos)      targ_emul=elf_i386_chaos ;;
 m8*-*-*)               targ_emul=m88kbcs ;;
 a29k-*-udi)            targ_emul=sa29200 ;;
 a29k-*-ebmon)          targ_emul=ebmon29k ;;
@@ -240,10 +243,12 @@ arm-*-netbsd*)            targ_emul=armnbsd;
 arm-*-nto*)            targ_emul=armnto ;;
 arm-*-openbsd*)                targ_emul=armnbsd ;;
 arm-*-rtems*)          targ_emul=armelf ;;
+armeb-*-elf)           targ_emul=armelfb ;;
 arm-*-elf)             targ_emul=armelf ;;
 arm-*-kaos*)           targ_emul=armelf ;;
 arm9e-*-elf)           targ_emul=armelf ;;
 arm-*-oabi)            targ_emul=armelf_oabi ;;
+arm*b-*-linux-gnu*)    targ_emul=armelfb_linux; targ_extra_emuls=armelfb ;;
 arm*-*-linux-gnu*)     targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
 arm*-*-uclinux*)       targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
 arm*-*-conix*)         targ_emul=armelf ;;
@@ -261,11 +266,11 @@ thumb-*-pe)               targ_emul=armpe ;
 xscale-*-coff)         targ_emul=armcoff ;;
 xscale-*-elf)          targ_emul=armelf ;;
 h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*)
-                       targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
+                       targ_emul=h8300; targ_extra_emuls="h8300h h8300s h8300hn h8300sn h8300sx h8300sxn"
                        ;;
 h8300-*-elf*)
                        targ_emul=h8300elf;
-                       targ_extra_emuls="h8300helf h8300self"
+                       targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf h8300sxelf h8300sxnelf"
                        ;;
 h8500-*-hms* | h8500-*-coff* | h8500-*-rtems*)
                        targ_emul=h8500
@@ -305,7 +310,7 @@ sh64-*-netbsd*)
                        targ_emul=shelf64_nbsd
                        targ_extra_emuls="shlelf64_nbsd shelf32_nbsd shlelf32_nbsd shelf_nbsd shlelf_nbsd"
                        ;;
-sh*le-*-netbsdelf*)
+sh*l*-*-netbsdelf*)
                        targ_emul=shlelf_nbsd
                        targ_extra_emuls=shelf_nbsd
                        ;;
@@ -385,6 +390,7 @@ mips*-dec-osf*)             targ_emul=mipslit ;;
 mips*-sgi-irix5*)      targ_emul=elf32bsmip ;;
 mips*-sgi-irix6*)      targ_emul=elf32bmipn32
                        targ_extra_emuls="elf32bsmip elf64bmip"
+                       targ_extra_libpath=$targ_extra_emuls
                        ;;
 mips*-sgi-irix*)       targ_emul=mipsbig ;;
 mips*el-*-ecoff*)      targ_emul=mipsidtl ;;
@@ -464,7 +470,7 @@ powerpc*-*-linux*)
        case "${targ}" in
        *64*)   targ_emul=elf64ppc
                targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim"
-               targ_extra_libpath=elf32ppclinux
+               targ_extra_libpath="elf32ppclinux elf32ppc"
                tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
                tdir_elf32ppclinux=$tdir_elf32ppc
                tdir_elf32ppcsim=$tdir_elf32ppc ;;
@@ -473,6 +479,7 @@ powerpc*-*-linux*)
                targ_extra_libpath=elf32ppc
                if test "${want64}" = "true"; then
                  targ_extra_emuls="$targ_extra_emuls elf64ppc"
+                 targ_extra_libpath="$targ_extra_libpath elf64ppc"
                fi
                ;;
        esac ;;
@@ -513,8 +520,8 @@ powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;;
 rs6000-*-aix5*)                targ_emul=aix5rs6 ;;
 rs6000-*-aix*)         targ_emul=aixrs6 ;;
 tic30-*-*aout*)                targ_emul=tic30aout ;;
-tic30-*-*coff*)                targ_emul=tic30coff ; targ_extra_emuls="tic3xcoff tic3xcoff_onchip" ;;
-tic4x-*-* | c4x-*-*)    targ_emul=tic4xcoff ;;
+tic30-*-*coff*)                targ_emul=tic30coff ;;
+tic4x-*-* | c4x-*-*)    targ_emul=tic4xcoff ; targ_extra_emuls="tic3xcoff tic3xcoff_onchip" ;;
 tic54x-*-* | c54x*-*-*)        targ_emul=tic54xcoff ;;
 tic80-*-*)             targ_emul=tic80coff ;;
 v850-*-*)              targ_emul=v850 ;;
@@ -524,6 +531,7 @@ iq2000-*-elf)           targ_emul=elf32iq2000 ; targ_extra_emuls="elf32iq10" ;;
 frv-*-*)               targ_emul=elf32frv ;;
 w65-*-*)               targ_emul=w65 ;;
 xstormy16-*-*)         targ_emul=elf32xstormy16 ;;
+xtensa-*-*)            targ_emul=elf32xtensa;;
 fr30-*-*)              targ_emul=elf32fr30 ;;
 mcore-*-pe)            targ_emul=mcorepe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
@@ -559,15 +567,15 @@ hppa*64*-*-hpux11*)
   NATIVE_LIB_DIRS=/usr/lib/pa20_64
   ;;
 
-i[3456]86-*-sysv4*)
+i[3-7]86-*-sysv4*)
   NATIVE_LIB_DIRS='/usr/local/lib /usr/ccs/lib /lib /usr/lib'
   ;;
 
-i[3456]86-*-solaris*)
+i[3-7]86-*-solaris*)
   NATIVE_LIB_DIRS='/usr/local/lib /usr/ccs/lib /lib /usr/lib'
   ;;
 
-i[3456]86-pc-interix*)
+i[3-7]86-pc-interix*)
   NATIVE_LIB_DIRS='/usr/local/lib $$INTERIX_ROOT/usr/lib /lib /usr/lib'
   ;;
 
@@ -579,6 +587,10 @@ sparc*-*-solaris2*)
   NATIVE_LIB_DIRS='/usr/local/lib /usr/ccs/lib /lib /usr/lib'
   ;;
 
+i[03-9x]86-*-cygwin*)
+  NATIVE_LIB_DIRS='/usr/lib /usr/lib/w32api'
+  ;;
+
 *-*-linux*)
   ;;
 
This page took 0.028523 seconds and 4 git commands to generate.