This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RFC: Move section_already_linked from ld to bfd target vector
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Mon, 28 Jun 2004 18:22:42 -0700
- Subject: 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.