From 55e2bdecdc54225564e066a88e1c92b345e8d535 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Tue, 23 Dec 2003 08:58:00 +0000 Subject: [PATCH] linux.h (LIB_SPEC): Use -lpthread when -pthread was specified. 2003-12-23 Matthias Klose * config/mips/linux.h (LIB_SPEC): Use -lpthread when -pthread was specified. From-SVN: r74967 --- gcc/ChangeLog | 12 ++++++++---- gcc/config/mips/linux.h | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 68fbe4834ad8..5e0af2a3a336 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-12-23 Matthias Klose + + * config/mips/linux.h (LIB_SPEC): Use -lpthread when + -pthread was specified. + 2003-12-23 Eric Botcazou PR optimization/13394 @@ -14,16 +19,16 @@ 2003-12-22 Gabriel Dos Reis PR target/11271 - * reload.c: Revert last backport from mainline. It breaks s390. + * reload.c: Revert last backport from mainline. It breaks s390. 2003-12-21 Roger Sayle * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode. -2003-12-21 Gabriel Dos Reis +2003-12-21 Gabriel Dos Reis - Backport from mainline: + Backport from mainline: 2003-10-31 Richard Earnshaw PR target/11271 @@ -18409,4 +18414,3 @@ cp: * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. See ChangeLog.7 for earlier changes. - diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 3b757e0f041c..a0b9f2f11169 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -257,5 +257,5 @@ void FN () \ #define LIB_SPEC "\ %{shared: -lc} \ %{!static:-rpath-link %R/lib:%R/usr/lib} \ -%{!shared: %{pthread:-lthread} \ +%{!shared: %{pthread:-lpthread} \ %{profile:-lc_p} %{!profile: -lc}}" -- 2.47.2