Select x32 run-time library for --with-abi={x32|mx32}

PR target/53575
	* config.gcc: Select x32 run-time library if --with-abi={x32|mx32}
	is used for x86_64-*-*.

From-SVN: r188240
This commit is contained in:
H.J. Lu 2012-06-05 13:12:52 +00:00 committed by H.J. Lu
parent 9bb40b3b23
commit 9287b16892
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-06-05 H.J. Lu <hongjiu.lu@intel.com>
PR target/53575
* config.gcc: Select x32 run-time library if --with-abi={x32|mx32}
is used for x86_64-*-*.
2012-06-05 Richard Guenther <rguenther@suse.de> 2012-06-05 Richard Guenther <rguenther@suse.de>
PR tree-optimization/30442 PR tree-optimization/30442

View File

@ -1299,7 +1299,14 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
tmake_file="${tmake_file} i386/t-linux64" tmake_file="${tmake_file} i386/t-linux64"
x86_multilibs="${with_multilib_list}" x86_multilibs="${with_multilib_list}"
if test "$x86_multilibs" = "default"; then if test "$x86_multilibs" = "default"; then
x86_multilibs="m64,m32" case ${with_abi} in
x32 | mx32)
x86_multilibs="mx32"
;;
*)
x86_multilibs="m64,m32"
;;
esac
fi fi
x86_multilibs=`echo $x86_multilibs | sed -e 's/,/ /g'` x86_multilibs=`echo $x86_multilibs | sed -e 's/,/ /g'`
for x86_multilib in ${x86_multilibs}; do for x86_multilib in ${x86_multilibs}; do