aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-10-18 23:02:25 +0000
committerAlan Modra <amodra@gmail.com>2012-10-18 23:02:25 +0000
commitd690a0c68ae866263365447d09e8498dfbd10fb3 (patch)
tree806b6c620befad6e9a7bbac69abb13ff01296cfc /gcc/configure
parent2a7b3c0a7832785f7d14d7b4e8e18fa036ec0995 (diff)
* configure.ac (HAVE_LD_NO_DOT_SYMS): Set if using gold.
(HAVE_LD_LARGE_TOC): Likewise. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure
index 387de5b743c..a223c600d9a 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -26270,7 +26270,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
@@ -26314,7 +26316,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