1 /* VAX-specific definitions for a.out file header fields. */
3 #define PAGE_SIZE 512 /* aka NBPG in <sys/param.h> */
4 #define SEGMENT_SIZE PAGE_SIZE /* rounding between text/data ? */
5 #define TEXT_START_ADDR 0 /* Text start address: see
6 <machine/vmparam.h> USRTEXT. */
7 #define STACK_END_ADDR 0x80000000-(14+14)*PAGE_SIZE /* see
8 <machine/vmparam.h> USRSTACK. */
11 (N_MAGIC(x) != OMAGIC && N_MAGIC(x) != NMAGIC \
12 && N_MAGIC(x) != ZMAGIC)
15 #define N_TXTOFF(x) ( (N_MAGIC((x)) == ZMAGIC) ? 1024 : EXEC_BYTES_SIZE )
16 #define N_DATOFF(x) ( N_TXTOFF(x) + (x).a_text )
17 #define N_TRELOFF(x) ( N_DATOFF(x) + (x).a_data )
18 #define N_DRELOFF(x) ( N_TRELOFF(x) + (x).a_trsize )
19 #define N_SYMOFF(x) ( N_DRELOFF(x) + (x).a_drsize )
20 #define N_STROFF(x) ( N_SYMOFF(x) + (x).a_syms )
This page took 0.028726 seconds and 4 git commands to generate.