diff options
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r-- | bfd/cofflink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 8c82596..05c0689 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -2937,6 +2937,9 @@ _bfd_coff_generic_relocate_section (output_bfd, info, input_bfd, + sec->output_offset); } + else if (h->root.type == bfd_link_hash_undefweak) + val = 0; + else if (! info->relocateable) { if (! ((*info->callbacks->undefined_symbol) |