t-linux-eabi: Define MULTIARCH_DIRNAME for linux target.
authorMatthias Klose <doko@ubuntu.com>
Tue, 20 Nov 2012 23:10:31 +0000 (23:10 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Tue, 20 Nov 2012 23:10:31 +0000 (23:10 +0000)
2012-11-20  Matthias Klose  <doko@ubuntu.com>

        * config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target.

From-SVN: r193681

gcc/ChangeLog
gcc/config/arm/t-linux-eabi

index 8990122d3ab331a81fd596cb7eebc5027d8d6e9c..9a1106449ebb6bf8b9d8436b16188fefa1fbf5fc 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-20  Matthias Klose  <doko@ubuntu.com>
+
+       * config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target.
+
 2012-11-20  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * stor-layout.c (bit_field_mode_iterator::next_mode): Fix signedness.
index 8004a7d0155b97be1f7ffdd51e0c51c2d0c10a94..e0f1401338c7d2e86536ea9abeeb6a76355d9af0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2005, 2009, 2010, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2005-2012 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
@@ -24,3 +24,6 @@ MULTILIB_DIRNAMES     =
 #MULTILIB_OPTIONS     += mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te
 #MULTILIB_DIRNAMES    += fa606te fa626te fmp626 fa726te
 #MULTILIB_EXCEPTIONS  += *mthumb/*mcpu=fa606te *mthumb/*mcpu=fa626te *mthumb/*mcpu=fmp626 *mthumb/*mcpu=fa726te*
+
+ARM_EB = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),eb)
+MULTIARCH_DIRNAME = $(call if_multiarch,arm$(ARM_EB)-linux-gnueabi$(if $(filter hard,$(with_float)),hf))