OSDN Git Service

* pa/pa-hpux.h (LINK_SPEC): Don't link in PA1.1 specific
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 1996 21:47:10 +0000 (21:47 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Aug 1996 21:47:10 +0000 (21:47 +0000)
        libraries when creating shared libraries.
        * pa/pa-hpux9.h, pa/pa-hpux10.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12586 138bc75d-0d04-0410-961f-82ee72b054a4

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

index ef8257a..3459982 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 cd72c47..730f65e 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 67e8d22..95b031e 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}"