summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-24 14:53:39 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-24 14:53:39 +0000
commit50f35d2e61fa2156c9fb4a6a3ed79ef3dcc47d86 (patch)
tree653ffc2f22595ed4a5dfeda1f99e385c5b417c8a /gcc/config
parent1ca0809cb00e6083880236163f72c9822322f121 (diff)
downloadgcc-50f35d2e61fa2156c9fb4a6a3ed79ef3dcc47d86.tar.gz
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
Diffstat (limited to 'gcc/config')
-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