HP-UX 11 and ld +init

Mark Mitchell mark@codesourcery.com
Mon Jul 28 23:30:00 GMT 2003


David --

With this patch:

  2003-01-04  John David Anglin  <dave.anglin@nrc.ca>

	* config.gcc (hppa*64*-*-hpux11*): Define extra_parts.  Don't use
	collect2.
	* pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
	(HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.

you turned on "+init" and "+fini" for the 32-bit linker on HP-UX 11.
According to the man pages on the system we have, those are only
supported in the 64-bit linker.  Was using +init with the 32-bit
linker intentional?  Or should those changes just be moved to
pa64-hpux.h?

Thanks,

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Gcc mailing list