* coffcode.h (coff_write_object_contents): Clear the vstamp field
authorIan Lance Taylor <ian@airs.com>
Wed, 20 Sep 1995 23:09:09 +0000 (23:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 20 Sep 1995 23:09:09 +0000 (23:09 +0000)
in the a.out header.

bfd/ChangeLog
bfd/coffcode.h

index 9deb0644ced513ddd8009fec8d55cf47d538164a..9f7157ceec95ff12e5e371d5cd457a417c06ce15 100644 (file)
@@ -1,5 +1,8 @@
 Wed Sep 20 12:03:26 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * coffcode.h (coff_write_object_contents): Clear the vstamp field
+       in the a.out header.
+
        * aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
        a reloc against a local symbol, even if it's not a section.
 
index e9a808c7c6b7dfd1261775cead4cb5b160cebf0c..f9c79583b33be6718af03a00b33d62f320ca53cd 100644 (file)
@@ -1987,6 +1987,10 @@ coff_write_object_contents (abfd)
 #undef __A_MAGIC_SET__
 #endif
   }
+
+  /* FIXME: Does anybody ever set this to another value?  */
+  internal_a.vstamp = 0;
+
   /* Now should write relocs, strings, syms */
   obj_sym_filepos (abfd) = sym_base;