Your change to ldlang.c

Mark Mitchell mark@codesourcery.com
Thu Jul 1 17:54:00 GMT 1999


  1999-06-23  Ian Lance Taylor  <ian@zembu.com>

	* ldlang.c (section_already_linked): Only discard link once
	sections if we are building constructors.

Ian --

  This change breaks the MIPS ABI with ld -r.  The reason is
that the .reginfo section uses SEC_LINK_ONCE to avoid duplication, and
that is true even when doing ld -r.  In fact, I'm not sure what the
purpose of your change was; I don't see why we should not discard link
once sections for ld -r things.

  Thoughts?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Binutils mailing list