OSDN Git Service

(LINK_SPEC): Don't pass -init __main anymore.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jun 1995 02:22:02 +0000 (02:22 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jun 1995 02:22:02 +0000 (02:22 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9957 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/alpha/alpha.h
gcc/config/alpha/osf12.h
gcc/config/mips/iris5.h

index d0f8daf..5cd1070 100644 (file)
@@ -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*}"
 
index 67935fe..cc0dff9 100644 (file)
@@ -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}"
index 70945cf..1b2fa1d 100644 (file)
@@ -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.  */