Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-03-31 11:35:54 +0400
committerTristan Gingold <gingold@adacore.com>2010-03-31 11:35:54 +0400
commit2aec20905ec3c76c94feb45af5c2f6c329fbf5e4 (patch)
tree8b1afec239c2925ca805cc737fbd5de1c81450c8 /include/vms/eihd.h
parentaed3b6cda25c77c2b790298935b562ec9d8efabb (diff)
2010-03-31 Tristan Gingold <gingold@adacore.com>
* dcx.h: New file. * dsc.h: New file. * esdfm.h: New file. * esdfv.h: New file. * internal.h: New file. * lbr.h: New file. * prt.h: New file. * shl.h (struct vms_shl): Add comments. * esrf.h (ESRF__B_NAMLNG): New macro. * esdf.h (ESDF__B_NAMLNG): New macro. * emh.h: Add macros for fields maximum value. * eisd.h (EISD__M_PROTECT): Fix typo in comment. Add macros for offsets, version, section type and match control. Merge vms_eisd_ext into vms_eisd. * eihvn.h (EIHVN__MULTI_PROCESSING_BIT, EIHVN__GALAXY_BIT): Added. * eihs.h: Remove blank line. * eihd.h (struct vms_eihd): Add comments, add image subtype names. * eiha.h (struct vms_eiha): Add inishr and inishr_h fields. * eiaf.h (struct vms_eiaf): Fix base_va size. * egsy.h: Add comments. * egsd.h: Remove blank line. * egps.h: Add flag names. * eeom.h (EEOM__M_WKTFR): Added. * dst.h (DST__K_CXX): Added, and reident languages. (DST__K_SRC_INCRLNUM_B): Added. Indent and order pcline commands. Add record begin/end, enumerations, type specification, value specification, label, discontinue range definitions.
Diffstat (limited to 'include/vms/eihd.h')
-rw-r--r--include/vms/eihd.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/vms/eihd.h b/include/vms/eihd.h
index 771727e95..fdb3a6ec7 100644
--- a/include/vms/eihd.h
+++ b/include/vms/eihd.h
@@ -36,7 +36,7 @@ struct vms_eihd
/* Byte offset to ISD (Image Section Descriptors) list. */
unsigned char isdoff[4];
- /* Byte offset to activation data. */
+ /* Byte offset to activation data (off=16). */
unsigned char activoff[4];
/* Byte offset to symbol table and debugging data. */
@@ -48,13 +48,13 @@ struct vms_eihd
/* Byte offset to patch data. */
unsigned char patchoff[4];
- /* RVA of fixup info. */
+ /* RVA of fixup info (off=32). */
unsigned char iafva[8];
/* RVA of symbol vector. */
unsigned char symvva[8];
- /* Byte offset to version number array. */
+ /* Byte offset to version number array (off=48). */
unsigned char version_array_off[4];
/* Image type. */
@@ -66,7 +66,7 @@ struct vms_eihd
/* Size in bytes of image I/O section requested. */
unsigned char imgiocnt[4];
- /* Nbr of channels requested. */
+ /* Nbr of channels requested (off=64). */
unsigned char iochancnt[4];
/* Requested privilege mask. */
@@ -113,6 +113,10 @@ struct vms_eihd
#define EIHD__K_EXE 1 /* Executable image */
#define EIHD__K_LIM 2 /* Linkable image. */
+/* Image subtype. */
+#define EIHD__C_NATIVE 0 /* Alpha native image. */
+#define EIHD__C_CLI 1 /* Image is a CLI, run LOGINOUT. */
+
/* Linker image flags. */
#define EIHD__M_LNKDEBUG 0x0001 /* Full debugging requested. */
#define EIHD__M_LNKNOTFR 0x0002 /* No first transfer address. */
@@ -129,7 +133,6 @@ struct vms_eihd
#define EIHD__M_OMV_READY 0x1000 /* Can be processed by OMV. */
#define EIHD__M_EXT_BIND_SECT 0x2000 /* May be moved, using ext fixups. */
-
/* Offsets of some fields. */
#define EIHD__L_SIZE 8
#define EIHD__L_ISDOFF 12
@@ -137,4 +140,6 @@ struct vms_eihd
#define EIHD__Q_SYMVVA 40
#define EIHD__L_IMGTYPE 52
+#define EIHD__C_LENGTH 104
+
#endif /* _VMS_EIHD_H */