Commit bb127cd8 by Rainer Orth Committed by Rainer Orth

configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always supports -Bstatic/-Bdynamic.

	* configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
	supports -Bstatic/-Bdynamic.
	* configure: Regenerate.

From-SVN: r168795
parent 89a012ea
2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
supports -Bstatic/-Bdynamic.
* configure: Regenerate.
2011-01-14 Jan Hubicka <jh@suse.cz> 2011-01-14 Jan Hubicka <jh@suse.cz>
Jack Howarth <howarth@bromo.med.uc.edu> Jack Howarth <howarth@bromo.med.uc.edu>
......
...@@ -23060,6 +23060,13 @@ elif test x$gcc_cv_ld != x; then ...@@ -23060,6 +23060,13 @@ elif test x$gcc_cv_ld != x; then
if $gcc_cv_ld --help 2>/dev/null | grep -- -Bstatic > /dev/null \ if $gcc_cv_ld --help 2>/dev/null | grep -- -Bstatic > /dev/null \
&& $gcc_cv_ld --help 2>/dev/null | grep -- -Bdynamic > /dev/null; then && $gcc_cv_ld --help 2>/dev/null | grep -- -Bdynamic > /dev/null; then
gcc_cv_ld_static_dynamic=yes gcc_cv_ld_static_dynamic=yes
else
case "$target" in
# Solaris 2 ld always supports -Bstatic/-Bdynamic.
*-*-solaris2*)
gcc_cv_ld_static_dynamic=yes
;;
esac
fi fi
fi fi
if test x"$gcc_cv_ld_static_dynamic" = xyes; then if test x"$gcc_cv_ld_static_dynamic" = xyes; then
...@@ -23093,10 +23100,10 @@ $as_echo "#define HAVE_LD_DEMANGLE 1" >>confdefs.h ...@@ -23093,10 +23100,10 @@ $as_echo "#define HAVE_LD_DEMANGLE 1" >>confdefs.h
$as_echo "$gcc_cv_ld_demangle" >&6; } $as_echo "$gcc_cv_ld_demangle" >&6; }
fi fi
if test -f ../lto-plugin/Makefile ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker plugin support" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker plugin support" >&5
$as_echo_n "checking linker plugin support... " >&6; } $as_echo_n "checking linker plugin support... " >&6; }
gcc_cv_lto_plugin=no gcc_cv_lto_plugin=no
if test -f ../lto-plugin/Makefile ; then
if test $in_tree_ld = yes -a x"$ORIGINAL_PLUGIN_LD_FOR_TARGET=" = x"$gcc_cv_ld"; then if test $in_tree_ld = yes -a x"$ORIGINAL_PLUGIN_LD_FOR_TARGET=" = x"$gcc_cv_ld"; then
if test x"$ld_is_gold" = xyes; then if test x"$ld_is_gold" = xyes; then
gcc_cv_lto_plugin=yes gcc_cv_lto_plugin=yes
...@@ -23107,14 +23114,14 @@ $as_echo_n "checking linker plugin support... " >&6; } ...@@ -23107,14 +23114,14 @@ $as_echo_n "checking linker plugin support... " >&6; }
elif $ORIGINAL_PLUGIN_LD_FOR_TARGET --help 2>/dev/null | grep plugin-opt > /dev/null; then elif $ORIGINAL_PLUGIN_LD_FOR_TARGET --help 2>/dev/null | grep plugin-opt > /dev/null; then
gcc_cv_lto_plugin=yes gcc_cv_lto_plugin=yes
fi fi
if test x"$gcc_cv_lto_plugin" = xyes; then fi
if test x"$gcc_cv_lto_plugin" = xyes; then
$as_echo "#define HAVE_LTO_PLUGIN 1" >>confdefs.h $as_echo "#define HAVE_LTO_PLUGIN 1" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_lto_plugin" >&5
$as_echo "$gcc_cv_lto_plugin" >&6; }
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_lto_plugin" >&5
$as_echo "$gcc_cv_lto_plugin" >&6; }
case "$target" in case "$target" in
# All TARGET_ABI_OSF targets. # All TARGET_ABI_OSF targets.
......
...@@ -3121,6 +3121,13 @@ elif test x$gcc_cv_ld != x; then ...@@ -3121,6 +3121,13 @@ elif test x$gcc_cv_ld != x; then
if $gcc_cv_ld --help 2>/dev/null | grep -- -Bstatic > /dev/null \ if $gcc_cv_ld --help 2>/dev/null | grep -- -Bstatic > /dev/null \
&& $gcc_cv_ld --help 2>/dev/null | grep -- -Bdynamic > /dev/null; then && $gcc_cv_ld --help 2>/dev/null | grep -- -Bdynamic > /dev/null; then
gcc_cv_ld_static_dynamic=yes gcc_cv_ld_static_dynamic=yes
else
case "$target" in
# Solaris 2 ld always supports -Bstatic/-Bdynamic.
*-*-solaris2*)
gcc_cv_ld_static_dynamic=yes
;;
esac
fi fi
fi fi
if test x"$gcc_cv_ld_static_dynamic" = xyes; then if test x"$gcc_cv_ld_static_dynamic" = xyes; then
......
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