linux64.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 20 May 2003 00:48:43 +0000 (00:48 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 20 May 2003 00:48:43 +0000 (00:48 +0000)
* config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
-lthread to -lpthread.

From-SVN: r66981

gcc/ChangeLog
gcc/config/mips/linux64.h

index 5abb227139c8a43fac0ae82329921cd672213cef..929ee6fb8ae2d642e7a9410e94eda18e40aa956f 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
+       -lthread to -lpthread.
+
 2003-05-19  Neil Booth  <neil@daikokuya.co.uk>
 
        * c-opts.c (c_common_decode_option): Don't accept dollars
index c78e789f89ca1d76dcb63ce4ef33acf82ac32d6f..6ccb496b77345d7daff7892b001b27e7a50a2c94 100644 (file)
@@ -46,11 +46,13 @@ Boston, MA 02111-1307, USA.  */
 
 #undef LIB_SPEC
 #define LIB_SPEC "\
+%{shared: -lc} \
 %{!static: \
  %{mabi=n32:-rpath-link %R/lib32:%R/usr/lib32} \
  %{mabi=64:-rpath-link %R/lib64:%R/usr/lib64} \
  %{mabi=32:-rpath-link %R/lib:%R/usr/lib}} \
-%{!shared: %{pthread:-lthread} %{profile:-lc_p} %{!profile: -lc}}"
+%{!shared: %{pthread:-lpthread} \
+  %{profile:-lc_p} %{!profile: -lc}}"
 
 #undef LINK_SPEC
 #define LINK_SPEC "\