From 50f35d2e61fa2156c9fb4a6a3ed79ef3dcc47d86 Mon Sep 17 00:00:00 2001 From: ro Date: Tue, 24 May 2011 14:53:39 +0000 Subject: PR gcov-profile/48845 * 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/config/sol2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/config/sol2.h') 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 -- cgit v1.2.1