X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfigure.tgt;h=e2df65957ba9ad4393f4e8006d1cc88cde270b85;hb=038d48680941f014349256aeb7bab14b3f01d58e;hp=0e44880874ab41f37ee6b0b3d73df3f094c8ebf6;hpb=c322dea4027dd82a7727154b3eb33438db2859f7;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/configure.tgt b/gas/configure.tgt index 0e44880874..e2df65957b 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -1,6 +1,6 @@ # gas target specific configuration file. This is a -*- sh -*- file. # -# Copyright (C) 2012-2014 Free Software Foundation, Inc. +# Copyright (C) 2012-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 @@ -50,6 +50,7 @@ case ${cpu} in aarch64_be) cpu_type=aarch64 endian=big ;; alpha*) cpu_type=alpha ;; am33_2.0) cpu_type=mn10300 endian=little ;; + arc*eb) cpu_type=arc endian=big ;; arm*be|arm*b) cpu_type=arm endian=big ;; arm*) cpu_type=arm endian=little ;; bfin*) cpu_type=bfin endian=little ;; @@ -119,20 +120,21 @@ esac generic_target=${cpu_type}-$vendor-$os # Note: This table is alpha-sorted, please try to keep it that way. case ${generic_target} in - aarch64*-*-elf) fmt=elf;; + aarch64*-*-elf | aarch64*-*-rtems*) fmt=elf;; aarch64*-*-linux*) fmt=elf em=linux ;; alpha-*-*vms*) fmt=evax ;; alpha-*-osf*) fmt=ecoff ;; alpha-*-linux*ecoff*) fmt=ecoff ;; alpha-*-linux-*) fmt=elf em=linux ;; - alpha-*-netbsd*) fmt=elf em=nbsd ;; - alpha-*-openbsd*) fmt=elf em=obsd ;; + alpha-*-netbsd* | alpha-*-openbsd*) fmt=elf em=nbsd ;; arc-*-elf*) fmt=elf ;; + arc*-*-linux*) fmt=elf bfd_gas=yes ;; arm-*-aout) fmt=aout ;; arm-*-coff) fmt=coff ;; + arm-*-phoenix*) fmt=elf ;; arm-*-rtems*) fmt=elf ;; arm-*-elf) fmt=elf ;; arm-*-eabi*) fmt=elf em=armeabi ;; @@ -183,6 +185,8 @@ case ${generic_target} in frv-*-*linux*) fmt=elf em=linux;; frv-*-*) fmt=elf ;; + ft32-*-*) fmt=elf ;; + hppa-*-linux*) case ${cpu} in hppa*64*) fmt=elf em=hppalinux64 ;; @@ -204,6 +208,7 @@ case ${generic_target} in hppa-*-hiux*) fmt=som em=hppa ;; h8300-*-elf | h8300-*-rtems*) fmt=elf ;; + h8300-*-linux*) fmt=elf em=linux ;; i370-*-elf* | i370-*-linux*) fmt=elf ;; @@ -212,7 +217,8 @@ case ${generic_target} in i386-*-beospe*) fmt=coff em=pe ;; i386-*-beos*) fmt=elf ;; i386-*-coff) fmt=coff ;; - i386-*-elf) fmt=elf ;; + i386-*-elfiamcu) fmt=elf arch=iamcu ;; + i386-*-elf*) fmt=elf ;; i386-*-kaos*) fmt=elf ;; i386-*-bsd*) fmt=aout em=386bsd ;; i386-*-nacl*) fmt=elf em=nacl @@ -467,6 +473,7 @@ case ${generic_target} in z8k-*-coff | z8k-*-sim) fmt=coff ;; *-*-aout | *-*-scout) fmt=aout ;; + *-*-cloudabi*) fmt=elf ;; *-*-dragonfly*) fmt=elf em=dragonfly ;; *-*-freebsd* | *-*-kfreebsd*-gnu) fmt=elf em=freebsd ;; *-*-bsd*) fmt=aout em=sun3 ;; @@ -495,3 +502,12 @@ if test $bfd_gas != yes; then echo This target is no longer supported in gas exit 1 fi + +case ${cpu_type}-${fmt}-${os} in +i386-elf-linux*) + # Default to compress DWARF debug sections for Linux/x86. + if test ${ac_default_compressed_debug_sections} = unset; then + ac_default_compressed_debug_sections=yes + fi + ;; +esac