ChangeLog rotatation and copyright year update
[deliverable/binutils-gdb.git] / include / vms / eisd.h
index b4e47e2c1cffcaa054d7283ae85e40792414059d..91a3df4a7bbcfe46f8eb68c7576c7ccc1b9d8578 100644 (file)
@@ -1,6 +1,6 @@
 /* Alpha VMS external format of Extended Image Section Descriptor.
 
-   Copyright 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010-2015 Free Software Foundation, Inc.
    Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
 
    This file is part of BFD, the Binary File Descriptor library.
 #define EISD__M_FIXUPVEC       0x0040  /* Isect is fixup section.  */
 #define EISD__M_RESIDENT       0x0080  /* Isect is memory resident.  */
 #define EISD__M_VECTOR         0x0100  /* Vector contained in isect.  */
-#define EISD__M_PROTECT                0x0200  /* Isect is proected.  */
+#define EISD__M_PROTECT                0x0200  /* Isect is protected.  */
 #define EISD__M_LASTCLU                0x0400  /* Last cluster.  */
 #define EISD__M_EXE            0x0800  /* Code isect.  */
 #define EISD__M_NONSHRADR      0x1000  /* Contains non-shareable data.  */
 #define EISD__M_QUAD_LENGTH    0x2000  /* Quad length field valid.  */
 #define EISD__M_ALLOC_64BIT    0x4000  /* Allocate 64-bit space.  */
 
+#define EISD__K_LEN 36
+#define EISD__K_LENEND 12      /* For end marker or next block.  */
+#define EISD__K_MAXLENGLBL 84
+
+#define EISD__K_GBLNAMLEN 44   /* Size of the field.  */
+
 struct vms_eisd
 {
   unsigned char majorid[4];
@@ -70,17 +76,34 @@ struct vms_eisd
   unsigned char type;
 
   unsigned char fill_1;
-};
 
-struct vms_eisd_ext
-{
+  /* End of structure for normal records.  */
+
   /* Ident for global section.  */
   unsigned char ident[4];
-
+      
   /* Global name ascic.  First 8 bytes are quad length field.  */
-  unsigned char gblnam[44];
+  unsigned char gblnam[EISD__K_GBLNAMLEN];
 };
 
+/* Versions.  */
+#define EISD__K_MAJORID 1
+#define EISD__K_MINORID 1
+
+/* Match control.  */
+#define EISD__K_MATALL 0       /* Match always.  */
+#define EISD__K_MATEQU 1       /* Match if equal.  */
+#define EISD__K_MATLEQ 2       /* Match if less or equal.  */
+#define EISD__K_MATNEV 3       /* Match never.  */
+
+/* Section type.  */
+#define EISD__K_NORMAL 0       /* Normal program image section.  */
+#define EISD__K_SHRFXD 1       /* Shareable fixed section.  */
+#define EISD__K_PRVFXD 2       /* Private fixed section.  */
+#define EISD__K_SHRPIC 3       /* Shareable pic section.  */
+#define EISD__K_PRVPIC 4       /* Private PIC section.  */
+#define EISD__K_USRSTACK 253   /* User stack section.  */
+
 /* EISD offsets.  */
 
 #define EISD__L_EISDSIZE        8
This page took 0.027303 seconds and 4 git commands to generate.