MIPS/BFD: Correctly handle `bfd_reloc_outofrange' with branches
[deliverable/binutils-gdb.git] / ld / configure.tgt
index 197f13e4ba56228bf16fce79fcb1be353e73dccb..0b7637bdb9215a7c7f863ada3ed8ce1d8a92695a 100644 (file)
@@ -1,6 +1,6 @@
 # configure.tgt
 #
-#   Copyright (C) 2013-2015 Free Software Foundation, Inc.
+#   Copyright (C) 2013-2016 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -47,8 +47,11 @@ targ64_extra_libpath=
 case "${targ}" in
 aarch64_be-*-elf)      targ_emul=aarch64elfb
                        targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;;
-aarch64-*-elf)         targ_emul=aarch64elf
+aarch64-*-elf | aarch64-*-rtems*)
+                       targ_emul=aarch64elf
                        targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;;
+aarch64-*-cloudabi*)   targ_emul=aarch64cloudabi
+                       targ_extra_emuls=aarch64cloudabib ;;
 aarch64-*-freebsd*)    targ_emul=aarch64fbsd
                        targ_extra_emuls="aarch64fbsdb aarch64elf" ;;
 aarch64_be-*-linux*)   targ_emul=aarch64linuxb
@@ -100,6 +103,7 @@ arm-*-netbsd*)              targ_emul=armnbsd;
                        targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd"  ;;
 arm-*-nto*)            targ_emul=armnto ;;
 arm-*-openbsd*)                targ_emul=armnbsd ;;
+arm-*-phoenix*)                targ_emul=armelf ;;
 arm-*-rtems*)          targ_emul=armelf ;;
 armeb-*-elf | armeb-*-eabi*)
                        targ_emul=armelfb ;;
@@ -312,7 +316,8 @@ i[3-7]86-*-elfiamcu)        targ_emul=elf_iamcu
                        targ_extra_emuls=elf_i386 ;;
 i[3-7]86-*-elf*)       targ_emul=elf_i386
                        targ_extra_emuls=elf_iamcu ;;
-x86_64-*-elf*)         targ_emul=elf_x86_64
+x86_64-*-elf* | x86_64-*-rtems*)
+                       targ_emul=elf_x86_64
                        targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
                        targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
@@ -488,7 +493,8 @@ mips*vr4100el-*-elf*)       targ_emul=elf32l4300 ;;
 mips*vr4100-*-elf*)    targ_emul=elf32b4300 ;;
 mips*vr5000el-*-elf*)  targ_emul=elf32l4300 ;;
 mips*vr5000-*-elf*)    targ_emul=elf32b4300 ;;
-mips*el-sde-elf*)      targ_emul=elf32ltsmip
+mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)
+                       targ_emul=elf32ltsmip
                        targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;;
 mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
                        targ_emul=elf32btsmip
@@ -540,7 +546,6 @@ mips*-*-sysv4*)         targ_emul=elf32btsmip
 mmix-*-*)              targ_emul=mmo
                        targ_extra_emuls=elf64mmix
                        ;;
-am34-*-linux*)         targ_emul=elf32am33lin ;;
 am33_2.0-*-linux*)     targ_emul=elf32am33lin ;;
 mn10200-*-*)           targ_emul=mn10200 ;;
 mn10300-*-*)           targ_emul=mn10300
@@ -618,10 +623,13 @@ powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \
                        esac
                        case "${targ}" in
                        powerpc*le-*)
-                               for z in targ_emul targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath
+                               # PR 19985: Include big endian emulations.
+                               for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath
                                do
-                                 eval ${z}=\"`eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\"
+                                 eval ${z}=\"\$${z} `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\"
                                done
+                               targ_extra_emuls="$targ_extra_emuls $targ_emul"
+                               eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\"
                        esac ;;
 powerpc-*-nto*)         targ_emul=elf32ppcnto ;;
 powerpcle-*-nto*)       targ_emul=elf32lppcnto ;;
This page took 0.026883 seconds and 4 git commands to generate.