Searched refs:N_MAGIC (Results 1 – 15 of 15) sorted by relevance
63 #define N_BADMAG(x) ((OMAGIC != N_MAGIC(x)) && \64 (ZMAGIC != N_MAGIC(x)) && \65 (XMAGIC != N_MAGIC(x)) && \66 (SMAGIC != N_MAGIC(x)))68 #define N_ADDRADJ(x) ((ZMAGIC == N_MAGIC(x) || XMAGIC == N_MAGIC(x)) ? 0x1000 : 0)80 (((OMAGIC == N_MAGIC(x)) || (SMAGIC == N_MAGIC(x))) ? 0 \84 (((OMAGIC == N_MAGIC(x)) || (SMAGIC == N_MAGIC(x))) ? ((x)->a_text) \
53 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \54 && N_MAGIC(x) != NMAGIC \55 && N_MAGIC(x) != ZMAGIC)68 # define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \69 && N_MAGIC(x) != NMAGIC \70 && N_MAGIC(x) != ZMAGIC \71 && N_MAGIC(x) != QMAGIC)78 #define N_IS_QMAGIC(x) (N_MAGIC (x) == QMAGIC)159 : (N_MAGIC (x) != ZMAGIC \179 (N_MAGIC(x) == ZMAGIC ? ZMAGIC_DISK_BLOCK_SIZE : TARGET_PAGE_SIZE)[all …]
91 ((N_MAGIC (x) == OMAGIC || N_MAGIC (x) == HPUX_DOT_O_MAGIC) \99 #define _N_BADMAG(x) (N_MAGIC(x) != HPUX_DOT_O_MAGIC \100 && N_MAGIC(x) != OMAGIC \101 && N_MAGIC(x) != NMAGIC \102 && N_MAGIC(x) != ZMAGIC )
55 #undef N_MAGIC63 #define N_MAGIC(execp) ((execp)->a_magic) macro
55 (N_MAGIC(x)==OMAGIC? 0 \56 : (N_MAGIC(x) == ZMAGIC && (x)->a_entry < TEXT_START_ADDR)? 0 \
129 #define N_MAGIC(execp) ((execp)->a_info & 0xffff) macro161 #define N_TXTADDR(x) (N_MAGIC(x)==OMAGIC? 0 : TEXT_START_ADDR)165 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \166 && N_MAGIC(x) != NMAGIC \167 && N_MAGIC(x) != ZMAGIC)182 #define N_TXTOFF(x) (N_MAGIC(x) == ZMAGIC ? \214 (N_MAGIC(x)==OMAGIC? (N_TXTADDR(x)+(x)->a_text) \
41 (N_MAGIC(x) == OMAGIC ? \43 (N_MAGIC(x) == NMAGIC? TEXT_START_ADDR: \
72 : (N_MAGIC(x) == ZMAGIC \77 (N_MAGIC(x) != ZMAGIC \105 #define N_MAGIC(x) ((x)->a_info & ~07200) macro532 else if (N_MAGIC (execp) == ZMAGIC) in riscix_some_aout_object_p()537 else if (N_MAGIC (execp) == NMAGIC) in riscix_some_aout_object_p()542 else if (N_MAGIC (execp) == OMAGIC) in riscix_some_aout_object_p()
30 #define N_TXTADDR(x) (N_MAGIC (x) == ZMAGIC ? 0x1020 : 0)
32 ((N_MAGIC (x) == NMAGIC) \34 : ((N_MAGIC (x) != ZMAGIC) \49 #define N_MAGIC(x) ((x)->a_info & ~07200) macro
296 #ifndef N_MAGIC297 # define N_MAGIC(execp) ((execp)->a_info & 0xffff) macro
26 (N_MAGIC(x) != ZMAGIC ? (x)->a_entry : /* object file or NMAGIC */\
64 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \65 && N_MAGIC(x) != NMAGIC \66 && N_MAGIC(x) != ZMAGIC)491 if (N_MAGIC (execp) == ZMAGIC) in NAME()496 else if (N_MAGIC (execp) == NMAGIC) in NAME()501 else if (N_MAGIC (execp) == OMAGIC) in NAME()
494 if (N_MAGIC (execp) == ZMAGIC) in NAME()499 else if (N_MAGIC (execp) == QMAGIC) in NAME()505 else if (N_MAGIC (execp) == NMAGIC) in NAME()510 else if (N_MAGIC (execp) == OMAGIC in NAME()511 || N_MAGIC (execp) == BMAGIC) in NAME()
4487 * netbsd.h (N_MAGIC, N_SET_MAGIC, N_GETMAGIC, N_GETMAGIC2, N_TXTADDR,