This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix hash table mixup in
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: nickc at redhat dot com (Nick Clifton)
- Cc: binutils at sources dot redhat dot com, amodra at bigpond dot net dot au, schwab at suse dot de
- Date: Tue, 7 Oct 2003 17:45:04 -0400 (EDT)
- Subject: Re: Fix hash table mixup in
> >> On Wed, Sep 17, 2003 at 06:44:45PM +0200, Andreas Schwab wrote:
> >> > * simple.c (bfd_simple_get_relocated_section_contents): Use
> >> > _bfd_generic_link_hash_table_create instead of
> >> > bfd_link_hash_table_create.
>
> > I see the following new ld testsuite fails on hppa-linux with this patch:
> >
> > Running /home/dave/binutils-2.14.90/src/ld/testsuite/ld-scripts/crossref.exp ...
> > FAIL: NOCROSSREFS 1
> > FAIL: NOCROSSREFS 2
Sorry, I didn't answer your question. The fails were fixed by Alan's
patch in September:
2003-09-23 Alan Modra <alan@modra.org>
* simple.c (bfd_simple_get_relocated_section_contents): Free the
hash table using _bfd_generic_link_hash_table_free.
Regarding the testsuite, I have noticed in recent testing that there
are problems in the ld suite in using gcc as a driver to run as-new
and ld-new. When gcc is built with a default assembler and/or linker,
you can't use `-B' to change the assembler/linker that gcc uses. See
the code that uses DEFAULT_ASSEMBLER and DEFAULT_LINKER in gcc.c and
collect2.c.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)