mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
* reloc16.c (bfd_coff_reloc16_get_value): Add support for
undefined weak symbols.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-04-25 Jay Foad <jay.foad@gmail.com>
|
||||||
|
|
||||||
|
* reloc16.c (bfd_coff_reloc16_get_value): Add support for
|
||||||
|
undefined weak symbols.
|
||||||
|
|
||||||
2008-04-25 Nick Clifton <nickc@redhat.com>
|
2008-04-25 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* po/vi.po: Updated Vietnamese translation.
|
* po/vi.po: Updated Vietnamese translation.
|
||||||
|
@ -76,6 +76,10 @@ bfd_coff_reloc16_get_value (reloc, link_info, input_section)
|
|||||||
else if (h != (struct bfd_link_hash_entry *) NULL
|
else if (h != (struct bfd_link_hash_entry *) NULL
|
||||||
&& h->type == bfd_link_hash_common)
|
&& h->type == bfd_link_hash_common)
|
||||||
value = h->u.c.size;
|
value = h->u.c.size;
|
||||||
|
else if (h != (struct bfd_link_hash_entry *) NULL
|
||||||
|
&& h->type == bfd_link_hash_undefweak)
|
||||||
|
/* This is a GNU extension. */
|
||||||
|
value = 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!((*link_info->callbacks->undefined_symbol)
|
if (!((*link_info->callbacks->undefined_symbol)
|
||||||
|
Reference in New Issue
Block a user