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: relaxing and elf local syms


On Wed, Feb 15, 2006 at 08:49:41PM -0500, DJ Delorie wrote:
> 
> I'm working on relaxing in the m32c bfd.  The global symbols are being
> changed properly, but the local symbols seem to stay where they
> originally were.  It appears that the local symbols get re-loaded from
> the input bfd's file, so the changes I'm making get discarded.  I
> can't seem to find where it might be caching the values.  Is this a
> known limitation of relaxing, or is there some trick to it?

elf_tdata (input_bfd)->symtab_hdr.contents can be used to save modified
internal syms for input_bfd.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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