Index: config/sol2.h =================================================================== --- config/sol2.h (revision 174027) +++ config/sol2.h (working copy) @@ -136,6 +136,8 @@ along with GCC; see the file COPYING3. %{!symbolic:\ %{pthreads|pthread:" \ LIB_THREAD_LDFLAGS_SPEC " -lpthread " LIB_TLS_SPEC "} \ + %{fprofile-arcs|fprofile-generate*|coverage:" \ + LIB_THREAD_LDFLAGS_SPEC " " LIB_TLS_SPEC "} \ %{p|pg:-ldl} -lc}" #undef ENDFILE_SPEC