Commit df2dfaea by Jakub Jelinek Committed by Jakub Jelinek

t-aarch64-linux (MULTARCH_DIRNAME): Remove.

	* config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove.
	(MULTILIB_OSDIRNAMES): Set.
	* genmultilib: If defaultosdirname doesn't start with :: , set
	defaultosdirname2 instead, clear it and emit two . multilib_raw
	entries instead of just one.

From-SVN: r196649
parent 10ace8a0
2013-03-14 Jakub Jelinek <jakub@redhat.com>
* config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove.
(MULTILIB_OSDIRNAMES): Set.
* genmultilib: If defaultosdirname doesn't start with :: , set
defaultosdirname2 instead, clear it and emit two . multilib_raw
entries instead of just one.
2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE.
......
...@@ -22,4 +22,4 @@ LIB1ASMSRC = aarch64/lib1funcs.asm ...@@ -22,4 +22,4 @@ LIB1ASMSRC = aarch64/lib1funcs.asm
LIB1ASMFUNCS = _aarch64_sync_cache_range LIB1ASMFUNCS = _aarch64_sync_cache_range
AARCH_BE = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),_be) AARCH_BE = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),_be)
MULTIARCH_DIRNAME = $(call if_multiarch,aarch64$(AARCH_BE)-linux-gnu) MULTILIB_OSDIRNAMES = .=../lib64$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu)
...@@ -267,6 +267,7 @@ fi ...@@ -267,6 +267,7 @@ fi
# names. # names.
toosdirnames= toosdirnames=
defaultosdirname= defaultosdirname=
defaultosdirname2=
if [ -n "${multiarch}" ]; then if [ -n "${multiarch}" ]; then
defaultosdirname=::${multiarch} defaultosdirname=::${multiarch}
fi fi
...@@ -280,6 +281,13 @@ if [ -n "${osdirnames}" ]; then ...@@ -280,6 +281,13 @@ if [ -n "${osdirnames}" ]; then
if [ -n "${multiarch}" ]; then if [ -n "${multiarch}" ]; then
defaultosdirname=${defaultosdirname}:${multiarch} defaultosdirname=${defaultosdirname}:${multiarch}
fi fi
case "$defaultosdirname" in
::*) ;;
*)
defaultosdirname2=${defaultosdirname}
defaultosdirname=
;;
esac
shift shift
;; ;;
*=*) *=*)
...@@ -352,6 +360,7 @@ for set in ${options}; do ...@@ -352,6 +360,7 @@ for set in ${options}; do
done done
optout=`echo ${optout} | sed -e 's/^ //'` optout=`echo ${optout} | sed -e 's/^ //'`
echo "\".${defaultosdirname} ${optout};\"," echo "\".${defaultosdirname} ${optout};\","
[ -n "${defaultosdirname2}" ] && echo "\".${defaultosdirname2} ${optout};\","
# This part of code convert an option combination to # This part of code convert an option combination to
# its corresponding directory names. # its corresponding directory names.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment