* sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Sun, 13 Feb 2000 21:13:53 +0000 (21:13 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 13 Feb 2000 21:13:53 +0000 (14:13 -0700)
From-SVN: r31960

gcc/ChangeLog
gcc/config/sparc/sol2.h

index e3dbc05..62b8265 100644 (file)
@@ -1,3 +1,7 @@
+Sun Feb 13 14:12:28 2000  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
+
 Sun Feb 13 13:21:55 2000  Jeffrey A Law  (law@cygnus.com)
 
        * combine.c (simplify_comparison): Fix typo.
index 3c52b63..46ae5d9 100644 (file)
@@ -138,7 +138,7 @@ Boston, MA 02111-1307, USA.  */
      %{!symbolic:\
        %{pthreads:-lpthread} \
        %{!pthreads:%{threads:-lthread}} \
-       -lc}}"
+       %{p|pg:-ldl} -lc}}"
 
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC "crtend.o%s crtn.o%s"