Missing objcopy changelog entry

Danny Smith dannysmith@clear.net.nz
Wed Oct 12 01:31:00 GMT 2005


This commit is missing a Changelog entry.  It doesn't fix the bug
either.
Danny

===================================================================
RCS file: /cvs/src/src/binutils/objcopy.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- src/binutils/objcopy.c	2005/10/03 19:37:44	1.87
+++ src/binutils/objcopy.c	2005/10/11 16:33:16	1.88
@@ -1349,6 +1349,13 @@
 	  bfd_nonfatal (gnu_debuglink_filename);
 	  return FALSE;
 	}
+
+      if (bfd_get_flavour (obfd) == bfd_target_coff_flavour)
+	/* Try to set the VMA of the section to some non-zero value so
+	   that it will work for PE format files.  (We have no way to
+	   distinguish between COFF and PE flavours).  If this does not
+	   work, just ignore the failure.  */
+	bfd_set_section_vma (obfd, gnu_debuglink_section, 0xf0000000);
     }
 
   if (bfd_count_sections (obfd) == 0)



More information about the Binutils mailing list