Skip relocations in non-loaded, non-alloced sections
[deliverable/binutils-gdb.git] / bfd / coffcode.h
index caceab6e68eaf73ec9b6d33c2a507c6325758bcc..eef3fa8d1da6be75d83be01a56334a5a11239b9b 100644 (file)
@@ -4076,6 +4076,8 @@ coff_write_object_contents (bfd * abfd)
     internal_f.f_flags |= F_DYNLOAD;
 #endif
 
+  memset (&internal_a, 0, sizeof internal_a);
+
   /* Set up architecture-dependent stuff.  */
   {
     unsigned int magic = 0;
@@ -5478,6 +5480,8 @@ dummy_reloc16_extra_cases (bfd *abfd ATTRIBUTE_UNUSED,
   _bfd_generic_copy_link_hash_symbol_type
 #define coff_bfd_link_split_section  _bfd_generic_link_split_section
 
+#define coff_bfd_link_check_relocs   _bfd_generic_link_check_relocs
+
 #ifndef coff_start_final_link
 #define coff_start_final_link NULL
 #endif
This page took 0.028614 seconds and 4 git commands to generate.