aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2000-02-03 23:15:43 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-02-03 18:15:43 -0500
commit7d4d86036d2135de6b135c17027a37af27a289fa (patch)
tree1d74f1f37c14cd8d9d69e20655c0d184d64e62b7
parentd8b6d4cf4005460d0da2f5e115fb11489cdb1919 (diff)
downloadgcc-7d4d86036d2135de6b135c17027a37af27a289fa.zip
gcc-7d4d86036d2135de6b135c17027a37af27a289fa.tar.gz
gcc-7d4d86036d2135de6b135c17027a37af27a289fa.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: r31780
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa-hpux11.h19
2 files changed, 15 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8bb5dd6..c860933 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
+
+ * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
+ (MD_STARTFILE_PREFIX_1): New macro.
+
Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
* i386.md (movstrsi, clrstrsi): Support variable sized copies, align
diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h
index 18bf453..42858e7 100644
--- a/gcc/config/pa/pa-hpux11.h
+++ b/gcc/config/pa/pa-hpux11.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler, for HP PA-RISC 1.1
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -33,12 +33,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 hpux11, the normal location of the `ld' and `as' programs is the
/usr/ccs/bin directory. */
@@ -48,12 +47,14 @@ Boston, MA 02111-1307, USA. */
#define MD_EXEC_PREFIX "/usr/ccs/bin/"
#endif
-/* Under hpux11 the normal location of the various *crt*.o files is the
- /usr/ccs/lib directory. */
+/* Under hpux11 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
/* hpux11 has the new HP assembler. It's still lousy, but it's a whole lot