This is the mail archive of the gcc@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: 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)


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