aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/alpha/alpha.h2
-rw-r--r--gcc/config/alpha/osf12.h2
-rw-r--r--gcc/config/mips/iris5.h3
3 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index d0f8daf..5cd1070 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -52,7 +52,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
optimizing, -O1 if we are not. Pass -shared, -non_shared or
-call_shared as appropriate. Also pass -pg. */
#define LINK_SPEC \
- "-G 8 %{O*:-O3} %{!O*:-O1} %{!shared:-init __main} %{static:-non_shared} \
+ "-G 8 %{O*:-O3} %{!O*:-O1} %{static:-non_shared} \
%{!static:%{shared:-shared} %{!shared:-call_shared}} %{pg} %{taso} \
%{rpath*}"
diff --git a/gcc/config/alpha/osf12.h b/gcc/config/alpha/osf12.h
index 67935fe..cc0dff9 100644
--- a/gcc/config/alpha/osf12.h
+++ b/gcc/config/alpha/osf12.h
@@ -26,5 +26,5 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef LINK_SPEC
#define LINK_SPEC \
- "-G 8 -O1 %{!shared:-init __main} %{static:-non_shared} %{rpath*} \
+ "-G 8 -O1 %{static:-non_shared} %{rpath*} \
%{!static:%{shared:-shared} %{!shared:-call_shared}} %{taso}"
diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h
index 70945cf..1b2fa1d 100644
--- a/gcc/config/mips/iris5.h
+++ b/gcc/config/mips/iris5.h
@@ -87,8 +87,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
%{bestGnum} %{shared} %{non_shared} \
%{call_shared} %{no_archive} %{exact_version} \
-%{!shared: -u __main -init __main %{!non_shared: \
- %{!call_shared: -call_shared -no_unresolved}}} \
+%{!shared:%{!non_shared:%{!call_shared: -call_shared -no_unresolved}}} \
-_SYSTYPE_SVR4"
/* We now support shared libraries. */