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]
Other format: [Raw text]

Re: HPUX PA LINK_SPEC change (HP linker & shared libs)


> /usr/ccs/bin/size seems to work ok on my systems.  So, let's proceed
> with your suggestion.

Here is a patch to use INIT_ENVIRONMENT to set LD_PXDB, Ok to check in?

Steve Ellcey
sje@cup.hp.com



2002-10-03  Steve Ellcey  <sje@cup.hp.com>

	* config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.


*** gcc.orig/gcc/config/pa/pa64-hpux.h	Thu Oct  3 14:49:17 2002
--- gcc/gcc/config/pa/pa64-hpux.h	Thu Oct  3 14:54:48 2002
*************** do {  \
*** 159,161 ****
--- 159,165 ----
  #ifndef ASM_DECLARE_RESULT
  #define ASM_DECLARE_RESULT(FILE, RESULT)
  #endif
+ 
+ /* If using HP ld do not call pxdb.  Use size as a program that does nothing
+    and returns 0.  /bin/true cannot be used because it is a script.  */
+ #define INIT_ENVIRONMENT "LD_PXDB=/usr/ccs/bin/size"


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