Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Typedefs
mips.h File Reference
#include "coff/external.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  external_aouthdr
struct  external_reloc
struct  hdr_ext
struct  fdr_ext
struct  pdr_ext
struct  rpdr_ext
struct  line_ext
struct  sym_ext
struct  ext_ext
struct  dnr_ext
struct  rfd_ext
struct  opt_ext

Defines

#define DO_NOT_DEFINE_AOUTHDR
#define L_LNNO_SIZE   4
#define MIPS_ECOFF_BADMAG(x)
#define AOUTSZ   56
#define AOUTHDRSZ   56
#define RELOC   struct external_reloc
#define RELSZ   8
#define RELOC_BITS0_SYMNDX_SH_LEFT_BIG   16
#define RELOC_BITS0_SYMNDX_SH_LEFT_LITTLE   0
#define RELOC_BITS1_SYMNDX_SH_LEFT_BIG   8
#define RELOC_BITS1_SYMNDX_SH_LEFT_LITTLE   8
#define RELOC_BITS2_SYMNDX_SH_LEFT_BIG   0
#define RELOC_BITS2_SYMNDX_SH_LEFT_LITTLE   16
#define RELOC_BITS3_TYPE_BIG   0x3E
#define RELOC_BITS3_TYPE_SH_BIG   1
#define RELOC_BITS3_TYPE_LITTLE   0x78
#define RELOC_BITS3_TYPE_SH_LITTLE   3
#define RELOC_BITS3_TYPEHI_LITTLE   0x04
#define RELOC_BITS3_TYPEHI_SH_LITTLE   2
#define RELOC_BITS3_EXTERN_BIG   0x01
#define RELOC_BITS3_EXTERN_LITTLE   0x80
#define MIPS_R_IGNORE   0
#define MIPS_R_REFHALF   1
#define MIPS_R_REFWORD   2
#define MIPS_R_JMPADDR   3
#define MIPS_R_REFHI   4
#define MIPS_R_REFLO   5
#define MIPS_R_GPREL   6
#define MIPS_R_LITERAL   7
#define MIPS_R_PCREL16   12
#define MIPS_IS_STAB   ECOFF_IS_STAB
#define MIPS_MARK_STAB   ECOFF_MARK_STAB
#define MIPS_UNMARK_STAB   ECOFF_UNMARK_STAB
#define FDR_BITS1_LANG_BIG   0xF8
#define FDR_BITS1_LANG_SH_BIG   3
#define FDR_BITS1_LANG_LITTLE   0x1F
#define FDR_BITS1_LANG_SH_LITTLE   0
#define FDR_BITS1_FMERGE_BIG   0x04
#define FDR_BITS1_FMERGE_LITTLE   0x20
#define FDR_BITS1_FREADIN_BIG   0x02
#define FDR_BITS1_FREADIN_LITTLE   0x40
#define FDR_BITS1_FBIGENDIAN_BIG   0x01
#define FDR_BITS1_FBIGENDIAN_LITTLE   0x80
#define FDR_BITS2_GLEVEL_BIG   0xC0
#define FDR_BITS2_GLEVEL_SH_BIG   6
#define FDR_BITS2_GLEVEL_LITTLE   0x03
#define FDR_BITS2_GLEVEL_SH_LITTLE   0
#define SYM_BITS1_ST_BIG   0xFC
#define SYM_BITS1_ST_SH_BIG   2
#define SYM_BITS1_ST_LITTLE   0x3F
#define SYM_BITS1_ST_SH_LITTLE   0
#define SYM_BITS1_SC_BIG   0x03
#define SYM_BITS1_SC_SH_LEFT_BIG   3
#define SYM_BITS1_SC_LITTLE   0xC0
#define SYM_BITS1_SC_SH_LITTLE   6
#define SYM_BITS2_SC_BIG   0xE0
#define SYM_BITS2_SC_SH_BIG   5
#define SYM_BITS2_SC_LITTLE   0x07
#define SYM_BITS2_SC_SH_LEFT_LITTLE   2
#define SYM_BITS2_RESERVED_BIG   0x10
#define SYM_BITS2_RESERVED_LITTLE   0x08
#define SYM_BITS2_INDEX_BIG   0x0F
#define SYM_BITS2_INDEX_SH_LEFT_BIG   16
#define SYM_BITS2_INDEX_LITTLE   0xF0
#define SYM_BITS2_INDEX_SH_LITTLE   4
#define SYM_BITS3_INDEX_SH_LEFT_BIG   8
#define SYM_BITS3_INDEX_SH_LEFT_LITTLE   4
#define SYM_BITS4_INDEX_SH_LEFT_BIG   0
#define SYM_BITS4_INDEX_SH_LEFT_LITTLE   12
#define EXT_BITS1_JMPTBL_BIG   0x80
#define EXT_BITS1_JMPTBL_LITTLE   0x01
#define EXT_BITS1_COBOL_MAIN_BIG   0x40
#define EXT_BITS1_COBOL_MAIN_LITTLE   0x02
#define EXT_BITS1_WEAKEXT_BIG   0x20
#define EXT_BITS1_WEAKEXT_LITTLE   0x04
#define OPT_BITS2_VALUE_SH_LEFT_BIG   16
#define OPT_BITS2_VALUE_SH_LEFT_LITTLE   0
#define OPT_BITS3_VALUE_SH_LEFT_BIG   8
#define OPT_BITS3_VALUE_SH_LEFT_LITTLE   8
#define OPT_BITS4_VALUE_SH_LEFT_BIG   0
#define OPT_BITS4_VALUE_SH_LEFT_LITTLE   16

Typedefs

typedef struct external_aouthdr AOUTHDR

Class Documentation

struct external_aouthdr

Definition at line 51 of file alpha.h.

Class Members
unsigned char bldrev
char bsize
unsigned char bsize
unsigned char bss_start
unsigned char cprmask
char data_start
unsigned char data_start
char dsize
unsigned char dsize
char entry
unsigned char entry
unsigned char fprmask
unsigned char gp_value
unsigned char gprmask
char magic
unsigned char magic
unsigned char padding
char text_start
unsigned char text_start
char tsize
unsigned char tsize
char vstamp
unsigned char vstamp
struct external_reloc

Definition at line 95 of file alpha.h.

Class Members
char pad
unsigned char r_bits
char r_offset
char r_reserved
char r_size
char r_spare
char r_stuff
char r_symndx
unsigned char r_symndx
char r_type
char r_vaddr
unsigned char r_vaddr
struct hdr_ext

Definition at line 174 of file alpha.h.

Class Members
unsigned char h_cbAuxOffset
unsigned char h_cbDnOffset
unsigned char h_cbExtOffset
unsigned char h_cbFdOffset
unsigned char h_cbLine
unsigned char h_cbLineOffset
unsigned char h_cbOptOffset
unsigned char h_cbPdOffset
unsigned char h_cbRfdOffset
unsigned char h_cbSsExtOffset
unsigned char h_cbSsOffset
unsigned char h_cbSymOffset
unsigned char h_crfd
unsigned char h_iauxMax
unsigned char h_idnMax
unsigned char h_iextMax
unsigned char h_ifdMax
unsigned char h_ilineMax
unsigned char h_ioptMax
unsigned char h_ipdMax
unsigned char h_issExtMax
unsigned char h_issMax
unsigned char h_isymMax
unsigned char h_magic
unsigned char h_vstamp
struct fdr_ext

Definition at line 205 of file alpha.h.

Class Members
unsigned char f_adr
unsigned char f_bits1
unsigned char f_bits2
unsigned char f_caux
unsigned char f_cbLine
unsigned char f_cbLineOffset
unsigned char f_cbSs
unsigned char f_cline
unsigned char f_copt
unsigned char f_cpd
unsigned char f_crfd
unsigned char f_csym
unsigned char f_iauxBase
unsigned char f_ilineBase
unsigned char f_ioptBase
unsigned char f_ipdFirst
unsigned char f_issBase
unsigned char f_isymBase
unsigned char f_padding
unsigned char f_rfdBase
unsigned char f_rss
struct pdr_ext

Definition at line 253 of file alpha.h.

Class Members
unsigned char p_adr
unsigned char p_bits1
unsigned char p_bits2
unsigned char p_cbLineOffset
unsigned char p_frameoffset
unsigned char p_framereg
unsigned char p_fregmask
unsigned char p_fregoffset
unsigned char p_gp_prologue
unsigned char p_iline
unsigned char p_iopt
unsigned char p_isym
unsigned char p_lnHigh
unsigned char p_lnLow
unsigned char p_localoff
unsigned char p_pcreg
unsigned char p_regmask
unsigned char p_regoffset
struct rpdr_ext

Definition at line 227 of file mips.h.

Class Members
unsigned char p_adr
unsigned char p_exception_info
unsigned char p_frameoffset
unsigned char p_framereg
unsigned char p_fregmask
unsigned char p_fregoffset
unsigned char p_irpss
unsigned char p_pcreg
unsigned char p_regmask
unsigned char p_regoffset
unsigned char p_reserved
struct line_ext

Definition at line 292 of file alpha.h.

Class Members
unsigned char l_line
struct sym_ext

Definition at line 298 of file alpha.h.

Class Members
unsigned char s_bits1
unsigned char s_bits2
unsigned char s_bits3
unsigned char s_bits4
unsigned char s_iss
unsigned char s_value
struct ext_ext

Definition at line 338 of file alpha.h.

Class Members
unsigned char es_bits1
unsigned char es_bits2
unsigned char es_ifd
struct dnr_ext

Definition at line 356 of file alpha.h.

Class Members
unsigned char d_index
unsigned char d_rfd
struct rfd_ext

Definition at line 363 of file alpha.h.

Class Members
unsigned char rfd
struct opt_ext

Definition at line 369 of file alpha.h.

Class Members
unsigned char o_bits1
unsigned char o_bits2
unsigned char o_bits3
unsigned char o_bits4
unsigned char o_offset

Define Documentation

#define AOUTHDRSZ   56

Definition at line 55 of file mips.h.

#define AOUTSZ   56

Definition at line 54 of file mips.h.

Definition at line 20 of file mips.h.

#define EXT_BITS1_COBOL_MAIN_BIG   0x40

Definition at line 303 of file mips.h.

#define EXT_BITS1_COBOL_MAIN_LITTLE   0x02

Definition at line 304 of file mips.h.

#define EXT_BITS1_JMPTBL_BIG   0x80

Definition at line 300 of file mips.h.

#define EXT_BITS1_JMPTBL_LITTLE   0x01

Definition at line 301 of file mips.h.

#define EXT_BITS1_WEAKEXT_BIG   0x20

Definition at line 306 of file mips.h.

#define EXT_BITS1_WEAKEXT_LITTLE   0x04

Definition at line 307 of file mips.h.

#define FDR_BITS1_FBIGENDIAN_BIG   0x01

Definition at line 195 of file mips.h.

#define FDR_BITS1_FBIGENDIAN_LITTLE   0x80

Definition at line 196 of file mips.h.

#define FDR_BITS1_FMERGE_BIG   0x04

Definition at line 189 of file mips.h.

#define FDR_BITS1_FMERGE_LITTLE   0x20

Definition at line 190 of file mips.h.

#define FDR_BITS1_FREADIN_BIG   0x02

Definition at line 192 of file mips.h.

#define FDR_BITS1_FREADIN_LITTLE   0x40

Definition at line 193 of file mips.h.

#define FDR_BITS1_LANG_BIG   0xF8

Definition at line 184 of file mips.h.

#define FDR_BITS1_LANG_LITTLE   0x1F

Definition at line 186 of file mips.h.

#define FDR_BITS1_LANG_SH_BIG   3

Definition at line 185 of file mips.h.

#define FDR_BITS1_LANG_SH_LITTLE   0

Definition at line 187 of file mips.h.

#define FDR_BITS2_GLEVEL_BIG   0xC0

Definition at line 198 of file mips.h.

#define FDR_BITS2_GLEVEL_LITTLE   0x03

Definition at line 200 of file mips.h.

#define FDR_BITS2_GLEVEL_SH_BIG   6

Definition at line 199 of file mips.h.

Definition at line 201 of file mips.h.

#define L_LNNO_SIZE   4

Definition at line 21 of file mips.h.

#define MIPS_ECOFF_BADMAG (   x)
Value:
(((x).f_magic!=MIPS_MAGIC_1) && \
                           ((x).f_magic!=MIPS_MAGIC_LITTLE) &&\
                           ((x).f_magic!=MIPS_MAGIC_BIG) && \
                           ((x).f_magic!=MIPS_MAGIC_LITTLE2) && \
                           ((x).f_magic!=MIPS_MAGIC_BIG2) && \
                           ((x).f_magic!=MIPS_MAGIC_LITTLE3) && \
                           ((x).f_magic!=MIPS_MAGIC_BIG3))

Definition at line 25 of file mips.h.

Definition at line 115 of file mips.h.

Definition at line 116 of file mips.h.

#define MIPS_R_GPREL   6

Definition at line 105 of file mips.h.

#define MIPS_R_IGNORE   0

Definition at line 99 of file mips.h.

#define MIPS_R_JMPADDR   3

Definition at line 102 of file mips.h.

#define MIPS_R_LITERAL   7

Definition at line 106 of file mips.h.

#define MIPS_R_PCREL16   12

Definition at line 111 of file mips.h.

#define MIPS_R_REFHALF   1

Definition at line 100 of file mips.h.

#define MIPS_R_REFHI   4

Definition at line 103 of file mips.h.

#define MIPS_R_REFLO   5

Definition at line 104 of file mips.h.

#define MIPS_R_REFWORD   2

Definition at line 101 of file mips.h.

Definition at line 117 of file mips.h.

#define OPT_BITS2_VALUE_SH_LEFT_BIG   16

Definition at line 336 of file mips.h.

Definition at line 337 of file mips.h.

Definition at line 339 of file mips.h.

Definition at line 340 of file mips.h.

Definition at line 342 of file mips.h.

Definition at line 343 of file mips.h.

#define RELOC   struct external_reloc

Definition at line 65 of file mips.h.

Definition at line 71 of file mips.h.

Definition at line 72 of file mips.h.

Definition at line 74 of file mips.h.

Definition at line 75 of file mips.h.

Definition at line 77 of file mips.h.

Definition at line 78 of file mips.h.

#define RELOC_BITS3_EXTERN_BIG   0x01

Definition at line 93 of file mips.h.

#define RELOC_BITS3_EXTERN_LITTLE   0x80

Definition at line 94 of file mips.h.

#define RELOC_BITS3_TYPE_BIG   0x3E

Definition at line 86 of file mips.h.

#define RELOC_BITS3_TYPE_LITTLE   0x78

Definition at line 88 of file mips.h.

#define RELOC_BITS3_TYPE_SH_BIG   1

Definition at line 87 of file mips.h.

Definition at line 89 of file mips.h.

#define RELOC_BITS3_TYPEHI_LITTLE   0x04

Definition at line 90 of file mips.h.

Definition at line 91 of file mips.h.

#define RELSZ   8

Definition at line 66 of file mips.h.

#define SYM_BITS1_SC_BIG   0x03

Definition at line 266 of file mips.h.

#define SYM_BITS1_SC_LITTLE   0xC0

Definition at line 268 of file mips.h.

#define SYM_BITS1_SC_SH_LEFT_BIG   3

Definition at line 267 of file mips.h.

#define SYM_BITS1_SC_SH_LITTLE   6

Definition at line 269 of file mips.h.

#define SYM_BITS1_ST_BIG   0xFC

Definition at line 261 of file mips.h.

#define SYM_BITS1_ST_LITTLE   0x3F

Definition at line 263 of file mips.h.

#define SYM_BITS1_ST_SH_BIG   2

Definition at line 262 of file mips.h.

#define SYM_BITS1_ST_SH_LITTLE   0

Definition at line 264 of file mips.h.

#define SYM_BITS2_INDEX_BIG   0x0F

Definition at line 279 of file mips.h.

#define SYM_BITS2_INDEX_LITTLE   0xF0

Definition at line 281 of file mips.h.

#define SYM_BITS2_INDEX_SH_LEFT_BIG   16

Definition at line 280 of file mips.h.

#define SYM_BITS2_INDEX_SH_LITTLE   4

Definition at line 282 of file mips.h.

#define SYM_BITS2_RESERVED_BIG   0x10

Definition at line 276 of file mips.h.

#define SYM_BITS2_RESERVED_LITTLE   0x08

Definition at line 277 of file mips.h.

#define SYM_BITS2_SC_BIG   0xE0

Definition at line 271 of file mips.h.

#define SYM_BITS2_SC_LITTLE   0x07

Definition at line 273 of file mips.h.

#define SYM_BITS2_SC_SH_BIG   5

Definition at line 272 of file mips.h.

Definition at line 274 of file mips.h.

Definition at line 284 of file mips.h.

Definition at line 285 of file mips.h.

Definition at line 287 of file mips.h.

Definition at line 288 of file mips.h.


Typedef Documentation