This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] Honour SHF_LINK_ORDER
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
# gdb ./ld-new
GNU gdb Red Hat Linux (6.1post-1.20040607.15rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "ia64-redhat-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) r -o tmpdir/cross1 -T /net/gnu/export/linux/src/binutils/binutils/ld/testsuite/ld-scripts/cross1.t
tmpdir/cross1.o tmpdir/cross2.o
Starting program: /export/build/linux/binutils-debug/build-ia64-linux/ld/ld-new -o tmpdir/cross1 -T /net/gnu/export/linux/src/binutils/binutils/ld/testsuite/ld-scripts/cross1.t tmpdir/cross1.o tmpdir/cross2.o
Program exited with code 01.
(gdb) q
I am looking into it now.
H.J.