This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

PATCH: Remove bfd_comdat_info and move section_already_linked


On Tue, Jun 29, 2004 at 12:56:06AM -0700, H. J. Lu wrote:
> On Mon, Jun 28, 2004 at 06:22:42PM -0700, H. J. Lu wrote:
> > section_already_linked in ldlang.c has some code to deal with PE's
> > comdat, which isn't use by any other targets. Also there is
> > bfd_comdat_info in bfd_section for it. I suggest we move
> > bfd_comdat_info to PE target and move section_already_linked into
> > bfd target vector. We can have a special section_already_linked
> > function for PE and a generic one for others. With those changes, we
> > can remove PE specifc code from linker as well as bfd_section. Any
> > comments?
> > 
> > 
> > 
> 
> Here is the proposed patch. It moves bfd_comdat_info from bfd_section
> to coff_section_data.
> 

This is the complete patch. With this patch, I withdraw the section
identifier patch:

http://sources.redhat.com/ml/binutils/2004-06/msg00383.html

I will replace it with the one based on this patch.


H.J.

Attachment: binutils-comdat-1.patch
Description: Text document


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