This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Your change to ldlang.c
- To: binutils@sourceware.cygnus.com
- Subject: Your change to ldlang.c
- From: Mark Mitchell <mark@codesourcery.com>
- Date: Thu, 01 Jul 1999 17:58:06 -0700
- Cc: Ian Lance Taylor <ian@zembu.com>
- Organization: CodeSourcery, LLC
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