diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0f9fada96b..67faf0009f0 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 cd85cdc2d27..7dc7f4034f3 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}" + "%