diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/sparc/sol2.h | 2 |
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" |
