aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-linux64
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-09-03 08:10:40 +0930
committerAlan Modra <amodra@gcc.gnu.org>2013-09-03 08:10:40 +0930
commit93ed07e21adc82b35f451dcf532b833f67c110ce (patch)
treef7719c5dce9a6b84f5e87138af7ef2db0ee5d662 /gcc/config/rs6000/t-linux64
parente35096918493d92c03f4d6483bfd07f5ec6a998e (diff)
downloadgcc-93ed07e21adc82b35f451dcf532b833f67c110ce.zip
gcc-93ed07e21adc82b35f451dcf532b833f67c110ce.tar.gz
gcc-93ed07e21adc82b35f451dcf532b833f67c110ce.tar.bz2
config.gcc (powerpc*-*-linux*): Add support for little-endian multilibs to big-endian target and vice versa.
* config.gcc (powerpc*-*-linux*): Add support for little-endian multilibs to big-endian target and vice versa. * config/rs6000/t-linux64: Use := assignment on all vars. (MULTILIB_EXTRA_OPTS): Remove fPIC. (MULTILIB_OSDIRNAMES): Specify using mapping from multilib_options. * config/rs6000/t-linux64le: New file. * config/rs6000/t-linux64bele: New file. * config/rs6000/t-linux64lebe: New file. From-SVN: r202190
Diffstat (limited to 'gcc/config/rs6000/t-linux64')
-rw-r--r--gcc/config/rs6000/t-linux6410
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64
index 9175de2..70e928d 100644
--- a/gcc/config/rs6000/t-linux64
+++ b/gcc/config/rs6000/t-linux64
@@ -25,8 +25,8 @@
# it doesn't tell anything about the 32bit libraries on those systems. Set
# MULTILIB_OSDIRNAMES according to what is found on the target.
-MULTILIB_OPTIONS = m64/m32
-MULTILIB_DIRNAMES = 64 32
-MULTILIB_EXTRA_OPTS = fPIC
-MULTILIB_OSDIRNAMES = ../lib64$(call if_multiarch,:powerpc64-linux-gnu)
-MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:powerpc-linux-gnu)
+MULTILIB_OPTIONS := m64/m32
+MULTILIB_DIRNAMES := 64 32
+MULTILIB_EXTRA_OPTS :=
+MULTILIB_OSDIRNAMES := m64=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
+MULTILIB_OSDIRNAMES += m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:powerpc-linux-gnu)