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]

RFC: Move section_already_linked from ld to bfd target vector


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?



H.J.


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