1 /* Alpha VMS external format of Extended Program Section Definition.
3 Copyright (C) 2010-2019 Free Software Foundation, Inc.
4 Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
6 This file is part of BFD, the Binary File Descriptor library.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
29 unsigned char gsdtyp[2];
31 /* Length of the entry. */
32 unsigned char gsdsiz[2];
34 /* Psect alignment. */
37 /* Pad for alignment. */
40 unsigned char flags[2];
42 /* Length of this contribution. */
43 unsigned char alloc[4];
47 unsigned char name[31];
50 #define EGPS__V_PIC (1 << 0) /* Not meaningful. */
51 #define EGPS__V_LIB (1 << 1) /* Defined in a shareable image. */
52 #define EGPS__V_OVR (1 << 2) /* Overlaid contribution. */
53 #define EGPS__V_REL (1 << 3) /* Relocatable. */
54 #define EGPS__V_GBL (1 << 4) /* Global. */
55 #define EGPS__V_SHR (1 << 5) /* Shareable. */
56 #define EGPS__V_EXE (1 << 6) /* Executable. */
57 #define EGPS__V_RD (1 << 7) /* Readable. */
58 #define EGPS__V_WRT (1 << 8) /* Writable. */
59 #define EGPS__V_VEC (1 << 9) /* Change mode dispatch or message vectors. */
60 #define EGPS__V_NOMOD (1 << 10) /* Demand-zero. */
61 #define EGPS__V_COM (1 << 11) /* Conditional storage. */
62 #define EGPS__V_ALLOC_64BIT (1 << 12) /* Allocated in 64-bit space. */
64 #endif /* _VMS_EGPS_H */