/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:32 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:34 _$11$DUA933:[BUILD.SDL]OBJFMT.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $LNKDEF ***/ #ifndef __LNKDEF_LOADED #define __LNKDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /* */ /* Linker Options Record (LNK) */ /* */ #define LNK$C_OLB 0 /* object library spec */ #define LNK$C_SHR 1 /* shareable image library spec */ #define LNK$C_OLI 2 /* object library with inclusion list */ #define LNK$C_OBJ 3 /* object file or symbol table file */ #define LNK$C_SHA 4 /* individually specified shr img */ #define LNK$C_MAXRECTYP 4 /* highest current record type */ #define LNK$M_SELSER 0x1 #define LNK$M_LIBSRCH 0x2 struct lnkdef { unsigned char lnk$b_rectyp; /* record type LNK */ unsigned char lnk$b_lnktyp; /* sub record type */ __union { unsigned short int lnk$w_flags; __struct { unsigned lnk$v_selser : 1; /* selectively searched (LNK$C_OBJ) */ unsigned lnk$v_libsrch : 1; unsigned lnk$v_fill_14 : 6; } lnk$r_flags_bits; } lnk$r_flags_overlay; __union { unsigned short int lnk$w_namlng; /* length of filespec name */ __struct { char lnkdef$$_fill_1 [2]; #if defined(__VAXC) || defined(VAXC) char lnk$t_name[]; #else /* Warning: empty char[] member for lnk$t_name at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } lnk$r_namlng_fields; } lnk$r_namlng_overlay; } ; #if !defined(__VAXC) && !defined(VAXC) #define lnk$w_flags lnk$r_flags_overlay.lnk$w_flags #define lnk$v_selser lnk$r_flags_overlay.lnk$r_flags_bits.lnk$v_selser #define lnk$v_libsrch lnk$r_flags_overlay.lnk$r_flags_bits.lnk$v_libsrch #define lnk$w_namlng lnk$r_namlng_overlay.lnk$w_namlng #define lnk$t_name lnk$r_namlng_overlay.lnk$r_namlng_fields.lnk$t_name #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __LNKDEF_LOADED */