From: Richard Kenner Date: Thu, 15 Jun 1995 02:22:02 +0000 (-0400) Subject: (LINK_SPEC): Don't pass -init __main anymore. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d37df6cc7ee664d748a7c493d90bb253c22a00df;p=gcc.git (LINK_SPEC): Don't pass -init __main anymore. From-SVN: r9957 --- diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index d0f8daf45db..5cd10703b01 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 67935fe7e70..cc0dff9ff8c 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 70945cfa009..1b2fa1d343e 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. */