1/* 2 * BK Id: SCCS/s.a.out.h 1.5 05/17/01 18:14:24 cort 3 */ 4#ifndef __PPC_A_OUT_H__ 5#define __PPC_A_OUT_H__ 6 7/* grabbed from the intel stuff */ 8#define STACK_TOP TASK_SIZE 9 10 11struct exec 12{ 13 unsigned long a_info; /* Use macros N_MAGIC, etc for access */ 14 unsigned a_text; /* length of text, in bytes */ 15 unsigned a_data; /* length of data, in bytes */ 16 unsigned a_bss; /* length of uninitialized data area for file, in bytes */ 17 unsigned a_syms; /* length of symbol table data in file, in bytes */ 18 unsigned a_entry; /* start address */ 19 unsigned a_trsize; /* length of relocation info for text, in bytes */ 20 unsigned a_drsize; /* length of relocation info for data, in bytes */ 21}; 22 23 24#define N_TRSIZE(a) ((a).a_trsize) 25#define N_DRSIZE(a) ((a).a_drsize) 26#define N_SYMSIZE(a) ((a).a_syms) 27 28 29#endif 30