/********************************************************************************************************************************/ /* 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 $EGSYDEF ***/ #ifndef __EGSYDEF_LOADED #define __EGSYDEF_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 /* */ /* EVAX GSD entry - Symbol definition */ /* */ /* common to definitions, references, and entry */ /* point definitions. */ /* */ #define EGSY$M_WEAK 0x1 #define EGSY$M_DEF 0x2 #define EGSY$M_UNI 0x4 #define EGSY$M_REL 0x8 #define EGSY$M_COMM 0x10 #define EGSY$M_VECEP 0x20 #define EGSY$M_NORM 0x40 #define EGSY$M_QUAD_VAL 0x80 #ifdef __NEW_STARLET typedef struct _egsydef { __union { unsigned short int egsy$w_gsdtyp; /*Type field */ __struct { char egsydef$$_fill_1; } egsy$r_gsdtyp_fields; } egsy$r_gsdtyp_overlay; unsigned short int egsy$w_size; /*size of this EGSY */ unsigned char egsy$b_datyp; /*Symbol data type */ unsigned char egsy$b_temp; /*pad for alignment */ __union { unsigned short int egsy$w_flags; /*Symbol flags */ __struct { unsigned egsy$v_weak : 1; /*Weak symbol */ unsigned egsy$v_def : 1; /*Definition */ unsigned egsy$v_uni : 1; /*Universal */ unsigned egsy$v_rel : 1; /*Relocatable */ unsigned egsy$v_comm : 1; /*C common globaldef */ unsigned egsy$v_vecep : 1; /*Vectored Entry Point */ unsigned egsy$v_norm : 1; /*Normal Procedure(FD) */ unsigned egsy$v_quad_val : 1; /*Value is quadword */ } egsy$r_flags_bits; } egsy$r_flags_overlay; } EGSYDEF; #if !defined(__VAXC) #define egsy$w_gsdtyp egsy$r_gsdtyp_overlay.egsy$w_gsdtyp #define egsy$w_flags egsy$r_flags_overlay.egsy$w_flags #define egsy$v_weak egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_weak #define egsy$v_def egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_def #define egsy$v_uni egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_uni #define egsy$v_rel egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_rel #define egsy$v_comm egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_comm #define egsy$v_vecep egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_vecep #define egsy$v_norm egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_norm #define egsy$v_quad_val egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_quad_val #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct egsydef { __union { unsigned short int egsy$w_gsdtyp; /*Type field */ __struct { char egsydef$$_fill_1; } egsy$r_gsdtyp_fields; } egsy$r_gsdtyp_overlay; unsigned short int egsy$w_size; /*size of this EGSY */ unsigned char egsy$b_datyp; /*Symbol data type */ unsigned char egsy$b_temp; /*pad for alignment */ __union { unsigned short int egsy$w_flags; /*Symbol flags */ __struct { unsigned egsy$v_weak : 1; /*Weak symbol */ unsigned egsy$v_def : 1; /*Definition */ unsigned egsy$v_uni : 1; /*Universal */ unsigned egsy$v_rel : 1; /*Relocatable */ unsigned egsy$v_comm : 1; /*C common globaldef */ unsigned egsy$v_vecep : 1; /*Vectored Entry Point */ unsigned egsy$v_norm : 1; /*Normal Procedure(FD) */ unsigned egsy$v_quad_val : 1; /*Value is quadword */ } egsy$r_flags_bits; } egsy$r_flags_overlay; } ; #if !defined(__VAXC) #define egsy$w_gsdtyp egsy$r_gsdtyp_overlay.egsy$w_gsdtyp #define egsy$w_flags egsy$r_flags_overlay.egsy$w_flags #define egsy$v_weak egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_weak #define egsy$v_def egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_def #define egsy$v_uni egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_uni #define egsy$v_rel egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_rel #define egsy$v_comm egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_comm #define egsy$v_vecep egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_vecep #define egsy$v_norm egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_norm #define egsy$v_quad_val egsy$r_flags_overlay.egsy$r_flags_bits.egsy$v_quad_val #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 /* __EGSYDEF_LOADED */