gas/
[deliverable/binutils-gdb.git] / bfd / reloc16.c
index 4e3107fb937d434cded6aec6c5e1c4a3bedc3b41..b4087cbd58abd09e3609ff03abc1a2e45233184d 100644 (file)
@@ -76,6 +76,10 @@ bfd_coff_reloc16_get_value (reloc, link_info, input_section)
       else if (h != (struct bfd_link_hash_entry *) NULL
               && h->type == bfd_link_hash_common)
        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
        {
          if (!((*link_info->callbacks->undefined_symbol)
This page took 0.023827 seconds and 4 git commands to generate.