aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-20 23:09:09 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-20 23:09:09 +0000
commite18c4e8f8fa91468aebaa96b286918ea615e704b (patch)
tree46976f1babb75d473f4b642f4abce392eeb08a7f /bfd/coffcode.h
parent602677ad443419e689896b4396844177282f443d (diff)
downloadgdb-e18c4e8f8fa91468aebaa96b286918ea615e704b.zip
gdb-e18c4e8f8fa91468aebaa96b286918ea615e704b.tar.gz
gdb-e18c4e8f8fa91468aebaa96b286918ea615e704b.tar.bz2
* coffcode.h (coff_write_object_contents): Clear the vstamp field
in the a.out header.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index e9a808c..f9c7958 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -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;