Commit 07a722f4 by Jeff Law

pa-hpux.h (LINK_SPEC): Don't link in PA1.1 specific libraries when creating shared libraries.

        * 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
parent 804a8ee0
...@@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC #undef LINK_SPEC
#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1) #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
#define LINK_SPEC \ #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 #else
#define LINK_SPEC \ #define LINK_SPEC \
"%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}" "%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC #undef LINK_SPEC
#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1) #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
#define LINK_SPEC \ #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 #else
#define LINK_SPEC \ #define LINK_SPEC \
"-z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}" "-z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC #undef LINK_SPEC
#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1) #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
#define LINK_SPEC \ #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 #else
#define LINK_SPEC \ #define LINK_SPEC \
"-z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}" "-z %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{shared:-b}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment