aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-04-11 09:16:14 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2006-04-11 09:16:14 +0200
commit8beb0d9ea4efd0096397dfe30e7e3d3c01a1c583 (patch)
treec74b0244bcf8d2c8e3303dfb7592e028ed7fe109 /gcc/gcc.c
parentebf85e50c00c7c0f1fa418c53ccaeff8ec982db9 (diff)
downloadgcc-8beb0d9ea4efd0096397dfe30e7e3d3c01a1c583.zip
gcc-8beb0d9ea4efd0096397dfe30e7e3d3c01a1c583.tar.gz
gcc-8beb0d9ea4efd0096397dfe30e7e3d3c01a1c583.tar.bz2
* gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.
From-SVN: r112851
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index c606773..f23b5f3 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -704,8 +704,8 @@ proper position among the other output files. */
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
%(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) %{fopenmp:%:include(libgomp.spec)%(link_gomp)}\
- %(link_libgcc) %o %(mflib)\
+ %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\
+ %{fopenmp:%:include(libgomp.spec)%(link_gomp)} %(mflib)\
%{fprofile-arcs|fprofile-generate|coverage:-lgcov}\
%{!nostdlib:%{!nodefaultlibs:%(link_gcc_math) %(link_ssp) %(link_gcc_c_sequence)}}\
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}"