Go to the source code of this file.
Classes | |
struct | bout_exec |
struct | nlist |
struct | relocation_info |
Macros | |
#define | BOUT_BMAGIC 0415 |
#define | BOUT_OMAGIC 0407 /* old impure format */ |
#define | BOUT_NMAGIC 0410 /* read-only text */ |
#define | BOUT_ZMAGIC 0413 /* demand load format */ |
#define | N_MAGIC(x) ((x).a_magic) |
#define | N_BADMAG(x) (((x).a_magic)!=BOUT_BMAGIC) |
#define | N_TXTOFF(x) ( sizeof(struct exec) ) |
#define | N_DATOFF(x) ( N_TXTOFF(x) + (x).a_text ) |
#define | N_TROFF(x) ( N_DATOFF(x) + (x).a_data ) |
#define | N_DROFF(x) ( N_TROFF(x) + (x).a_trsize ) |
#define | N_SYMOFF(x) ( N_DROFF(x) + (x).a_drsize ) |
#define | N_STROFF(x) ( N_SYMOFF(x) + (x).a_syms ) |
#define | N_CCINFO ( 0x17 ) |
#define | N_HAS_CCINFO(x) (((x).a_ccinfo)==N_CCINFO) |
#define | N_UNDF 0 /* Undefined symbol */ |
#define | N_ABS 2 /* Absolute symbol */ |
#define | N_TEXT 4 /* Text symbol */ |
#define | N_DATA 6 /* Data symbol */ |
#define | N_BSS 8 /* BSS symbol */ |
#define | N_FN 31 /* Filename symbol */ |
#define | N_EXT 1 /* External symbol (OR'd in with one of above) */ |
#define | N_TYPE 036 /* Mask for all the type bits */ |
#define | N_STAB 0340 /* Mask for all bits used for SDB entries */ |
#define | N_ORDINARY ((unsigned) 0) |
#define | N_BALNAME ((unsigned) 0xfe) |
#define | N_CALLNAME ((unsigned) 0xff) |
#define | MASK(V) |
#define | GET_UBITS(V) ((unsigned) (V & MASK( V ))) |
#define | IS_ORDINARY(x) (GET_UBITS(x) == N_ORDINARY) |
#define | IS_CALLNAME(x) (GET_UBITS(x) == N_CALLNAME) |
#define | IS_BALNAME(x) (GET_UBITS(x) == N_BALNAME) |
#define | IS_SYSPROCIDX(x) |
#define BOUT_BMAGIC 0415 |
Definition at line 71 of file exec_bout.h.
#define BOUT_NMAGIC 0410 /* read-only text */ |
Definition at line 76 of file exec_bout.h.
#define BOUT_OMAGIC 0407 /* old impure format */ |
Definition at line 75 of file exec_bout.h.
#define BOUT_ZMAGIC 0413 /* demand load format */ |
Definition at line 77 of file exec_bout.h.
#define GET_UBITS | ( | V | ) | ((unsigned) (V & MASK( V ))) |
Definition at line 199 of file exec_bout.h.
Definition at line 203 of file exec_bout.h.
#define IS_CALLNAME | ( | x | ) | (GET_UBITS(x) == N_CALLNAME) |
Definition at line 202 of file exec_bout.h.
#define IS_ORDINARY | ( | x | ) | (GET_UBITS(x) == N_ORDINARY) |
Definition at line 201 of file exec_bout.h.
#define IS_SYSPROCIDX | ( | x | ) |
Definition at line 204 of file exec_bout.h.
#define MASK | ( | V | ) |
Definition at line 194 of file exec_bout.h.
#define N_ABS 2 /* Absolute symbol */ |
Definition at line 148 of file exec_bout.h.
#define N_BADMAG | ( | x | ) | (((x).a_magic)!=BOUT_BMAGIC) |
Definition at line 120 of file exec_bout.h.
#define N_BALNAME ((unsigned) 0xfe) |
Definition at line 191 of file exec_bout.h.
#define N_BSS 8 /* BSS symbol */ |
Definition at line 151 of file exec_bout.h.
#define N_CALLNAME ((unsigned) 0xff) |
Definition at line 192 of file exec_bout.h.
#define N_CCINFO ( 0x17 ) |
Definition at line 127 of file exec_bout.h.
#define N_DATA 6 /* Data symbol */ |
Definition at line 150 of file exec_bout.h.
#define N_DATOFF | ( | x | ) | ( N_TXTOFF(x) + (x).a_text ) |
Definition at line 122 of file exec_bout.h.
#define N_DROFF | ( | x | ) | ( N_TROFF(x) + (x).a_trsize ) |
Definition at line 124 of file exec_bout.h.
#define N_EXT 1 /* External symbol (OR'd in with one of above) */ |
Definition at line 154 of file exec_bout.h.
#define N_FN 31 /* Filename symbol */ |
Definition at line 152 of file exec_bout.h.
#define N_HAS_CCINFO | ( | x | ) | (((x).a_ccinfo)==N_CCINFO) |
Definition at line 128 of file exec_bout.h.
#define N_MAGIC | ( | x | ) | ((x).a_magic) |
Definition at line 119 of file exec_bout.h.
#define N_ORDINARY ((unsigned) 0) |
Definition at line 189 of file exec_bout.h.
#define N_STAB 0340 /* Mask for all bits used for SDB entries */ |
Definition at line 156 of file exec_bout.h.
#define N_STROFF | ( | x | ) | ( N_SYMOFF(x) + (x).a_syms ) |
Definition at line 126 of file exec_bout.h.
#define N_SYMOFF | ( | x | ) | ( N_DROFF(x) + (x).a_drsize ) |
Definition at line 125 of file exec_bout.h.
#define N_TEXT 4 /* Text symbol */ |
Definition at line 149 of file exec_bout.h.
#define N_TROFF | ( | x | ) | ( N_DATOFF(x) + (x).a_data ) |
Definition at line 123 of file exec_bout.h.
#define N_TXTOFF | ( | x | ) | ( sizeof(struct exec) ) |
Definition at line 121 of file exec_bout.h.
#define N_TYPE 036 /* Mask for all the type bits */ |
Definition at line 155 of file exec_bout.h.
#define N_UNDF 0 /* Undefined symbol */ |
Definition at line 147 of file exec_bout.h.