X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=bfd%2Flibaout.h;fp=bfd%2Flibaout.h;h=ed2ec45a5d58a0bbdf69d2dad04e18a84bf82361;hp=d1d5b0ce3edf9196601422b6e4b2bc98d8e34e26;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/bfd/libaout.h b/bfd/libaout.h index d1d5b0c..ed2ec45 100644 --- a/bfd/libaout.h +++ b/bfd/libaout.h @@ -349,6 +349,21 @@ typedef struct aout_symbol Various things depend on this struct being around any time an a.out file is being handled. An example is dbxread.c in GDB. */ +enum aout_subformat { + default_format = 0, + /* Used on HP 9000/300 running HP/UX. See hp300hpux.c. */ + gnu_encap_format, + /* Used on Linux, 386BSD, etc. See include/aout/aout64.h. */ + q_magic_format +}; + +enum aout_magic { + undecided_magic = 0, + z_magic, + o_magic, + n_magic +}; + struct aoutdata { struct internal_exec *hdr; /* Exec file header. */ @@ -384,22 +399,9 @@ struct aoutdata unsigned vma_adjusted : 1; /* Used when a bfd supports several highly similar formats. */ - enum - { - default_format = 0, - /* Used on HP 9000/300 running HP/UX. See hp300hpux.c. */ - gnu_encap_format, - /* Used on Linux, 386BSD, etc. See include/aout/aout64.h. */ - q_magic_format - } subformat; - - enum - { - undecided_magic = 0, - z_magic, - o_magic, - n_magic - } magic; + enum aout_subformat subformat; + + enum aout_magic magic; /* A buffer for find_nearest_line. */ char *line_buf;