pa-hpux.h (LINK_SPEC): Don't link in PA1.1 specific libraries when creating shared...
authorJeff Law <law@gcc.gnu.org>
Fri, 2 Aug 1996 21:47:10 +0000 (15:47 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 2 Aug 1996 21:47:10 +0000 (15:47 -0600)
        * pa/pa-hpux.h (LINK_SPEC): Don't link in PA1.1 specific
        libraries when creating shared libraries.
        * pa/pa-hpux9.h, pa/pa-hpux10.h: Likewise.

From-SVN: r12586

gcc/config/pa/pa-hpux.h
gcc/config/pa/pa-hpux10.h
gcc/config/pa/pa-hpux9.h

index ef8257aaf83b8228ccdb41d31c11a1a4105efeb1..3459982e9bc7629456b67c345c1042b98fbfe53c 100644 (file)
@@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA.  */
 #undef LINK_SPEC
 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
 #define LINK_SPEC \
-  "%{!mpa-risc-1-0:-L/lib/pa1.1 -L/usr/lib/pa1.1 }%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
+  "%{!mpa-risc-1-0:%{!shared:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
 #else
 #define LINK_SPEC \
   "%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
index cd72c4743cc4878004b94a50ce5aed222382b56b..730f65e7281e1f51cd8e16fa23d5593c6d1d9a74 100644 (file)
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA.  */
 #undef LINK_SPEC
 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
 #define LINK_SPEC \
-  "%{!mpa-risc-1-0:-L/lib/pa1.1 -L/usr/lib/pa1.1} -z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"
+  "%{!mpa-risc-1-0:%{!shared:-L/lib/pa1.1 -L/usr/lib/pa1.1 }} -z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"
 #else
 #define LINK_SPEC \
   "-z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"
index 67e8d2289f7c9a5a8802ffc324b475f47e2f189c..95b031e8c8de80fd1d80360e5c42cd9dd54e907a 100644 (file)
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA.  */
 #undef LINK_SPEC
 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
 #define LINK_SPEC \
-  "%{!mpa-risc-1-0:-L/lib/pa1.1 -L/usr/lib/pa1.1} -z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"
+  "%{!mpa-risc-1-0:%{!shared:-L/lib/pa1.1 -L/usr/lib/pa1.1 }} -z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"
 #else
 #define LINK_SPEC \
   "-z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"