From a9b11d44518c80c56087ad17e51fb399d7270f15 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Tue, 5 Nov 2002 16:51:10 +0000 Subject: [PATCH] pa64-hpux.h (LIB_SPEC): Fix p and pg options. * pa64-hpux.h (LIB_SPEC): Fix p and pg options. (STARTFILE_SPEC): Remove p and pg options. From-SVN: r58824 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa64-hpux.h | 12 ++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 31010abd3db..ce352376c86 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-05 John David Anglin + + * pa64-hpux.h (LIB_SPEC): Fix p and pg options. + (STARTFILE_SPEC): Remove p and pg options. + 2002-11-05 Andrew Haley * fold-const.c (fold): Don't transform (a0 op compound(a1,a2)) diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h index 3db8626690f..2ed1e141bb7 100644 --- a/gcc/config/pa/pa64-hpux.h +++ b/gcc/config/pa/pa64-hpux.h @@ -46,11 +46,9 @@ Boston, MA 02111-1307, USA. */ #define LIB_SPEC \ "%{!shared:\ %{!p:\ - %{!pg:\ - %{!threads:-lc}\ - %{threads:-lcma -lc_r}}\ - %{p: -L/lib/libp/ -lc}\ - %{pg: -L/lib/libp/ -lc}}} /usr/lib/pa20_64/milli.a" + %{!pg: %{!threads:-lc} %{threads:-lcma -lc_r}}\ + %{pg: -L/usr/lib/pa20_64/libp/ -lgprof -lc}}\ + %{p: -L/usr/lib/pa20_64/libp/ -lprof -lc}} /usr/lib/pa20_64/milli.a" /* Under hpux11, the normal location of the `ld' and `as' programs is the /usr/ccs/bin directory. */ @@ -136,9 +134,7 @@ do { \ #define ENDFILE_SPEC "" #undef STARTFILE_SPEC -#define STARTFILE_SPEC "%{!shared: \ - %{!symbolic: \ - %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}" +#define STARTFILE_SPEC "%{!shared: %{!symbolic: crt0.o%s}}" #endif /* Switch into a generic section. */