summaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-03 23:15:43 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-03 23:15:43 +0000
commitb6d00c99e868c90c5471270577ef2d522b1e4070 (patch)
tree1d74f1f37c14cd8d9d69e20655c0d184d64e62b7 /gcc/config/pa
parentd9f14ffe246a44085f7c91fb767312653ed491d2 (diff)
downloadgcc-b6d00c99e868c90c5471270577ef2d522b1e4070.tar.gz
* config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
(MD_STARTFILE_PREFIX_1): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31780 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa-hpux11.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h
index 18bf45387c9..42858e7246f 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