Back to index

cell-binutils  2.17cvs20070401
Classes | Defines
dynix3.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dynix_external_exec

Defines

#define external_exec   dynix_external_exec
#define EXEC_BYTES_SIZE   (128)
#define OMAGIC   0x12eb /* .o */
#define ZMAGIC   0x22eb /* zero @ 0, demand load */
#define XMAGIC   0x32eb /* invalid @ 0, demand load */
#define SMAGIC   0x42eb /* standalone, not supported here */
#define N_BADMAG(x)
#define N_ADDRADJ(x)   ((ZMAGIC == N_MAGIC(x) || XMAGIC == N_MAGIC(x)) ? 0x1000 : 0)
#define N_TXTOFF(x)   (EXEC_BYTES_SIZE)
#define N_DATOFF(x)   (N_TXTOFF(x) + N_TXTSIZE(x))
#define N_SHDATOFF(x)   (N_DATOFF(x) + (x).a_data)
#define N_TRELOFF(x)   (N_SHDATOFF(x) + (x).a_shdata)
#define N_DRELOFF(x)   (N_TRELOFF(x) + (x).a_trsize)
#define N_SHDRELOFF(x)   (N_DRELOFF(x) + (x).a_drsize)
#define N_SYMOFF(x)   (N_SHDRELOFF(x) + (x).a_shdrsize)
#define N_STROFF(x)   (N_SYMOFF(x) + (x).a_syms)
#define N_TXTADDR(x)
#define N_TXTSIZE(x)

Class Documentation

struct dynix_external_exec

Definition at line 29 of file dynix3.h.

Class Members
unsigned char e_bootstrap
unsigned char e_bss
unsigned char e_data
unsigned char e_drsize
unsigned char e_entry
unsigned char e_g_code
unsigned char e_g_data
unsigned char e_g_desc
unsigned char e_info
unsigned char e_reserved
unsigned char e_shbss
unsigned char e_shdata
unsigned char e_shdrsize
unsigned char e_syms
unsigned char e_text
unsigned char e_trsize
unsigned char e_version

Define Documentation

#define EXEC_BYTES_SIZE   (128)

Definition at line 50 of file dynix3.h.

Definition at line 22 of file dynix3.h.

#define N_ADDRADJ (   x)    ((ZMAGIC == N_MAGIC(x) || XMAGIC == N_MAGIC(x)) ? 0x1000 : 0)

Definition at line 67 of file dynix3.h.

#define N_BADMAG (   x)
Value:
((OMAGIC != N_MAGIC(x)) && \
                   (ZMAGIC != N_MAGIC(x)) && \
                   (XMAGIC != N_MAGIC(x)) && \
                   (SMAGIC != N_MAGIC(x)))

Definition at line 62 of file dynix3.h.

#define N_DATOFF (   x)    (N_TXTOFF(x) + N_TXTSIZE(x))

Definition at line 70 of file dynix3.h.

#define N_DRELOFF (   x)    (N_TRELOFF(x) + (x).a_trsize)

Definition at line 73 of file dynix3.h.

#define N_SHDATOFF (   x)    (N_DATOFF(x) + (x).a_data)

Definition at line 71 of file dynix3.h.

#define N_SHDRELOFF (   x)    (N_DRELOFF(x) + (x).a_drsize)

Definition at line 74 of file dynix3.h.

#define N_STROFF (   x)    (N_SYMOFF(x) + (x).a_syms)

Definition at line 76 of file dynix3.h.

#define N_SYMOFF (   x)    (N_SHDRELOFF(x) + (x).a_shdrsize)

Definition at line 75 of file dynix3.h.

#define N_TRELOFF (   x)    (N_SHDATOFF(x) + (x).a_shdata)

Definition at line 72 of file dynix3.h.

#define N_TXTADDR (   x)
Value:

Definition at line 78 of file dynix3.h.

#define N_TXTOFF (   x)    (EXEC_BYTES_SIZE)

Definition at line 69 of file dynix3.h.

#define N_TXTSIZE (   x)
Value:
(((OMAGIC == N_MAGIC(x)) || (SMAGIC == N_MAGIC(x))) ? ((x).a_text) \
        : ((x).a_text - N_ADDRADJ(x) - EXEC_BYTES_SIZE))

Definition at line 82 of file dynix3.h.

#define OMAGIC   0x12eb /* .o */

Definition at line 57 of file dynix3.h.

#define SMAGIC   0x42eb /* standalone, not supported here */

Definition at line 60 of file dynix3.h.

#define XMAGIC   0x32eb /* invalid @ 0, demand load */

Definition at line 59 of file dynix3.h.

#define ZMAGIC   0x22eb /* zero @ 0, demand load */

Definition at line 58 of file dynix3.h.