OSDN Git Service

PR gcov-profile/48845
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 May 2011 14:53:39 +0000 (14:53 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 May 2011 14:53:39 +0000 (14:53 +0000)
* config/sol2.h (LIB_SPEC): Link TLS support for tree profiling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174119 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sol2.h

index 38d250f..34827e3 100644 (file)
@@ -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.
index f3394fd..cf75748 100644 (file)
@@ -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