1 /* Alpha VMS external format of Extended Module Header.
3 Copyright 2010 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. */
26 #define EMH__C_MHD 0 /* Main header record. */
27 #define EMH__C_LNM 1 /* Language name and version. */
28 #define EMH__C_SRC 2 /* Source file specification. */
29 #define EMH__C_TTL 3 /* Title text of module. */
30 #define EMH__C_CPR 4 /* Copyright notice. */
31 #define EMH__C_MTC 5 /* Maintenance status. */
32 #define EMH__C_GTX 6 /* General text. */
33 #define EMH__C_MAXHDRTYP 6 /* Maximum allowable type. */
38 unsigned char rectyp
[2];
41 unsigned char size
[2];
44 unsigned char subtyp
[2];
49 struct vms_emh_common common
;
55 unsigned char arch1
[4];
56 unsigned char arch2
[4];
58 unsigned char recsiz
[4];
60 /* Module name: ASCIC. */
61 /* Module version: ASCIC. */
62 /* Compile data: ASCIC. */
65 #define EOBJ__C_MAXRECSIZ 8192 /* Maximum legal record size. */
66 #define EOBJ__C_STRLVL 2 /* Structure level. */
67 #define EOBJ__C_SYMSIZ 64 /* Maximum symbol length. */
68 #define EOBJ__C_SECSIZ 31 /* Maximum section name length. */
69 #define EOBJ__C_STOREPLIM -1 /* Maximum repeat count on store commands. */
70 #define EOBJ__C_PSCALILIM 16 /* Maximum p-sect alignment. */
74 struct vms_emh_common common
;
76 /* Language processor name: ASCII. */
79 #endif /* _VMS_EMH_H */