Add QNX Neutrino PowerPC support and common up QNX functions
[deliverable/binutils-gdb.git] / ld / configure.tgt
index c1d7620c8d9aec3489d52df52881f6ff8eff64d2..5ef6beff88594302f49ab0676be2a601d8829db3 100644 (file)
@@ -144,6 +144,9 @@ i[3456]86-*-linux*aout*)    targ_emul=i386linux
 i[3456]86-*-linux*oldld)       targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
 i[3456]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"
+                       fi
                        tdir_i386linux=${targ_alias}aout
                        ;;
 x86_64-*-linux-gnu*)   targ_emul=elf_x86_64
@@ -229,6 +232,7 @@ arm-*-netbsdelf*)   targ_emul=armelf_nbsd;
                        targ_extra_emuls="armelfb_nbsd armelf armnbsd" ;;
 arm-*-netbsd*)         targ_emul=armnbsd;
                        targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd"  ;;
+arm-**-nto*)           targ_emul=armnto ;;
 arm-*-openbsd*)                targ_emul=armnbsd ;;
 arm-*-rtems*)          targ_emul=armelf ;;
 arm-*-elf)             targ_emul=armelf ;;
@@ -388,11 +392,23 @@ mips*el-*-rtems*) targ_emul=elf32elmip ;;
 mips*-*-rtems*)                targ_emul=elf32ebmip ;;
 mips*el-*-vxworks*)    targ_emul=elf32elmip ;;
 mips*-*-vxworks*)      targ_emul=elf32ebmip ;;
+mips64*el-*-linux-gnu*)        targ_emul=elf32ltsmipn32
+                       targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"
+                       ;;
+mips64*-*-linux-gnu*)  targ_emul=elf32btsmipn32
+                       targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip"
+                       ;;
 mips*el-*-linux-gnu*)  targ_emul=elf32ltsmip
-                       targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip"
+                       targ_extra_emuls="elf32btsmip"
+                       if test x${want64} = xtrue; then
+                         targ_extra_emuls="$targ_extra_emuls elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip"
+                       fi
                        ;;
 mips*-*-linux-gnu*)    targ_emul=elf32btsmip
-                       targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip"
+                       targ_extra_emuls="elf32ltsmip"
+                       if test x${want64} = xtrue; then
+                         targ_extra_emuls="$targ_extra_emuls elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip"
+                       fi
                        ;;
 mips*-*-lnews*)                targ_emul=mipslnews ;;
 mips*-*-sysv4*)         targ_emul=elf32btsmip ;;
@@ -441,7 +457,11 @@ powerpc*-*-linux*)
                tdir_elf32ppcsim=$tdir_elf32ppc ;;
        *)      targ_emul=elf32ppclinux
                targ_extra_emuls="elf32ppc elf32ppcsim"
-               targ_extra_libpath=elf32ppc ;;
+               targ_extra_libpath=elf32ppc
+               if test "${want64}" = "true"; then
+                 targ_extra_emuls="$targ_extra_emuls elf64ppc"
+               fi
+               ;;
        esac ;;
 powerpc*le-*-elf* | powerpc*le-*-eabi* | powerpc*le-*-solaris* \
   | powerpc*le-*-sysv* | powerpc*le-*-vxworks*)
@@ -464,6 +484,8 @@ powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \
        *)      targ_emul=elf32ppc
                targ_extra_emuls="elf32ppclinux elf32ppcsim" ;;
        esac ;;
+powerpc-*-nto*)         targ_emul=elf32ppcnto ;;
+powerpcle-*-nto*)       targ_emul=elf32lppcnto ;;
 powerpcle-*-rtems*)    targ_emul=elf32leppc ;;
 powerpc-*-rtems*)      targ_emul=elf32ppc ;;
 powerpc-*-macos*)      targ_emul=ppcmacos ;;
@@ -494,6 +516,7 @@ mcore-*-elf)                targ_emul=elf32mcore ;;
 s390x-*-linux*)         targ_emul=elf64_s390 ;;
 s390-*-linux*)          targ_emul=elf_s390 ;;
 *-*-ieee*)             targ_emul=vanilla ;;
+ip2k-*-elf)            targ_emul=elf32ip2k ;;
 
 *)
   echo 2>&1 "*** ld does not support target ${targ}"
This page took 0.025306 seconds and 4 git commands to generate.