From: Matthias Klose Date: Mon, 29 Mar 2004 19:16:43 +0000 (+0000) Subject: [multiple changes] X-Git-Tag: releases/gcc-3.3.4~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2eb856580d3be7f4254dd5c708bf140448378d0;p=thirdparty%2Fgcc.git [multiple changes] 2004-03-29 Matthias Klose 2003-09-17 Daniel Jacobowitz * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. From-SVN: r80064 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71ca1457cc55..4e9932d367f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-29 Matthias Klose + + 2003-09-17 Daniel Jacobowitz + + * config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc. + 2004-03-29 Matthias Klose Backport: diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 26450e7ee273..d10d8443b15b 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1137,7 +1137,7 @@ do { \ %{!mnewlib: -lc }" #else #define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } \ -%{!mnewlib: %{shared:-lc} %{!shared: %{pthread:-lpthread } \ +%{!mnewlib: %{pthread:-lpthread} %{shared:-lc} %{!shared: \ %{profile:-lc_p} %{!profile:-lc}}}" #endif