From 08a7b76cfd18a76f66ab48cc3d959f8f7ee68207 Mon Sep 17 00:00:00 2001 From: danglin Date: Mon, 8 Sep 2008 04:26:15 +0000 Subject: [PATCH] PR driver/37409 * pa-hpux.h (LINK_SPEC): Strip -fwhole-program. * pa-hpux10.h (LINK_SPEC): Likewise. * pa-hpux11.h (LINK_SPEC): Likewise. ` git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140099 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/config/pa/pa-hpux.h | 6 ++++-- gcc/config/pa/pa-hpux10.h | 6 ++++-- gcc/config/pa/pa-hpux11.h | 3 ++- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0f9fad..67faf00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-09-08 John David Anglin + + PR driver/37409 + * pa-hpux.h (LINK_SPEC): Strip -fwhole-program. + * pa-hpux10.h (LINK_SPEC): Likewise. + * pa-hpux11.h (LINK_SPEC): Likewise. +` 2008-09-07 John David Anglin * pa32-regs.h (IRA_COVER_CLASSES): Define. diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index cd85cdc..7dc7f40 100644 --- a/gcc/config/pa/pa-hpux.h +++ b/gcc/config/pa/pa-hpux.h @@ -97,10 +97,12 @@ along with GCC; see the file COPYING3. If not see #undef LINK_SPEC #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11) #define LINK_SPEC \ - "%{!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}" + "%