aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-03-10 01:12:22 +0000
committerJeff Law <law@gcc.gnu.org>2000-03-09 18:12:22 -0700
commit7238ae533fb7bfc6155075acd058c335a40647a2 (patch)
tree3078adb7ab7e76855ac64b92fa9525f4d0b2d2ad
parent5dc9cffdfd6fb65d46193fe95b3f6ecea1242b7d (diff)
downloadgcc-7238ae533fb7bfc6155075acd058c335a40647a2.zip
gcc-7238ae533fb7bfc6155075acd058c335a40647a2.tar.gz
gcc-7238ae533fb7bfc6155075acd058c335a40647a2.tar.bz2
pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
* config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case. (MD_STARTFILE_PREFIX_1): New macro. From-SVN: r32460
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa-hpux10.h19
2 files changed, 15 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 50c813b..00d1d67 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
+
+ * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
+ (MD_STARTFILE_PREFIX_1): New macro.
+
2000-03-09 Robert Lipe <robertl@sco.com>
* config/ia64/ia64.c: Include system.h.
diff --git a/gcc/config/pa/pa-hpux10.h b/gcc/config/pa/pa-hpux10.h
index 9540a97..22223e1 100644
--- a/gcc/config/pa/pa-hpux10.h
+++ b/gcc/config/pa/pa-hpux10.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for HP PA-RISC 1.1
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
Contributed by Tim Moore (moore@defmacro.cs.utah.edu)
This file is part of GNU CC.
@@ -34,12 +34,11 @@ Boston, MA 02111-1307, USA. */
#undef LIB_SPEC
#define LIB_SPEC \
"%{!shared:\
- %{!p:\
- %{!pg:\
- %{!threads:-lc}\
- %{threads:-lcma -lc_r}}\
- %{p: -L/lib/libp/ -lc}\
- %{pg: -L/lib/libp/ -lc}}}"
+ %{!p:%{!pg:\
+ %{!threads:-lc}\
+ %{threads:-lcma -lc_r}}}\
+ %{p: -L/lib/libp/ -lc}\
+ %{pg: -L/lib/libp/ -lc}}"
/* Under hpux10, the normal location of the `ld' and `as' programs is the
/usr/ccs/bin directory. */
@@ -49,12 +48,14 @@ Boston, MA 02111-1307, USA. */
#define MD_EXEC_PREFIX "/usr/ccs/bin/"
#endif
-/* Under hpux10, the normal location of the various *crt*.o files is the
- /usr/ccs/lib directory. */
+/* Under hpux10, the normal location of the various *crt*.o files is
+ the /usr/ccs/lib directory. However, the profiling files are in
+ /opt/langtools/lib. */
#ifndef CROSS_COMPILE
#undef MD_STARTFILE_PREFIX
#define MD_STARTFILE_PREFIX "/usr/ccs/lib/"
+#define MD_STARTFILE_PREFIX_1 "/opt/langtools/lib/"
#endif
/* hpux10 has the new HP assembler. It's still lousy, but it's a whole lot