aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2013-01-05 14:04:56 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2013-01-05 09:04:56 -0500
commita89599d2a6017bf0cabcbdc0a5355c20fed65a82 (patch)
treec1ed446e4083ea65dd2296189335c282848544d4 /gcc
parent1742d2b2cb794fb3dc4af3369c7fca3ab9a8bb45 (diff)
downloadgcc-a89599d2a6017bf0cabcbdc0a5355c20fed65a82.zip
gcc-a89599d2a6017bf0cabcbdc0a5355c20fed65a82.tar.gz
gcc-a89599d2a6017bf0cabcbdc0a5355c20fed65a82.tar.bz2
aix53.h (LIB_SPEC): Add -lpthreads when compiling to generate profiling.
* config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling to generate profiling. * config/rs6000/aix64.h (LIB_SPEC): Same. From-SVN: r194930
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/aix53.h1
-rw-r--r--gcc/config/rs6000/aix61.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c972d9c..31c4d85 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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):
diff --git a/gcc/config/rs6000/aix53.h b/gcc/config/rs6000/aix53.h
index baafb51..3256190 100644
--- a/gcc/config/rs6000/aix53.h
+++ b/gcc/config/rs6000/aix53.h
@@ -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"
diff --git a/gcc/config/rs6000/aix61.h b/gcc/config/rs6000/aix61.h
index 063cb26..4126421 100644
--- a/gcc/config/rs6000/aix61.h
+++ b/gcc/config/rs6000/aix61.h
@@ -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"