This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Incomplete 64K section support
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 26 Mar 2004 19:40:05 +1030
- Subject: Re: Incomplete 64K section support
- References: <20040325212407.GA2010@lucon.org>
On Thu, Mar 25, 2004 at 01:24:07PM -0800, H. J. Lu wrote:
> Hi Alan,
>
> 64K section support is incomplete. The basically problem is index
> in ELF file != index in internal BFD representation. We have to adjust
> them for 64K when assigning one from the other. We missed a few places.
> For example, bfd_section_from_elf_index doesn't adjust for 64K. We have
> to make sure all st_shndx and sh_link handlings support 64K section
> correctly.
You mean calls to bfd_section_from_elf_index need fixing, rather than
bfd_section_from_elf_index itself. Yes, I can see some places that
ignore st_shndx. Are you working on a patch?
--
Alan Modra
IBM OzLabs - Linux Technology Centre