coff linker patch
Philip Blundell
pb@futuretv.com
Thu Nov 23 05:56:00 GMT 2000
I'd like to apply the following patch. Is this OK?
Thanks
p.
2000-11-22 Philip Blundell <pb@futuretv.com>
* cofflink.c (_bfd_coff_generic_relocate_section): Don't object
to weak undefined symbols.
Index: cofflink.c
===================================================================
RCS file: /cvs/src/src/bfd/cofflink.c,v
retrieving revision 1.18
diff -u -r1.18 cofflink.c
--- cofflink.c 2000/07/03 18:45:18 1.18
+++ cofflink.c 2000/11/22 16:24:32
@@ -2936,6 +2938,9 @@
+ sec->output_section->vma
+ sec->output_offset);
}
+
+ else if (h->root.type == bfd_link_hash_undefweak)
+ val = 0;
else if (! info->relocateable)
{
More information about the Binutils
mailing list