configure.ac (HAVE_LD_NO_DOT_SYMS): Set if using gold.

* configure.ac (HAVE_LD_NO_DOT_SYMS): Set if using gold.
	(HAVE_LD_LARGE_TOC): Likewise.
	* configure: Regenerate.

From-SVN: r192594
This commit is contained in:
Alan Modra 2012-10-19 09:40:40 +10:30 committed by Alan Modra
parent f056e01be2
commit 663e4b4952
3 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2012-10-19 Alan Modra <amodra@gmail.com>
* configure.ac (HAVE_LD_NO_DOT_SYMS): Set if using gold.
(HAVE_LD_LARGE_TOC): Likewise.
* configure: Regenerate.
2012-10-19 Alan Modra <amodra@gmail.com>
* config/rs6000/predicates.md (splat_input_operand): Don't call

8
gcc/configure vendored
View File

@ -26530,7 +26530,9 @@ if test "${gcc_cv_ld_no_dot_syms+set}" = set; then :
$as_echo_n "(cached) " >&6
else
gcc_cv_ld_no_dot_syms=no
if test $in_tree_ld = yes ; then
if test x"$ld_is_gold" = xyes; then
gcc_cv_ld_no_dot_syms=yes
elif test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2; then
gcc_cv_ld_no_dot_syms=yes
fi
@ -26574,7 +26576,9 @@ if test "${gcc_cv_ld_large_toc+set}" = set; then :
$as_echo_n "(cached) " >&6
else
gcc_cv_ld_large_toc=no
if test $in_tree_ld = yes ; then
if test x"$ld_is_gold" = xyes; then
gcc_cv_ld_large_toc=yes
elif test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 21 -o "$gcc_cv_gld_major_version" -gt 2; then
gcc_cv_ld_large_toc=yes
fi

View File

@ -4459,7 +4459,9 @@ case "$target:$tm_file" in
AC_CACHE_CHECK(linker support for omitting dot symbols,
gcc_cv_ld_no_dot_syms,
[gcc_cv_ld_no_dot_syms=no
if test $in_tree_ld = yes ; then
if test x"$ld_is_gold" = xyes; then
gcc_cv_ld_no_dot_syms=yes
elif test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2; then
gcc_cv_ld_no_dot_syms=yes
fi
@ -4496,7 +4498,9 @@ EOF
AC_CACHE_CHECK(linker large toc support,
gcc_cv_ld_large_toc,
[gcc_cv_ld_large_toc=no
if test $in_tree_ld = yes ; then
if test x"$ld_is_gold" = xyes; then
gcc_cv_ld_large_toc=yes
elif test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 21 -o "$gcc_cv_gld_major_version" -gt 2; then
gcc_cv_ld_large_toc=yes
fi