* pa64-hpux.h (LIB_SPEC): Fix p and pg options.
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Nov 2002 16:51:10 +0000 (16:51 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Nov 2002 16:51:10 +0000 (16:51 +0000)
(STARTFILE_SPEC): Remove p and pg options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58824 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa64-hpux.h

index 31010ab..ce35237 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-05  John David Anglin  <dave2hiauly1.hia.nrc.ca>
+
+       * pa64-hpux.h (LIB_SPEC): Fix p and pg options.
+       (STARTFILE_SPEC): Remove p and pg options.
+
 2002-11-05  Andrew Haley  <aph@redhat.com>
 
        * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
index 3db8626..2ed1e14 100644 (file)
@@ -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.  */