diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/aix53.h | 1 | ||||
-rw-r--r-- | gcc/config/rs6000/aix61.h | 1 |
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" |