Add TMS320C4x support
[deliverable/binutils-gdb.git] / ld / configure.tgt
index f92334663db082d3f456529489f2dc64080d9be6..0f1d1c915d9695864e5c8b37adc6f33267486268 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 ;;
@@ -249,14 +253,14 @@ thumb-*-pe)               targ_emul=armpe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
 xscale-*-coff)         targ_emul=armcoff ;;
 xscale-*-elf)          targ_emul=armelf ;;
-h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*)
+h8300-*-coff* | h8300-*-rtems*)
                        targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
                        ;;
 h8300-*-elf*)
                        targ_emul=h8300elf;
                        targ_extra_emuls="h8300helf h8300self"
                        ;;
-h8500-*-hms* | h8500-*-coff*)
+h8500-*-coff* | h8500-*-rtems*)
                        targ_emul=h8500
                        targ_extra_emuls="h8500s h8500b h8500m h8500c"
                        ;;
@@ -303,6 +307,9 @@ sh-*-elf* | sh[1234]*-*-elf | sh-*-rtemself*)
                        targ_emul=shelf
                        targ_extra_emuls="shlelf sh shl"
                        ;;
+sh-*-nto*)             targ_emul=shelf_nto
+                       targ_extra_emuls=shlelf_nto
+                       ;;
 sh-*-pe)               targ_emul=shpe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o" ;;
 sh-*-*|sh-*-rtems*)    targ_emul=sh; targ_extra_emuls=shl ;;
@@ -388,11 +395,17 @@ 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 elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip"
                        ;;
 mips*-*-linux-gnu*)    targ_emul=elf32btsmip
-                       targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip"
+                       targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip"
                        ;;
 mips*-*-lnews*)                targ_emul=mipslnews ;;
 mips*-*-sysv4*)         targ_emul=elf32btsmip ;;
@@ -441,7 +454,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 +481,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 ;;
@@ -479,6 +498,7 @@ rs6000-*-aix5*)             targ_emul=aix5rs6 ;;
 rs6000-*-aix*)         targ_emul=aixrs6 ;;
 tic30-*-*aout*)                targ_emul=tic30aout ;;
 tic30-*-*coff*)                targ_emul=tic30coff ;;
+tic4x-*-* | c4x-*-*)    targ_emul=tic4xcoff ;;
 tic54x-*-* | c54x*-*-*)        targ_emul=tic54xcoff ;;
 tic80-*-*)             targ_emul=tic80coff ;;
 v850-*-*)              targ_emul=v850 ;;
This page took 0.025509 seconds and 4 git commands to generate.