From: Daniel Jacobowitz Date: Thu, 18 Sep 2003 00:52:26 +0000 (+0000) Subject: * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. X-Git-Tag: releases/gcc-3.4.0~3683 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce7e7ceb6780c827955a8c7043c2700ab18fce7d;p=thirdparty%2Fgcc.git * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. From-SVN: r71497 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 548c73d303be..d363f33688a4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-09-17 Daniel Jacobowitz + + * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. + 2003-09-17 Richard Henderson * cfg.c (dump_flow_info): Skip register dump if reg_n_info null. diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 28a7d6a0e8c0..3e8b3540128a 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1065,8 +1065,8 @@ extern int fixuplabelno; /* GNU/Linux support. */ #define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } \ -%{!mnewlib: %{shared:-lc} %{pthread:-lpthread } %{!shared: \ -%{profile:-lc_p} %{!profile:-lc}}}" +%{!mnewlib: %{pthread:-lpthread} %{shared:-lc} \ +%{!shared: %{profile:-lc_p} %{!profile:-lc}}}" #ifdef HAVE_LD_PIE #define STARTFILE_LINUX_SPEC "\