Lines Matching defs:exec

12 struct exec  struct
14 unsigned long a_info; /* Use macros N_MAGIC, etc for access */
15 unsigned a_text; /* size of text, in bytes */
16 unsigned a_data; /* size of data, in bytes */
17 unsigned a_bss; /* size of uninitialized data area, in bytes */
18 unsigned a_syms; /* length of symbol table data, in bytes */
19 unsigned a_entry; /* start address */
20 unsigned a_trsize; /* size of reloc info for text, in bytes */
21 unsigned a_drsize; /* size of reloc info for data, in bytes */
24 struct gdtbl
29 } a_gdtbl;
30 unsigned a_shdata; /* size of initialized shared data */
31 unsigned a_shbss; /* size of uninitialized shared data */
32 unsigned a_shdrsize; /* size of shared data relocation */
33 unsigned a_bootstrap[11]; /* bootstrap for standalone */
34 unsigned a_reserved[3]; /* reserved for future use */
35 unsigned a_version; /* object version */
71 #define N_MAGIC(exec) ((exec).a_info) argument
72 #define N_MACHTYPE(exec) 0 argument
73 #define N_FLAGS(exec) 0 argument
74 #define N_SET_INFO(exec, magic, type, flags) N_SET_MAGIC ((exec), (magic)) argument
75 #define N_SET_MAGIC(exec, magic) ((exec).a_info = (magic)) argument
76 #define N_SET_MACHTYPE(exec, machtype) ((void) 0) argument
77 #define N_SET_FLAGS(exec, flags) ((void) 0) argument
97 #define N_MAGIC(exec) ((exec).a_info & 0xffff) argument
99 #define N_MACHTYPE(exec) ((enum machine_type)(((exec).a_info >> 16) & 0xff)) argument
100 #define N_FLAGS(exec) (((exec).a_info >> 24) & 0xff) argument
101 #define N_SET_INFO(exec, magic, type, flags) \ argument
105 #define N_SET_MAGIC(exec, magic) \ argument
108 #define N_SET_MACHTYPE(exec, machtype) \ argument
112 #define N_SET_FLAGS(exec, flags) \ argument