summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa-hpux10.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-10 01:12:22 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-10 01:12:22 +0000
commit61a063aec4722e1301be94eeaf0eabcacc6feaa5 (patch)
tree3078adb7ab7e76855ac64b92fa9525f4d0b2d2ad /gcc/config/pa/pa-hpux10.h
parent3fdd387aa3260f73485373dcc6726c6fe907f4c0 (diff)
downloadgcc-61a063aec4722e1301be94eeaf0eabcacc6feaa5.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@32460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa-hpux10.h')
-rw-r--r--gcc/config/pa/pa-hpux10.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/config/pa/pa-hpux10.h b/gcc/config/pa/pa-hpux10.h
index 9540a9743f0..22223e10c73 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