File:  [Research Unix] / researchv9 / jerq / sgs / ld / ldmacros.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:22:00 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

/* @(#) ldmacros.h: 1.2 3/14/83 */
#define MAXKEEPSIZE	1024

extern char	stat_name[];
#if FLEXNAMES
#define	PTRNAME(x)	((x)->n_zeroes == 0L) \
				? (x)->n_nptr \
				: strncpy( stat_name, (x)->n_name, 8 )
#define SYMNAME(x)	(x.n_zeroes == 0L) \
				? x.n_nptr \
				: strncpy( stat_name, x.n_name, 8 )
#else
#define PTRNAME(x)	strncpy( stat_name, (x)->n_name, 8 )
#define SYMNAME(x)	strncpy( stat_name, x.n_name, 8 )
#endif

#if NOSDP
#define PUTSYM(x,y)
#define PUTAUX(x,y)
#else
#define PUTSYM(x,y)	putsym(x,y)
#define PUTAUX(x,y)	putaux(x,y)
#endif

#define OKSCNNAME(x)	((tvflag && (!rflag || aflag)) || strncmp( x, _TV, 8 ))

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.