aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-11-07 16:07:34 +0100
committerThomas Schwinge <tschwinge@gcc.gnu.org>2013-11-07 16:07:34 +0100
commitde14871c88330996f2aeec4f9331aee85b664bd7 (patch)
treeaef72f75ea80aeea4373ea725a6b2bd6c9b83f78 /gcc/config/arc
parent7190fdc1906cfdfee00dc32197bee568d8174b71 (diff)
downloadgcc-de14871c88330996f2aeec4f9331aee85b664bd7.zip
gcc-de14871c88330996f2aeec4f9331aee85b664bd7.tar.gz
gcc-de14871c88330996f2aeec4f9331aee85b664bd7.tar.bz2
Generally link to libgomp for -ftree-parallelize-loops=*.
gcc/ * config/arc/arc.h (LINK_COMMAND_SPEC): For -ftree-parallelize-loops=*, link to libgomp and its dependencies. * config/ia64/hpux.h (LIB_SPEC): Likewise. * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. * config/pa/pa64-hpux.h (LIB_SPEC): Likewise. * gcc.c (GOMP_SELF_SPECS): Update comment about libgomp's dependencies. libgomp/ * libgomp.spec.in: Update comment about libgomp's dependencies. * configure.ac: Likewise. * configure: Regenerate. From-SVN: r204517
Diffstat (limited to 'gcc/config/arc')
-rw-r--r--gcc/config/arc/arc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index 637f7b6..87908d4 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -174,7 +174,8 @@ along with GCC; see the file COPYING3. If not see
%(linker) %l " LINK_PIE_SPEC "%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\
%{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
%{static:} %{L*} %(mfwrap) %(link_libgcc) %o\
- %{fopenmp:%:include(libgomp.spec)%(link_gomp)} %(mflib)\
+ %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\
+ %(mflib)\
%{fprofile-arcs|fprofile-generate|coverage:-lgcov}\
%{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}\
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}"