This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: relaxing vs section merging
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: DJ Delorie <dj at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 27 Apr 2004 12:05:06 +0930
- Subject: Re: relaxing vs section merging
- References: <200404261945.i3QJjJRS026862@greed.delorie.com>
On Mon, Apr 26, 2004 at 03:45:19PM -0400, DJ Delorie wrote:
> What I'm seeing is that the relaxation code uses the pre-merge value
> of LC1a, but the relocation uses the post-merge value and thus fails
> (reloc overflow). I've verified that merging happens before relaxing.
I would guess that the mn10300 symbol reading code needs to look like
that in elflink.c:elf_link_input_bfd. I don't see
_bfd_merged_section_offset being called anywhere in elf-m10300.c.
--
Alan Modra
IBM OzLabs - Linux Technology Centre