add -bnoentry if no entry point for shared object
authorDavid Edelsohn <edelsohn@gnu.org>
Fri, 15 Mar 1996 03:26:31 +0000 (03:26 +0000)
committerDavid Edelsohn <edelsohn@gnu.org>
Fri, 15 Mar 1996 03:26:31 +0000 (03:26 +0000)
From-SVN: r11540

gcc/config/rs6000/aix41.h

index 42e23908f6646181c0f2587e4baacc9130375e67..8ff3e3729a777229e348a642a1baaff50894e37b 100644 (file)
@@ -78,5 +78,5 @@ Boston, MA 02111-1307, USA.  */
 #undef LINK_SPEC
 #define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
    %{static:-bnso %(link_syscalls) } %{!shared: %{g*: %(link_libg) }}\
-   %{shared:-bM:SRE}"
+   %{shared:-bM:SRE %{!e:-bnoentry}}"