diff options
author | Nicholas Duffek <nsd@redhat.com> | 2000-06-16 20:40:50 +0000 |
---|---|---|
committer | Nicholas Duffek <nsd@redhat.com> | 2000-06-16 20:40:50 +0000 |
commit | a2fdf27064805ed9e44e486fb20a4445e681cabe (patch) | |
tree | 99f315cf53c92229c29e2aa1105bd4eaf4a95960 /bfd/coffcode.h | |
parent | 9bd09e220fef247580c9736ab0d680c875c11f93 (diff) | |
download | binutils-gdb-a2fdf27064805ed9e44e486fb20a4445e681cabe.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.h | 5 |
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; |