From: Jason Merrill Date: Thu, 20 Oct 1994 21:52:05 +0000 (+0000) Subject: (LINK_SPEC): Pass -shared through; don't X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a841e0710d31147f7000a129bdf447d7566ec3a;p=gcc.git (LINK_SPEC): Pass -shared through; don't pass -init __main if -shared. From-SVN: r8327 --- diff --git a/gcc/config/alpha/osf12.h b/gcc/config/alpha/osf12.h index 135525e9606..9a751ca4e84 100644 --- a/gcc/config/alpha/osf12.h +++ b/gcc/config/alpha/osf12.h @@ -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}}"