struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / sdbinutils / include / vms / eihs.h
blob633926deb3c2a5d805c86cc5ec8937f2bea9de2c
1 /* Alpha VMS external format of Extended Image Symbols and debug table.
3 Copyright (C) 2010-2022 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. */
23 #ifndef _VMS_EIHS_H
24 #define _VMS_EIHS_H
26 #define EIHS__K_MAJORID 1
27 #define EIHS__K_MINORID 1
29 struct vms_eihs
31 unsigned char majorid[4];
32 unsigned char minorid[4];
34 /* Debug symbol table virtual block number (vbn). */
35 unsigned char dstvbn[4];
37 /* Debug symbol table size. */
38 unsigned char dstsize[4];
40 /* Global symbol table vbn. */
41 unsigned char gstvbn[4];
43 /* Global symtol table size. */
44 unsigned char gstsize[4];
46 /* Debug module table vbn. */
47 unsigned char dmtvbn[4];
49 /* Debug module table size. */
50 unsigned char dmtsize[4];
53 /* Various offsets. */
55 #define EIHS__L_DSTVBN 8
56 #define EIHS__L_DSTSIZE 12
57 #define EIHS__L_GSTVBN 16
58 #define EIHS__L_GSTSIZE 20
59 #define EIHS__L_DMTVBN 24
60 #define EIHS__L_DMTBYTES 28
62 #endif /* _VMS_EIHS_H */