From ce7e7ceb6780c827955a8c7043c2700ab18fce7d Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 18 Sep 2003 00:52:26 +0000 Subject: [PATCH] * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. From-SVN: r71497 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/sysv4.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 548c73d303b..d363f33688a 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 28a7d6a0e8c..3e8b3540128 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 "\ -- 2.30.2