/********************************************************************************************************************************/ /* 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 $GSYDEF ***/ #ifndef __GSYDEF_LOADED #define __GSYDEF_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 /* */ /* GSD entry - Symbol definition */ /* */ /* common to definitions, references, and entry */ /* point definitions. */ /* */ #define GSY$M_WEAK 0x1 #define GSY$M_DEF 0x2 #define GSY$M_UNI 0x4 #define GSY$M_REL 0x8 #define GSY$M_COMM 0x10 #ifdef __NEW_STARLET typedef struct _gsydef { __union { unsigned char gsy$b_gsdtyp; /*Type field */ __struct { char gsydef$$_fill_1; } gsy$r_gsdtyp_fields; } gsy$r_gsdtyp_overlay; unsigned char gsy$b_datyp; /*Symbol data type */ __union { unsigned short int gsy$w_flags; /*Symbol flags */ __struct { unsigned gsy$v_weak : 1; /*Weak symbol */ unsigned gsy$v_def : 1; /*Definition */ unsigned gsy$v_uni : 1; /*Universal */ unsigned gsy$v_rel : 1; /*Relocatable */ unsigned gsy$v_comm : 1; /*C common globaldef */ unsigned gsy$v_fill_17_ : 3; } gsy$r_flags_bits; } gsy$r_flags_overlay; } GSYDEF; #if !defined(__VAXC) #define gsy$b_gsdtyp gsy$r_gsdtyp_overlay.gsy$b_gsdtyp #define gsy$w_flags gsy$r_flags_overlay.gsy$w_flags #define gsy$v_weak gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_weak #define gsy$v_def gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_def #define gsy$v_uni gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_uni #define gsy$v_rel gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_rel #define gsy$v_comm gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_comm #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct gsydef { __union { unsigned char gsy$b_gsdtyp; /*Type field */ __struct { char gsydef$$_fill_1; } gsy$r_gsdtyp_fields; } gsy$r_gsdtyp_overlay; unsigned char gsy$b_datyp; /*Symbol data type */ __union { unsigned short int gsy$w_flags; /*Symbol flags */ __struct { unsigned gsy$v_weak : 1; /*Weak symbol */ unsigned gsy$v_def : 1; /*Definition */ unsigned gsy$v_uni : 1; /*Universal */ unsigned gsy$v_rel : 1; /*Relocatable */ unsigned gsy$v_comm : 1; /*C common globaldef */ unsigned gsy$v_fill_17_ : 3; } gsy$r_flags_bits; } gsy$r_flags_overlay; } ; #if !defined(__VAXC) #define gsy$b_gsdtyp gsy$r_gsdtyp_overlay.gsy$b_gsdtyp #define gsy$w_flags gsy$r_flags_overlay.gsy$w_flags #define gsy$v_weak gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_weak #define gsy$v_def gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_def #define gsy$v_uni gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_uni #define gsy$v_rel gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_rel #define gsy$v_comm gsy$r_flags_overlay.gsy$r_flags_bits.gsy$v_comm #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 /* __GSYDEF_LOADED */