This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HP-UX 11 and ld +init
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: zack at codesourcery dot com (Zack Weinberg)
- Cc: KelleyCook at wideopenwest dot com, gcc at gcc dot gnu dot org, gcc at lists dot thewrittenword dot com, mark at codesourcery dot com
- Date: Wed, 30 Jul 2003 01:33:38 -0400 (EDT)
- Subject: Re: HP-UX 11 and ld +init
> > > +GCC 3.3 nows uses the ELF DT_INIT_ARRAY and DT_FINI_ARRAY capability
> > > +to run initializers and finalizers on the 64-bit port. The feature
> > > +requires CVS binutils as of January 2, 2003, or a subsequent release
> > > +to correct a problem arising from HP's non-standard use of the .init
> > > +and .fini sections. The 32-bit port uses the linker @option{+init}
> > > +and @option{+fini} options. As with the support for secondary symbols,
> > > +there have been bugs in the order in which these options are executed
> > > +by the HP linker. So, again a recent linker patch is recommended.
>
> Oops, mine was out of date.
>
> Could you throw the patch number in there?
I'm working on another project this week. Although patch numbers that
worked for me are mentioned in the previous paragraph, I will review
the patch situation and the documentation next week.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)