1*16744Ssam /* exec.h 1.1 84/07/21 */ 2*16744Ssam 3*16744Ssam /* 4*16744Ssam * Header prepended to each a.out file. 5*16744Ssam */ 6*16744Ssam struct exec { 7*16744Ssam long a_magic; /* magic number */ 8*16744Ssam unsigned long a_text; /* size of text segment */ 9*16744Ssam unsigned long a_data; /* size of initialized data */ 10*16744Ssam unsigned long a_bss; /* size of uninitialized data */ 11*16744Ssam unsigned long a_syms; /* size of symbol table */ 12*16744Ssam unsigned long a_entry; /* entry point */ 13*16744Ssam unsigned long a_trsize; /* size of text relocation */ 14*16744Ssam unsigned long a_drsize; /* size of data relocation */ 15*16744Ssam }; 16*16744Ssam 17*16744Ssam #define OMAGIC 0407 /* old impure format */ 18*16744Ssam #define NMAGIC 0410 /* read-only text */ 19*16744Ssam #define ZMAGIC 0413 /* demand load format */ 20