/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:05 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE ELFDATYP IDENT X-4 ***/ #ifndef __ELFDATYP_LOADED #define __ELFDATYP_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 #ifdef __NEW_STARLET #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ typedef void *ELF64_ADDR; #else typedef unsigned __int64 ELF64_ADDR; #endif #else /* __OLD_STARLET */ typedef unsigned __int64 elf64_addr; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef unsigned __int64 ELF64_OFF; #else /* __OLD_STARLET */ typedef unsigned int elf64_off [2]; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef unsigned short int ELF64_HALF; #else /* __OLD_STARLET */ typedef unsigned short int elf64_half; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef unsigned int ELF64_WORD; #else /* __OLD_STARLET */ typedef unsigned int elf64_word; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef int ELF64_SWORD; #else /* __OLD_STARLET */ typedef int elf64_sword; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef unsigned __int64 ELF64_XWORD; #else /* __OLD_STARLET */ typedef unsigned int elf64_xword [2]; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef __int64 ELF64_SXWORD; #else /* __OLD_STARLET */ typedef int elf64_sxword [2]; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef unsigned int ELF64_SECTION; #else /* __OLD_STARLET */ typedef unsigned int elf64_section; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef unsigned int ELF64_SYMNDX; #else /* __OLD_STARLET */ typedef unsigned int elf64_symndx; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _subsys_majmin { unsigned short int ver$w_minor_id; unsigned short int ver$w_major_id; } SUBSYS_MAJMIN; #else /* __OLD_STARLET */ typedef struct _subsys_majmin { unsigned short int ver$w_minor_id; unsigned short int ver$w_major_id; } subsys_majmin; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _sysver_majmin { unsigned ver$v_minor_id : 24; unsigned ver$v_major_id : 8; } SYSVER_MAJMIN; #else /* __OLD_STARLET */ typedef struct _sysver_majmin { unsigned ver$v_minor_id : 24; unsigned ver$v_major_id : 8; } sysver_majmin; #endif /* #ifdef __NEW_STARLET */ #define LNKG_DESC1$M_TYPE 0x1 #define LNKG_DESC1$M_NOTUSED0 0x2 #define LNKG_DESC1$M_GP 0x4 #define LNKG_DESC1$M_NOTUSED1 0x8 #define LNKG_DESC1$M_R2 0x30 #define LNKG_DESC1$M_R3 0xC0 #define LNKG_DESC1$M_R4 0x300 #define LNKG_DESC1$M_R5 0xC00 #define LNKG_DESC1$M_R6 0x3000 #define LNKG_DESC1$M_R7 0xC000 #define LNKG_DESC1$M_R8 0x30000 #define LNKG_DESC1$M_R9 0xC0000 #define LNKG_DESC1$M_R10 0x300000 #define LNKG_DESC1$M_R11 0xC00000 #define LNKG_DESC1$M_R12 0x3000000 #define LNKG_DESC1$M_R13 0xC000000 #define LNKG_DESC1$M_R14 0x30000000 #define LNKG_DESC1$M_R15 0xC0000000 #define LNKG_DESC1$M_R16 0x300000000 #define LNKG_DESC1$M_R17 0xC00000000 #define LNKG_DESC1$M_R18 0x3000000000 #define LNKG_DESC1$M_R19 0xC000000000 #define LNKG_DESC1$M_R20 0x30000000000 #define LNKG_DESC1$M_R21 0xC0000000000 #define LNKG_DESC1$M_R22 0x300000000000 #define LNKG_DESC1$M_R23 0xC00000000000 #define LNKG_DESC1$M_R24 0x3000000000000 #define LNKG_DESC1$M_AI 0x4000000000000 #define LNKG_DESC1$M_NOTUSED25 0x8000000000000 #define LNKG_DESC1$M_R26 0x30000000000000 #define LNKG_DESC1$M_R27 0xC0000000000000 #define LNKG_DESC1$M_R28 0x300000000000000 #define LNKG_DESC1$M_R29 0xC00000000000000 #define LNKG_DESC1$M_R30 0x3000000000000000 #define LNKG_DESC1$M_R31 0xC000000000000000 #define LNKG_DESC1$K_SIZE 8 #define LNKG_DESC1$C_SIZE 8 #ifdef __NEW_STARLET #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __longword #else #pragma __nomember_alignment #endif typedef struct _vms_lnkg_desc1 { #pragma __nomember_alignment unsigned lnkg_desc1$v_type : 1; unsigned lnkg_desc1$v_notused0 : 1; unsigned lnkg_desc1$v_gp : 1; unsigned lnkg_desc1$v_notused1 : 1; unsigned lnkg_desc1$v_r2 : 2; unsigned lnkg_desc1$v_r3 : 2; unsigned lnkg_desc1$v_r4 : 2; unsigned lnkg_desc1$v_r5 : 2; unsigned lnkg_desc1$v_r6 : 2; unsigned lnkg_desc1$v_r7 : 2; unsigned lnkg_desc1$v_r8 : 2; unsigned lnkg_desc1$v_r9 : 2; unsigned lnkg_desc1$v_r10 : 2; unsigned lnkg_desc1$v_r11 : 2; unsigned lnkg_desc1$v_r12 : 2; unsigned lnkg_desc1$v_r13 : 2; unsigned lnkg_desc1$v_r14 : 2; unsigned lnkg_desc1$v_r15 : 2; unsigned lnkg_desc1$v_r16 : 2; unsigned lnkg_desc1$v_r17 : 2; unsigned lnkg_desc1$v_r18 : 2; unsigned lnkg_desc1$v_r19 : 2; unsigned lnkg_desc1$v_r20 : 2; unsigned lnkg_desc1$v_r21 : 2; unsigned lnkg_desc1$v_r22 : 2; unsigned lnkg_desc1$v_r23 : 2; unsigned lnkg_desc1$v_r24 : 2; unsigned lnkg_desc1$v_ai : 1; unsigned lnkg_desc1$v_notused25 : 1; unsigned lnkg_desc1$v_r26 : 2; unsigned lnkg_desc1$v_r27 : 2; unsigned lnkg_desc1$v_r28 : 2; unsigned lnkg_desc1$v_r29 : 2; unsigned lnkg_desc1$v_r30 : 2; unsigned lnkg_desc1$v_r31 : 2; } VMS_LNKG_DESC1; #else /* __OLD_STARLET */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __longword #else #pragma __nomember_alignment #endif typedef struct _vms_lnkg_desc1 { #pragma __nomember_alignment unsigned lnkg_desc1$v_type : 1; unsigned lnkg_desc1$v_notused0 : 1; unsigned lnkg_desc1$v_gp : 1; unsigned lnkg_desc1$v_notused1 : 1; unsigned lnkg_desc1$v_r2 : 2; unsigned lnkg_desc1$v_r3 : 2; unsigned lnkg_desc1$v_r4 : 2; unsigned lnkg_desc1$v_r5 : 2; unsigned lnkg_desc1$v_r6 : 2; unsigned lnkg_desc1$v_r7 : 2; unsigned lnkg_desc1$v_r8 : 2; unsigned lnkg_desc1$v_r9 : 2; unsigned lnkg_desc1$v_r10 : 2; unsigned lnkg_desc1$v_r11 : 2; unsigned lnkg_desc1$v_r12 : 2; unsigned lnkg_desc1$v_r13 : 2; unsigned lnkg_desc1$v_r14 : 2; unsigned lnkg_desc1$v_r15 : 2; unsigned lnkg_desc1$v_r16 : 2; unsigned lnkg_desc1$v_r17 : 2; unsigned lnkg_desc1$v_r18 : 2; unsigned lnkg_desc1$v_r19 : 2; unsigned lnkg_desc1$v_r20 : 2; unsigned lnkg_desc1$v_r21 : 2; unsigned lnkg_desc1$v_r22 : 2; unsigned lnkg_desc1$v_r23 : 2; unsigned lnkg_desc1$v_r24 : 2; unsigned lnkg_desc1$v_ai : 1; unsigned lnkg_desc1$v_notused25 : 1; unsigned lnkg_desc1$v_r26 : 2; unsigned lnkg_desc1$v_r27 : 2; unsigned lnkg_desc1$v_r28 : 2; unsigned lnkg_desc1$v_r29 : 2; unsigned lnkg_desc1$v_r30 : 2; unsigned lnkg_desc1$v_r31 : 2; } vms_lnkg_desc1; #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 /* __ELFDATYP_LOADED */