aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2003-05-28 18:00:52 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2003-05-28 18:00:52 +0000
commit0d2a303ea97086678242c56262424d1bebd6867f (patch)
tree1fd76f70c3ed927fadddf9f51f4f06edf0cc3426 /gcc
parent16ac82af48e6965c24e5e1abbb7be652801cec17 (diff)
downloadgcc-0d2a303ea97086678242c56262424d1bebd6867f.zip
gcc-0d2a303ea97086678242c56262424d1bebd6867f.tar.gz
gcc-0d2a303ea97086678242c56262424d1bebd6867f.tar.bz2
linux.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.
* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread. From-SVN: r67208
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/linux.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f8d9e79..21c12d1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-28 Daniel Jacobowitz <drow@mvista.com>
+
+ * config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
+ -lthread to -lpthread.
+
2003-05-28 Eric Botcazou <ebotcazou@libertysurf.fr>
Bruce Korb <bkorb@gnu.org>
Arno Klaassen <arno@heho.snv.jussieu.fr>
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index 2461ac3..8f81bc44 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -254,6 +254,7 @@ void FN () \
#undef LIB_SPEC
#define LIB_SPEC "\
+%{shared: -lc} \
%{!static:-rpath-link %R/lib:%R/usr/lib} \
-%{!shared: %{pthread:-lthread} \
+%{!shared: %{pthread:-lpthread} \
%{profile:-lc_p} %{!profile: -lc}}"