aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-09 18:26:10 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-09 18:26:10 +0000
commit7906bf87b9bed567a2e683aaa65c1bace627a04b (patch)
tree673f068837c59f27d3f6154c4426e1a67411e67f
parent97121c41e92ad27bfbf7d8c9814793056e2161be (diff)
downloadgdb-7906bf87b9bed567a2e683aaa65c1bace627a04b.zip
gdb-7906bf87b9bed567a2e683aaa65c1bace627a04b.tar.gz
gdb-7906bf87b9bed567a2e683aaa65c1bace627a04b.tar.bz2
* coffcode.h (coff_write_object_contents): Set a.out vstamp to 1
if RS6000COFF_C.
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/coffcode.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ced5285..f3ad724 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
Thu Nov 9 13:01:31 1995 Ian Lance Taylor <ian@cygnus.com>
+ * coffcode.h (coff_write_object_contents): Set a.out vstamp to 1
+ if RS6000COFF_C.
+
* xcofflink.c (XCOFF_DESCRIPTOR): Define.
(struct xcoff_link_hash_table): Add descriptor_section and
special_sections fields.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 6c3eab4..25c0b73 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2391,6 +2391,8 @@ coff_write_object_contents (abfd)
bfd_vma toc;
asection *loader_sec;
+ internal_a.vstamp = 1;
+
if (xcoff_data (abfd)->entry_section != NULL)
internal_a.o_snentry = xcoff_data (abfd)->entry_section->target_index;
else