]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 7 May 2010 12:36:58 +0000 (12:36 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 7 May 2010 12:36:58 +0000 (12:36 +0000)
From-SVN: r159151

gcc/ChangeLog
gcc/config/mips/iris6.h

index e455a98d2a58b8b62fb969bdd4ab92bbcc80784e..3cc8d2b5ccc41c2644ce908e07b11a302eb1140f 100644 (file)
@@ -1,3 +1,7 @@
+2010-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r.
+
 2010-05-07  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/44020
index 784e947af7092ee9a37383f8eb1292044858f2e3..6fa8ffc0616389321b7a8ce6b51db5561fe9bb15 100644 (file)
@@ -276,7 +276,7 @@ along with GCC; see the file COPYING3.  If not see
 %{call_shared} %{no_archive} %{exact_version} \
 %{!shared: \
   %{!non_shared: %{!call_shared:%{!r: -call_shared " IRIX_NO_UNRESOLVED "}}}} \
-%{rpath} -init __gcc_init -fini __gcc_fini " IRIX_SUBTARGET_LINK_SPEC
+%{rpath} %{!r: -init __gcc_init -fini __gcc_fini} " IRIX_SUBTARGET_LINK_SPEC
 
 #ifdef IRIX_USING_GNU_LD
 #define IRIX_SUBTARGET_LINK_SPEC \