From 0541c6d9b98e183a116606d1ec1bac4947a52910 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Fri, 10 Oct 2003 17:39:21 +0000 Subject: [PATCH] * pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld. From-SVN: r72305 --- gcc/ChangeLog | 4 ++++ gcc/config/pa/pa64-hpux.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac872eed7c1..bb6e9bb1647 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-10 John David Anglin + + * pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld. + 2003-10-10 Nathanael Nerode * config.gcc (mips*-*-netbsd*): Remove content-free line. diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h index a29583b561b..eed16720c1a 100644 --- a/gcc/config/pa/pa64-hpux.h +++ b/gcc/config/pa/pa64-hpux.h @@ -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 -- 2.30.2