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 Wed, May 10, 2006 at 02:15:52PM +0930, Alan Modra wrote:
> I don't know what to do about pr2342.  I'm inclined to revert my
> 2006-02-16 bfd/elflink.c change for 2.17, simply because I haven't
> developed a proper fix.  In any case, zeroing out debug fields pointing
> into discarded sections has its own problems.  eg, in some sections, a
> zero is a list terminator so poking zeros in the middle of a list isn't
> correct.  We really need to edit the debug info, and fix all the refs.
> 
> 	PR 2342
> 	* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
> 

This patch speeds up the linker when comparing sections by caching
the result of _bfd_elf_check_kept_section:

http://sourceware.org/ml/binutils/2006-04/msg00329.html


H.J.


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