we are using an ELF hash table.
Thu Jan 26 11:39:21 1995 Ian Lance Taylor <ian@cygnus.com>
+ * elfcode.h (elf_link_add_object_symbols): Only examine weakdef if
+ we are using an ELF hash table.
+
* aoutx.h (NAME(aout,some_aout_object_p)): Always set EXEC_P if
the start address is in the .text section, even if STAT_FOR_EXEC
is set. Just use STAT_FOR_EXEC as an additional test.
&& definition
&& (flags & BSF_WEAK) != 0
&& ELF_ST_TYPE (sym.st_info) != STT_FUNC
+ && info->hash->creator->flavour == bfd_target_elf_flavour
&& (*sym_hash)->weakdef == NULL)
{
/* Keep a list of all weak defined non function symbols from