aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2000-02-13 21:13:53 +0000
committerJeff Law <law@gcc.gnu.org>2000-02-13 14:13:53 -0700
commitfd3f9fdb7234e5786255ae0bf6d366f0f0bb651c (patch)
treeb3d70251a77f5ee29f5058295a01d660f958ca05 /gcc
parentd5010e66032b71576a34724736901f5a3da14a72 (diff)
downloadgcc-fd3f9fdb7234e5786255ae0bf6d366f0f0bb651c.zip
gcc-fd3f9fdb7234e5786255ae0bf6d366f0f0bb651c.tar.gz
gcc-fd3f9fdb7234e5786255ae0bf6d366f0f0bb651c.tar.bz2
* sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
From-SVN: r31960
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sparc/sol2.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e3dbc05..62b8265 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index 3c52b63..46ae5d9 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -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"