diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2003-10-10 17:39:21 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2003-10-10 17:39:21 +0000 |
commit | 0541c6d9b98e183a116606d1ec1bac4947a52910 (patch) | |
tree | 41c08f72a1ae23afac892655f8de9c0374cf2d44 | |
parent | af6625cb5ec6c9bf76443448e0b56f1df96d9de3 (diff) | |
download | gcc-0541c6d9b98e183a116606d1ec1bac4947a52910.zip gcc-0541c6d9b98e183a116606d1ec1bac4947a52910.tar.gz gcc-0541c6d9b98e183a116606d1ec1bac4947a52910.tar.bz2 |
* pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld.
From-SVN: r72305
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa64-hpux.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac872ee..bb6e9bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h index a29583b..eed1672 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 |