From c4e1e0b1f5ec5a6d758c4ead7c7f0a88f1aad296 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 7 May 2010 12:36:58 +0000 Subject: [PATCH] * config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r. From-SVN: r159151 --- gcc/ChangeLog | 4 ++++ gcc/config/mips/iris6.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e455a98d2a5..3cc8d2b5ccc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-05-07 Rainer Orth + + * config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r. + 2010-05-07 Richard Guenther PR tree-optimization/44020 diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 784e947af70..6fa8ffc0616 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -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 \ -- 2.30.2