/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:03 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]OBJFMT.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $EOMDEF ***/ #ifndef __EOMDEF_LOADED #define __EOMDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* End of module record (EOM) */ /* */ #define EOM$C_SUCCESS 0 /*Successful (no errors) */ #define EOM$C_WARNING 1 /*Warnings issued */ #define EOM$C_ERROR 2 /*Errors detected */ #define EOM$C_ABORT 3 /*Abort the link */ #define EOM$K_EOMMIN 2 /*Min length of EOM record */ #define EOM$C_EOMMIN 2 /*Min length of EOM record */ #define EOM$K_EOMMX1 7 /*Length of EOM record w/o transfer flags */ #define EOM$C_EOMMX1 7 /*Length of EOM record w/o transfer flags */ #define EOM$K_EOMMAX 8 /*Maximum length of EOM record */ #define EOM$C_EOMMAX 8 /*Maximum length of EOM record */ #define EOM$M_WKTFR 0x1 #ifdef __NEW_STARLET typedef struct _eomdef { unsigned char eom$b_rectyp; /*Record type (OBJ$C_EOM) */ unsigned char eom$b_comcod; /*Compiler completion code */ /*Values */ unsigned char eom$b_psindx; /*P-sect of transfer address */ unsigned int eom$l_tfradr; /*Transfer address */ __union { unsigned char eom$b_tfrflg; /*Transfer address flags */ __struct { unsigned eom$v_wktfr : 1; /*Transfer address is weak */ unsigned eom$v_fill_12_ : 7; } eom$r_tfrflg_bits; } eom$r_tfrflg_overlay; } EOMDEF; #if !defined(__VAXC) #define eom$b_tfrflg eom$r_tfrflg_overlay.eom$b_tfrflg #define eom$v_wktfr eom$r_tfrflg_overlay.eom$r_tfrflg_bits.eom$v_wktfr #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct eomdef { unsigned char eom$b_rectyp; /*Record type (OBJ$C_EOM) */ unsigned char eom$b_comcod; /*Compiler completion code */ /*Values */ unsigned char eom$b_psindx; /*P-sect of transfer address */ unsigned int eom$l_tfradr; /*Transfer address */ __union { unsigned char eom$b_tfrflg; /*Transfer address flags */ __struct { unsigned eom$v_wktfr : 1; /*Transfer address is weak */ unsigned eom$v_fill_12_ : 7; } eom$r_tfrflg_bits; } eom$r_tfrflg_overlay; } ; #if !defined(__VAXC) #define eom$b_tfrflg eom$r_tfrflg_overlay.eom$b_tfrflg #define eom$v_wktfr eom$r_tfrflg_overlay.eom$r_tfrflg_bits.eom$v_wktfr #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __EOMDEF_LOADED */