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: [PATCH] Fix section symbols in objcopy when removing sections with relocations from Elf objects


On Wed, May 24, 2006 at 03:29:59PM +0100, Julian Brown wrote:
> Julian Brown wrote:
> >Hi,
> >
> >This patch fixes a problem where, if sections are removed during objcopy 
> >with Elf object files, the section symbols corresponding to the 
> >relocation sections for the removed sections may be left in the target 
> >object file.
> 
> This is a slightly-smarter version (thanks to offlist discussion with 
> Dan) which knows about recoving Elf symbols from BFD symbols, hence 
> avoids some unnecessary work.
> 

Can you add a testcase so that it won't be broken by accident?


H.J.


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