This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor fix to gprof on HP/UX 11
- To: gcc-patches at gcc dot gnu dot org
- Subject: Minor fix to gprof on HP/UX 11
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 3 Feb 00 19:19:16 EST
I received the following from HP as a textual description of what to
fix. It is too minor to need a copyright assignment. I committed it:
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.
*** config/pa/pa-hpux11.h 1999/07/08 13:45:11 1.2
--- config/pa/pa-hpux11.h 2000/02/03 22:58:58
***************
*** 34,43 ****
#define LIB_SPEC \
"%{!shared:\
! %{!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
--- 34,42 ----
#define LIB_SPEC \
"%{!shared:\
! %{!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
***************
*** 49,58 ****
#endif
! /* Under hpux11 the normal location of the various *crt*.o files is the
! /usr/ccs/lib directory. */
#ifndef CROSS_COMPILE
#undef MD_STARTFILE_PREFIX
#define MD_STARTFILE_PREFIX "/usr/ccs/lib/"
#endif
--- 48,59 ----
#endif
! /* 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