This is the mail archive of the binutils@sourceware.org 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]

Re: pr2342


On Thu, May 11, 2006 at 12:41:48PM +0930, Alan Modra wrote:
> On Wed, May 10, 2006 at 08:13:54AM -0700, H. J. Lu wrote:
> > http://sourceware.org/ml/binutils/2006-04/msg00329.html
> 
> Please install the fix for match_group_member to mainline and 2.17
> branch.  The rest of the patch needs some thought.  I'd like to avoid
> the need for another elf_section_data field.  Can't you simply store the
> group member in asection kept_section?  In fact, why are we pointing
> kept_section of a group member to the kept group section rather than a
> kept group member?  Won't that break emit_relocs code in
> elf_link_input_bfd?
> 

The current scheme is to find the group member on demand. We can cache
the result in asection kept_section if we check it when set it,
regardless if it is used or not.  In order to cache the result on
demand, we need another field.


H.J.


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