Handle SEC_LINK_DUPLICATES_SAME_CONTENTS for arm-linux
Alan Modra
amodra@bigpond.net.au
Thu Aug 19 05:30:00 GMT 2004
More information about the Binutils mailing list
Thu Aug 19 05:30:00 GMT 2004
- Previous message (by thread): Handle SEC_LINK_DUPLICATES_SAME_CONTENTS for arm-linux
- Next message (by thread): Handle SEC_LINK_DUPLICATES_SAME_CONTENTS for arm-linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Aug 18, 2004 at 10:55:19AM -0400, Daniel Jacobowitz wrote:
> The ARM linker uses SEC_LINK_DUPLICATES_SAME_CONTENTS for some note sections
> (probably more of them than it really ought to, but...). This isn't handled
> properly by one of HJ's COMDAT support patches, which just aborted in this
> case.
Before HJ moved the code, it looked like:
case SEC_LINK_DUPLICATES_SAME_CONTENTS:
/* FIXME: We should really dig out the contents of both
sections and memcmp them. The COFF/PE spec says that
the Microsoft linker does not implement this
correctly, so I'm not going to bother doing it
either. */
/* Fall through. */
case SEC_LINK_DUPLICATES_SAME_SIZE:
> * elflink.c (_bfd_elf_section_already_linked): Handle
> SEC_LINK_DUPLICATES_SAME_CONTENTS.
OK.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
- Previous message (by thread): Handle SEC_LINK_DUPLICATES_SAME_CONTENTS for arm-linux
- Next message (by thread): Handle SEC_LINK_DUPLICATES_SAME_CONTENTS for arm-linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list