summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2011-05-24 14:53:39 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-05-24 14:53:39 +0000
commitee0cb37cd3cfd878e13d721310440eb01b21cb76 (patch)
tree653ffc2f22595ed4a5dfeda1f99e385c5b417c8a
parent6a20ce76e592b8a3a962a17b7dfaca8e36eb5067 (diff)
downloadgcc-ee0cb37cd3cfd878e13d721310440eb01b21cb76.tar.gz
re PR gcov-profile/48845 (All g++.dg/tree-prof and gcc.dg/{matrix, tree-prof} executions tests fail on Solaris 8/9)
PR gcov-profile/48845 * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling. Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> From-SVN: r174119
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sol2.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 38d250fe70a..34827e3b88c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-24 Eric Botcazou <ebotcazou@adacore.com>
+ Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR gcov-profile/48845
+ * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling.
+
2011-05-24 Richard Guenther <rguenther@suse.de>
* gimple.c (compare_type_names_p): Remove for_completion_p arg.
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index f3394fda74d..cf7574830f0 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -136,6 +136,8 @@ along with GCC; see the file COPYING3. If not see
%{!symbolic:\
%{pthreads|pthread:" \
LIB_THREAD_LDFLAGS_SPEC " -lpthread " LIB_TLS_SPEC "} \
+ %{fprofile-generate*:" \
+ LIB_THREAD_LDFLAGS_SPEC " " LIB_TLS_SPEC "} \
%{p|pg:-ldl} -lc}"
#undef ENDFILE_SPEC