[patch] Honour SHF_LINK_ORDER

Paul Brook paul@codesourcery.com
Wed Jul 21 17:10:00 GMT 2004


On Wednesday 21 July 2004 17:59, H. J. Lu wrote:
> On Wed, Jul 21, 2004 at 02:36:34PM +0100, Nick Clifton wrote:
> > Hi Paul,
> >
> > >>2003-07-14  Paul Brook  <paul@codesourcery.com>
> > >>
> > >>	* elflink.c (elf_get_linked_section_vma, compare_link_order,
> > >>	elf_fixup_link_order): New functions.
> > >>	(bfd_elf_final_link): Call elf_fixup_link_order.
> >
> > Approved - please apply.
>
> FYI, this patch causes one "make check" failure in ld on ia64:
>
> FAIL: NOCROSSREFS 1
>
> I got
<...>
> Program exited with code 01.
> (gdb) q
>
> I am looking into it now.

I suspect this means elf_fixup_link_order returned FALSE. Looking at it again, 
this should probably issue an error/warning when this happens.

Paul



More information about the Binutils mailing list