diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 548c73d..d363f33 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-09-17 Daniel Jacobowitz <drow@mvista.com> + + * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. + 2003-09-17 Richard Henderson <rth@redhat.com> * 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 28a7d6a..3e8b354 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 "\ |