Commit a89599d2 by David Edelsohn Committed by David Edelsohn

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
parent 1742d2b2
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> 2013-01-04 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
......
...@@ -128,6 +128,7 @@ do { \ ...@@ -128,6 +128,7 @@ do { \
#define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\ #define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\ %{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{!maix64:%{!shared:%{g*:-lg}}}\ %{!maix64:%{!shared:%{g*:-lg}}}\
%{fprofile-arcs|fprofile-generate*|coverage:-lpthreads}\
%{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\ %{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
%{pthread:-lpthreads} -lc" %{pthread:-lpthreads} -lc"
......
...@@ -148,6 +148,7 @@ do { \ ...@@ -148,6 +148,7 @@ do { \
#define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\ #define LIB_SPEC "%{pg:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\ %{p:-L%R/lib/profiled -L%R/usr/lib/profiled}\
%{!maix64:%{!shared:%{g*:-lg}}}\ %{!maix64:%{!shared:%{g*:-lg}}}\
%{fprofile-arcs|fprofile-generate*|coverage:-lpthreads}\
%{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\ %{mpe:-L%R/usr/lpp/ppe.poe/lib -lmpi -lvtd}\
%{pthread:-lpthreads} -lc" %{pthread:-lpthreads} -lc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment