]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libfortran/34699 (FAIL: gfortran.fortran-torture/execute/intrinsic_set_exponent...
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Thu, 17 Jan 2008 02:59:16 +0000 (02:59 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 17 Jan 2008 02:59:16 +0000 (02:59 +0000)
PR libgfortran/34699
* pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
static links.
* pa-hpux10.h (LINK_SPEC): Likewise.
* pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.

From-SVN: r131588

gcc/ChangeLog
gcc/config/pa/pa-hpux.h
gcc/config/pa/pa-hpux10.h
gcc/config/pa/pa-hpux11.h

index 42b678c3e092452efb39591a0215f6992965ac6e..4223b41d8d284fef0c3124b13653e17149953587 100644 (file)
@@ -1,3 +1,11 @@
+2008-01-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR libgfortran/34699
+       * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on
+       static links.
+       * pa-hpux10.h (LINK_SPEC): Likewise.
+       * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1.
+
 2008-01-14  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR rtl-optimization/31944
index 4b6c91092f3ed1449d6286641355234ae9df6a13..8c85dc89f022206586b1484d876805610ab445e2 100644 (file)
@@ -98,7 +98,7 @@ Boston, MA 02110-1301, USA.  */
 #undef LINK_SPEC
 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11)
 #define LINK_SPEC \
-  "%{!mpa-risc-1-0:%{!march=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}"
+  "%{!mpa-risc-1-0:%{!march=1.0:%{static:-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 bc07e5b391a6aa81a254aa9745d2b1f5cc335357..94429b3186314b7cb2b36c761bacd690e625c975 100644 (file)
@@ -85,7 +85,7 @@ Boston, MA 02110-1301, USA.  */
 #undef LINK_SPEC
 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11)
 #define LINK_SPEC \
-  "%{!mpa-risc-1-0:%{!march=1.0:%{!shared:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}\
+  "%{!mpa-risc-1-0:%{!march=1.0:%{static:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}\
    %{!shared:%{p:-L/lib/libp %{!static:\
      %nWarning: consider linking with `-static' as system libraries with\n\
      %n  profiling support are only provided in archive format}}}\
index ad16bb41e3f2cd3ff99cc19785a206cdce3daf45..7a783f8a0358d6ad757495dfbd5d4779703577a1 100644 (file)
@@ -106,18 +106,6 @@ Boston, MA 02110-1301, USA.  */
 /* We can debug dynamically linked executables on hpux11; we also
    want dereferencing of a NULL pointer to cause a SEGV.  */
 #undef LINK_SPEC
-#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11)
-#define LINK_SPEC \
-  "%{!mpa-risc-1-0:%{!march=1.0:%{!shared:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}\
-   %{!shared:%{p:-L/lib/libp -L/usr/lib/libp %{!static:\
-     %nWarning: consider linking with `-static' as system libraries with\n\
-     %n  profiling support are only provided in archive format}}}\
-   %{!shared:%{pg:-L/lib/libp -L/usr/lib/libp %{!static:\
-     %nWarning: consider linking with `-static' as system libraries with\n\
-     %n  profiling support are only provided in archive format}}}\
-   -z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\
-   %{static:-a archive} %{shared:-b}"
-#else
 #define LINK_SPEC \
   "%{!shared:%{p:-L/lib/libp -L/usr/lib/libp %{!static:\
      %nWarning: consider linking with `-static' as system libraries with\n\
@@ -127,7 +115,6 @@ Boston, MA 02110-1301, USA.  */
      %n  profiling support are only provided in archive format}}}\
    -z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\
    %{static:-a archive} %{shared:-b}"
-#endif
 
 /* hpux 11 has posix threads.  */
 #undef LIB_SPEC