This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HPUX PA LINK_SPEC change (HP linker & shared libs)
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: dave at hiauly1 dot hia dot nrc dot ca
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Oct 2002 15:05:37 -0700 (PDT)
- Subject: 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"