warning symbols here.
* emultempl/pe.em (pr_sym): Remove redundant test.
* emultempl/pep.em (pr_sym): Likewise.
+2011-06-13 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (sort_def_symbol, lang_one_common): Don't handle
+ warning symbols here.
+ * emultempl/pe.em (pr_sym): Remove redundant test.
+ * emultempl/pep.em (pr_sym): Likewise.
+
2011-06-09 Nick Clifton <nickc@redhat.com>
PR ld/12845
static bfd_boolean
pr_sym (struct bfd_hash_entry *h, void *inf ATTRIBUTE_UNUSED)
{
- if (pe_dll_extra_pe_debug)
- printf ("+%s\n", h->string);
+ printf ("+%s\n", h->string);
return TRUE;
}
static bfd_boolean
pr_sym (struct bfd_hash_entry *h, void *inf ATTRIBUTE_UNUSED)
{
- if (pep_dll_extra_pe_debug)
- printf ("+%s\n", h->string);
+ printf ("+%s\n", h->string);
return TRUE;
}
sort_def_symbol (struct bfd_link_hash_entry *hash_entry,
void *info ATTRIBUTE_UNUSED)
{
- if (hash_entry->type == bfd_link_hash_warning)
- hash_entry = (struct bfd_link_hash_entry *) hash_entry->u.i.link;
-
if (hash_entry->type == bfd_link_hash_defined
|| hash_entry->type == bfd_link_hash_defweak)
{
bfd_vma size;
asection *section;
- if (h->type == bfd_link_hash_warning)
- h = h->u.i.link;
-
if (h->type != bfd_link_hash_common)
return TRUE;