This is the mail archive of the
mailing list for the binutils project.
Re: [patch] Honour SHF_LINK_ORDER
On Wed, Jul 21, 2004 at 06:10:50PM +0100, Paul Brook wrote:
> 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 <email@example.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.
Yes, it should. However, on ia64, an output .text section may have both
ordered and unordered input sections.