This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: relaxing and elf local syms
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: DJ Delorie <dj at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 16 Feb 2006 14:14:50 +1030
- Subject: Re: relaxing and elf local syms
- References: <200602160149.k1G1nfwB031117@greed.delorie.com>
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