Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
ecoff.h File Reference

Go to the source code of this file.

Data Structures

struct  filehdr
 
struct  scnhdr
 
struct  aouthdr
 

Macros

#define FILHSZ   sizeof(FILHDR)
 
#define OMAGIC   0407
 
#define MIPSEBMAGIC   0x160
 
#define MIPSELMAGIC   0x162
 
#define SCNHSZ   sizeof(SCNHDR)
 
#define SCNROUND   ((long)16)
 
#define AOUTHSZ   sizeof(AOUTHDR)
 
#define OMAGIC   0407
 
#define NMAGIC   0410
 
#define ZMAGIC   0413
 
#define SMAGIC   0411
 
#define LIBMAGIC   0443
 
#define N_TXTOFF(f, a)
 
#define N_DATOFF(f, a)   N_TXTOFF(f, a) + (a).tsize;
 

Typedefs

typedef struct filehdr FILHDR
 
typedef struct scnhdr SCNHDR
 
typedef struct aouthdr AOUTHDR
 

Macro Definition Documentation

#define AOUTHSZ   sizeof(AOUTHDR)

Definition at line 48 of file ecoff.h.

#define FILHSZ   sizeof(FILHDR)

Definition at line 13 of file ecoff.h.

#define LIBMAGIC   0443

Definition at line 54 of file ecoff.h.

#define MIPSEBMAGIC   0x160

Definition at line 16 of file ecoff.h.

#define MIPSELMAGIC   0x162

Definition at line 17 of file ecoff.h.

#define N_DATOFF (   f,
  a 
)    N_TXTOFF(f, a) + (a).tsize;

Definition at line 61 of file ecoff.h.

#define N_TXTOFF (   f,
  a 
)
Value:
((a).magic == ZMAGIC || (a).magic == LIBMAGIC ? 0 : \
((a).vstamp < 23 ? \
((FILHSZ + AOUTHSZ + (f).f_nscns * SCNHSZ + 7) & 0xfffffff8) : \
((FILHSZ + AOUTHSZ + (f).f_nscns * SCNHSZ + SCNROUND-1) & ~(SCNROUND-1)) ) )

Definition at line 56 of file ecoff.h.

#define NMAGIC   0410

Definition at line 51 of file ecoff.h.

#define OMAGIC   0407

Definition at line 50 of file ecoff.h.

#define OMAGIC   0407

Definition at line 50 of file ecoff.h.

#define SCNHSZ   sizeof(SCNHDR)

Definition at line 31 of file ecoff.h.

#define SCNROUND   ((long)16)

Definition at line 32 of file ecoff.h.

#define SMAGIC   0411

Definition at line 53 of file ecoff.h.

#define ZMAGIC   0413

Definition at line 52 of file ecoff.h.

Typedef Documentation

typedef struct scnhdr SCNHDR