2002-08-08 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_add_default_symbol): Don't warn a defintion overrides an indirect versioned symbol.
This commit is contained in:
parent
7950068398
commit
d8bbe7789d
@ -1,3 +1,8 @@
|
|||||||
|
2002-08-08 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* elflink.h (elf_add_default_symbol): Don't warn a defintion
|
||||||
|
overrides an indirect versioned symbol.
|
||||||
|
|
||||||
2002-08-08 Jakub Jelinek <jakub@redhat.com>
|
2002-08-08 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
|
* elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
|
||||||
|
@ -1085,10 +1085,13 @@ elf_add_default_symbol (abfd, info, h, name, sym, sec, value,
|
|||||||
if (override)
|
if (override)
|
||||||
{
|
{
|
||||||
/* Here SHORTNAME is a versioned name, so we don't expect to see
|
/* Here SHORTNAME is a versioned name, so we don't expect to see
|
||||||
the type of override we do in the case above. */
|
the type of override we do in the case above unless it is
|
||||||
(*_bfd_error_handler)
|
overridden by a versioned definiton. */
|
||||||
(_("%s: warning: unexpected redefinition of `%s'"),
|
if (hi->root.type != bfd_link_hash_defined
|
||||||
bfd_archive_filename (abfd), shortname);
|
&& hi->root.type != bfd_link_hash_defweak)
|
||||||
|
(*_bfd_error_handler)
|
||||||
|
(_("%s: warning: unexpected redefinition of indirect versioned symbol `%s'"),
|
||||||
|
bfd_archive_filename (abfd), shortname);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user