]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aix53.h (LIB_SPEC): Add -lpthreads when compiling to generate profiling.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 5 Jan 2013 14:04:56 +0000 (14:04 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 5 Jan 2013 14:04:56 +0000 (09:04 -0500)
        * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
        to generate profiling.
        * config/rs6000/aix64.h (LIB_SPEC): Same.

From-SVN: r194930

gcc/ChangeLog
gcc/config/rs6000/aix53.h
gcc/config/rs6000/aix61.h

index c972d9cb13b46952f6d17b9d08a5fd738d98d6fa..31c4d857101db24bc0404a525001311335861aa2 100644 (file)
@@ -1,3 +1,9 @@
+2013-01-05  David Edelsohn  <dje.gcc@gmail.com>
+
+       * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
+       to generate profiling.
+       * config/rs6000/aix64.h (LIB_SPEC): Same.
+
 2013-01-04  Andrew Pinski  <apinski@cavium.com>
 
        * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
index baafb51af295858a08c4e594e798d614df3ddeed..3256190fdbf86d71f168b2517b16d65f5e18e360 100644 (file)
@@ -128,6 +128,7 @@ do {                                                                        \
 #define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\
    %{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\
    %{!maix64:%{!shared:%{g*:-lg}}}\
+   %{fprofile-arcs|fprofile-generate*|coverage:-lpthreads}\
    %{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
    %{pthread:-lpthreads} -lc"
 
index 063cb26e86dd6dbf824f376d821a0b19ab19d23f..412642179943854db1fdacd4f80df05735f976ba 100644 (file)
@@ -148,6 +148,7 @@ do {                                                                        \
 #define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\
    %{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\
    %{!maix64:%{!shared:%{g*:-lg}}}\
+   %{fprofile-arcs|fprofile-generate*|coverage:-lpthreads}\
    %{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
    %{pthread:-lpthreads} -lc"