This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Minor fix to gprof on HP/UX 11


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
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]