]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 10 Oct 2003 17:39:21 +0000 (17:39 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 10 Oct 2003 17:39:21 +0000 (17:39 +0000)
From-SVN: r72305

gcc/ChangeLog
gcc/config/pa/pa64-hpux.h

index ac872eed7c11ee687516765be21c8330b2bc792b..bb6e9bb1647208e97aecfaf92c5c99e77837b7a5 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld.
+
 2003-10-10  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * config.gcc (mips*-*-netbsd*): Remove content-free line.
index a29583b561be63bc29b1f345de0088f2b95f2fbc..eed16720c1ad26f5b1cfe2d5aad2c867c3d9175f 100644 (file)
@@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA.  */
    %{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
      %nWarning: consider linking with `-static' as system libraries with\n\
      %n  profiling support are only provided in archive format}}}\
-   %{mhp-ld:+Accept TypeMismatch} -E %{mlinker-opt:-O} %{!shared:-u main}\
+   %{mhp-ld:+Accept TypeMismatch -z} -E %{mlinker-opt:-O} %{!shared:-u main}\
    %{static:-a archive} %{shared:%{mhp-ld:-b}%{!mhp-ld:-shared}}"
 #else
 #define LINK_SPEC \
@@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA.  */
    %{!shared:%{pg:-L/lib/pa20_64/libp -L/usr/lib/pa20_64/libp %{!static:\
      %nWarning: consider linking with `-static' as system libraries with\n\
      %n  profiling support are only provided in archive format}}}\
-   %{!mgnu-ld:+Accept TypeMismatch} -E %{mlinker-opt:-O} %{!shared:-u main}\
+   %{!mgnu-ld:+Accept TypeMismatch -z} -E %{mlinker-opt:-O} %{!shared:-u main}\
    %{static:-a archive} %{shared:%{mgnu-ld:-shared}%{!mgnu-ld:-b}}"
 #endif