Go to the documentation of this file. 1 #ifndef __ALPHA_A_OUT_H__
2 #define __ALPHA_A_OUT_H__
4 #include <linux/types.h>
64 #define a_info ah.info
65 #define a_text ah.tsize
66 #define a_data ah.dsize
67 #define a_bss ah.bsize
68 #define a_entry ah.entry
69 #define a_textstart ah.text_start
70 #define a_datastart ah.data_start
71 #define a_bssstart ah.bss_start
72 #define a_gprmask ah.gprmask
73 #define a_fprmask ah.fprmask
74 #define a_gpvalue ah.gpvalue
76 #define N_TXTADDR(x) ((x).a_textstart)
77 #define N_DATADDR(x) ((x).a_datastart)
78 #define N_BSSADDR(x) ((x).a_bssstart)
81 #define N_SYMSIZE(x) 0
83 #define AOUTHSZ sizeof(struct aouthdr)
84 #define SCNHSZ sizeof(struct scnhdr)
88 ((long) N_MAGIC(x) == ZMAGIC ? 0 : \
89 (sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1))
97 #define SET_AOUT_PERSONALITY(BFPM, EX) \
98 set_personality (((BFPM->taso || EX.ah.entry < 0x100000000L \
99 ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))