This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]