OSDN Git Service

* gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Apr 2006 07:16:14 +0000 (07:16 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Apr 2006 07:16:14 +0000 (07:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112851 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index 0588113..65cb475 100644 (file)
@@ -1,3 +1,7 @@
+2006-04-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.c (LINK_COMMAND_SPEC): Move link_gomp after %o.
+
 2006-04-03  Jeff Law  <law@redhat.com>
 
        PR/27087
index c606773..f23b5f3 100644 (file)
--- 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*} }}}}}}"