summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-20 23:10:31 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-20 23:10:31 +0000
commited63ae4a10a09be7528c00cd8b03f0d2c14c65c6 (patch)
tree4652d78ff81473224dd50a2dfa310f4f9884fb54
parentefa6660d4b6a8cf6b9337631ae31ef2ef747f02e (diff)
downloadgcc-ed63ae4a10a09be7528c00cd8b03f0d2c14c65c6.tar.gz
2012-11-20 Matthias Klose <doko@ubuntu.com>
* config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193681 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/t-linux-eabi5
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8990122d3ab..9a1106449eb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/arm/t-linux-eabi b/gcc/config/arm/t-linux-eabi
index 8004a7d0155..e0f1401338c 100644
--- a/gcc/config/arm/t-linux-eabi
+++ b/gcc/config/arm/t-linux-eabi
@@ -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))