Commit b64a6dbd by Thiemo Seufer Committed by Thiemo Seufer

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
parent 9c57e1e8
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> 2007-06-13 Kazu Hirata <kazu@codesourcery.com>
* basic-block.h: Remove the prototype for * basic-block.h: Remove the prototype for
......
...@@ -174,9 +174,10 @@ Boston, MA 02110-1301, USA. */ ...@@ -174,9 +174,10 @@ Boston, MA 02110-1301, USA. */
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC "\ #define LIB_SPEC "\
%{shared: -lc} \ %{pthread:-lpthread} \
%{!shared: %{pthread:-lpthread} \ %{shared:-lc} \
%{profile:-lc_p} %{!profile: -lc}}" %{!shared: \
%{profile:-lc_p} %{!profile:-lc}}"
#define MD_UNWIND_SUPPORT "config/mips/linux-unwind.h" #define MD_UNWIND_SUPPORT "config/mips/linux-unwind.h"
......
...@@ -34,9 +34,10 @@ NO_SHARED_SPECS \ ...@@ -34,9 +34,10 @@ NO_SHARED_SPECS \
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC "\ #define LIB_SPEC "\
%{shared: -lc} \ %{pthread:-lpthread} \
%{!shared: %{pthread:-lpthread} \ %{shared:-lc} \
%{profile:-lc_p} %{!profile: -lc}}" %{!shared: \
%{profile:-lc_p} %{!profile:-lc}}"
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1" #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment