X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fconfigure.host;h=c824a47d45d78f66b1755287776fd4d4e93bab69;hb=30ce8e47fad9b057b6d7af9e1d43061126d34d20;hp=024ed625420119cf37e054733c4c8067765e2c32;hpb=ca0b76868aa28d2ecced761ad041d942953261a9;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/configure.host b/bfd/configure.host index 024ed62542..c824a47d45 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -1,9 +1,26 @@ +# +# Copyright (C) 2012-2020 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 +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING3. If not see +# . +# # This file is a shell script that overrides some of the tools and # flags used on a host specific basis. # Since the "bfd/hosts" directory is shared by the bfd, opcodes, and # binutils directories (at least), the index to it is also shared. -# This is that index. Each configure.in file should source this file +# This is that index. Each configure.ac file should source this file # in its per-host part. # This sets the following shell variables: @@ -19,16 +36,20 @@ HOST_U_64BIT_TYPE= case "${host}" in -hppa*-*-hpux*) # HP/UX's ftello64 et.al. declarations are only +hppa*64*-*-hpux*) # HP/UX's ftello64 et.al. declarations are only # visible when _LARGEFILE64_SOURCE is defined. # Without those declarations, real_ftell et.al. # get mis-compiled. - HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;; + HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" + host64=true;; +hppa*-*-hpux*) HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;; hppa*-*-hiux*) HDEFINES=-DHOST_HPPAHPUX ;; hppa*-*-mpeix*) HDEFINES=-DHOST_HPPAMPEIX ;; hppa*-*-bsd*) HDEFINES=-DHOST_HPPABSD ;; hppa*-*-osf*) HDEFINES=-DHOST_HPPAOSF ;; +ia64-*-hpux*) HDEFINES=-D_LARGEFILE64_SOURCE + host64=true;; ia64-*-*) host64=true;; # Workaround for limitations on win9x where file contents are @@ -46,11 +67,16 @@ mips*-sgi-irix3*) HDEFINES="-G 4" ;; mips*-sgi-irix4*) HDEFINES="-G 4" ;; mips*-sgi-irix6*) host64=true;; mips64*-*-linux*) host64=true;; +mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu) host64=true;; mips*-*-sysv4*) ;; mips*-*-sysv*) HDEFINES="-G 4" ;; mips*-*-riscos*) HDEFINES="-G 4" ;; -m68*-hp-hpux*) HDEFINES=-DHOST_HP300HPUX ;; +# Some Solaris systems (osol0906 at least) have a libc that doesn't recognise +# the "MS-ANSI" code page name, so we define an override for CP_ACP (sets the +# default code page used by windres/windmc when not specified by a commandline +# option) to select the "WINDOWS-1252" name instead. See PR11280 for details. +*-*-solaris2.11) HDEFINES=-DCP_ACP=1 ;; *-*-windows*) HOST_64BIT_TYPE=__int64