]> gcc.gnu.org Git - gcc.git/commitdiff
(LINK_SPEC): Pass -shared through; don't
authorJason Merrill <merrill@gnu.org>
Thu, 20 Oct 1994 21:52:05 +0000 (21:52 +0000)
committerJason Merrill <merrill@gnu.org>
Thu, 20 Oct 1994 21:52:05 +0000 (21:52 +0000)
        pass -init __main if -shared.

From-SVN: r8327

gcc/config/alpha/osf12.h

index 135525e96068f392c0dbfbf0cf6e0289cf99ca02..9a751ca4e846cfea382d8ca9946e0a814f2cce63 100644 (file)
@@ -26,4 +26,5 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #undef LINK_SPEC
 #define LINK_SPEC  \
-  "-G 8 -O1 %{static:-non_shared} %{!static:-call_shared} -init __main"
+  "-G 8 -O1 %{!shared:-init __main} %{static:-non_shared}
+   %{!static:%{shared:-shared} %{!shared:-call_shared}}"
This page took 0.062692 seconds and 5 git commands to generate.