From: Eric Botcazou Date: Tue, 24 May 2011 14:53:39 +0000 (+0000) Subject: re PR gcov-profile/48845 (All g++.dg/tree-prof and gcc.dg/{matrix, tree-prof} executi... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee0cb37cd3cfd878e13d721310440eb01b21cb76;p=gcc.git 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 From-SVN: r174119 --- 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 + Rainer Orth + + PR gcov-profile/48845 + * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling. + 2011-05-24 Richard Guenther * 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