* 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.
This commit is contained in:
parent
9bd09e220f
commit
a2fdf27064
4 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2000-06-16 Nicholas Duffek <nsd@cygnus.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2000-06-16 Nicholas Duffek <nsd@redhat.com>
|
2000-06-16 Nicholas Duffek <nsd@redhat.com>
|
||||||
|
|
||||||
* bfd-in.h (bfd_family_coff): Define.
|
* bfd-in.h (bfd_family_coff): Define.
|
||||||
|
|
|
@ -1731,6 +1731,11 @@ coff_mkobject_hook (abfd, filehdr, aouthdr)
|
||||||
struct xcoff_tdata *xcoff;
|
struct xcoff_tdata *xcoff;
|
||||||
|
|
||||||
xcoff = xcoff_data (abfd);
|
xcoff = xcoff_data (abfd);
|
||||||
|
# ifdef U803XTOCMAGIC
|
||||||
|
xcoff->xcoff64 = internal_f->f_magic == U803XTOCMAGIC;
|
||||||
|
# else
|
||||||
|
xcoff->xcoff64 = 0;
|
||||||
|
# endif
|
||||||
xcoff->full_aouthdr = true;
|
xcoff->full_aouthdr = true;
|
||||||
xcoff->toc = internal_a->o_toc;
|
xcoff->toc = internal_a->o_toc;
|
||||||
xcoff->sntoc = internal_a->o_sntoc;
|
xcoff->sntoc = internal_a->o_sntoc;
|
||||||
|
|
|
@ -126,6 +126,9 @@ struct xcoff_tdata
|
||||||
/* Basic COFF information. */
|
/* Basic COFF information. */
|
||||||
coff_data_type coff;
|
coff_data_type coff;
|
||||||
|
|
||||||
|
/* True if this is an XCOFF64 file. */
|
||||||
|
boolean xcoff64;
|
||||||
|
|
||||||
/* True if a large a.out header should be generated. */
|
/* True if a large a.out header should be generated. */
|
||||||
boolean full_aouthdr;
|
boolean full_aouthdr;
|
||||||
|
|
||||||
|
|
|
@ -126,6 +126,9 @@ struct xcoff_tdata
|
||||||
/* Basic COFF information. */
|
/* Basic COFF information. */
|
||||||
coff_data_type coff;
|
coff_data_type coff;
|
||||||
|
|
||||||
|
/* True if this is an XCOFF64 file. */
|
||||||
|
boolean xcoff64;
|
||||||
|
|
||||||
/* True if a large a.out header should be generated. */
|
/* True if a large a.out header should be generated. */
|
||||||
boolean full_aouthdr;
|
boolean full_aouthdr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue