summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-06-16 20:40:50 +0000
committerNicholas Duffek <nsd@redhat.com>2000-06-16 20:40:50 +0000
commit4c80de28dbf27a56aa47829927daa0f23d748845 (patch)
tree0f1141fc5b45175d53ece7d7a5e74cfacd02ce83 /bfd/coffcode.h
parent36489ef567b422ecc6164a9505868f5c7f60364b (diff)
downloadgdb-4c80de28dbf27a56aa47829927daa0f23d748845.tar.gz
* coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
* libcoff-in.h (struct xcoff_tdata): Define xcoff64 field. * libcoff.h (struct xcoff_tdata): Define xcoff64 field.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 26c86203c43..3f155b85e09 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1731,6 +1731,11 @@ coff_mkobject_hook (abfd, filehdr, aouthdr)
struct xcoff_tdata *xcoff;
xcoff = xcoff_data (abfd);
+# ifdef U803XTOCMAGIC
+ xcoff->xcoff64 = internal_f->f_magic == U803XTOCMAGIC;
+# else
+ xcoff->xcoff64 = 0;
+# endif
xcoff->full_aouthdr = true;
xcoff->toc = internal_a->o_toc;
xcoff->sntoc = internal_a->o_sntoc;