linux.h, linux64.h (LIB_SPEC): Always imply -lpthread for -pthread.

* config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always
	imply -lpthread for -pthread.

From-SVN: r125688
This commit is contained in:
Thiemo Seufer 2007-06-13 23:22:29 +00:00 committed by Thiemo Seufer
parent 9c57e1e889
commit b64a6dbdbb
3 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2007-06-13 Thiemo Seufer <ths@networkno.de>
* config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always
imply -lpthread for -pthread.
2007-06-13 Kazu Hirata <kazu@codesourcery.com>
* basic-block.h: Remove the prototype for

View File

@ -174,9 +174,10 @@ Boston, MA 02110-1301, USA. */
#undef LIB_SPEC
#define LIB_SPEC "\
%{shared: -lc} \
%{!shared: %{pthread:-lpthread} \
%{profile:-lc_p} %{!profile: -lc}}"
%{pthread:-lpthread} \
%{shared:-lc} \
%{!shared: \
%{profile:-lc_p} %{!profile:-lc}}"
#define MD_UNWIND_SUPPORT "config/mips/linux-unwind.h"

View File

@ -34,9 +34,10 @@ NO_SHARED_SPECS \
#undef LIB_SPEC
#define LIB_SPEC "\
%{shared: -lc} \
%{!shared: %{pthread:-lpthread} \
%{profile:-lc_p} %{!profile: -lc}}"
%{pthread:-lpthread} \
%{shared:-lc} \
%{!shared: \
%{profile:-lc_p} %{!profile:-lc}}"
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"