This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: i386-pc-nto-qnx patch
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Graeme Peterson <gp at qnx dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 10 May 2002 23:01:54 +0930
- Subject: Re: i386-pc-nto-qnx patch
- References: <200205091520.PAA315101227@node128.ott.qnx.com>
On Thu, May 09, 2002 at 11:20:05AM -0400, Graeme Peterson wrote:
> I've seen a lot of talk about merging patches, and was wondering
> if anyone has had time to look at the i386-pc-nto-qnx patch I
> submitted.
I've looked at it a couple of times, thought "why is he doing that?"
and put it aside until I could analyse your code a little deeper.
So, why is IS_CONTAINED_BY_FILEPOS necessary? Just because
_bfd_elf_make_section_from_shdr isn't setting up lma correctly for
you? Seems to me the right solution is some tweakery to
_bfd_elf_make_section_from_shdr. You'll probably want this anyway
as other parts of bfd look at the section lma.
--
Alan Modra
IBM OzLabs - Linux Technology Centre