Incomplete 64K section support

Alan Modra amodra@bigpond.net.au
Fri Mar 26 15:57:00 GMT 2004


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



More information about the Binutils mailing list