This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Revised fix for gold problem with weak undefined symbols
- From: Ian Lance Taylor <iant at google dot com>
- To: "Cary Coutant" <ccoutant at google dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 16 Apr 2008 16:42:08 -0700
- Subject: Re: PATCH: Revised fix for gold problem with weak undefined symbols
- References: <c17be2b30804161411q5ee68cecy215c5646d276a709@mail.gmail.com>
"Cary Coutant" <ccoutant@google.com> writes:
> * symtab.h (Symbol::is_strong_undefined): Removed unused function.
> (Symbol::needs_plt_entry): Allow weak undefined symbols.
> (Symbol::needs_dynamic_reloc): Allow weak undefined symbols when
> building shared libraries.
> * testsuite/Makefile.am (weak_undef_nonpic_test): New target.
> (weak_undef_file1_nonpic.o, weak_undef_file2_nonpic.o)
> (weak_undef_lib_nonpic.so, alt/weak_undef_lib_nonpic.so): New targets.
> * testsuite/Makefile.in: Rebuild.
> * testsuite/weak_undef.h: New file.
> * testsuite/weak_undef_file1.cc: Add extra test cases.
> * testsuite/weak_undef_file2.cc: Likewise.
> * testsuite/weak_undef_test.cc: Likewise.
This is OK.
Thanks.
Ian