summaryrefslogtreecommitdiff
path: root/gcc/config/sol2.h
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 /gcc/config/sol2.h
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
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r--gcc/config/sol2.h2
1 files changed, 2 insertions, 0 deletions
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