Add Xtensa port
[binutils-gdb.git] / ld / configure.tgt
index 96dc4203c85fa1720cad1c24be08b272dd26cf60..8c10d4274cc43d6ccf8bf24164c154b9bf70982e 100644 (file)
@@ -464,7 +464,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 +473,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 ;;
@@ -524,6 +525,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" ;;
@@ -579,6 +581,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*)
   ;;