struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / sdbinutils / include / vms / eiaf.h
blobc038bb80f17b068e8ab3c350e2a8e8a20182ec11
1 /* Alpha VMS external format of Extended Image Activator Fixup section.
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_EIAF_H
24 #define _VMS_EIAF_H
26 struct vms_eiaf
28 /* Version. */
29 unsigned char majorid[4];
30 unsigned char minorid[4];
32 /* Link for image activator use. */
33 unsigned char iaflink[8];
35 /* Link for sharable image fixups. */
36 unsigned char fixuplnk[8];
38 /* Size of EIAF fixed part. */
39 unsigned char size[4];
41 /* Flags. */
42 unsigned char flags[4];
44 /* Offsets to quadword and longword relocation fixup data. */
45 unsigned char qrelfixoff[4];
46 unsigned char lrelfixoff[4];
48 /* Offsets to quardword and longword .address fixup data. */
49 unsigned char qdotadroff[4];
50 unsigned char ldotadroff[4];
52 /* Offset to code address fixup data. */
53 unsigned char codeadroff[4];
55 /* Offset to linkage part fixup data. */
56 unsigned char lpfixoff[4];
58 /* Offset to isect change protection data. */
59 unsigned char chgprtoff[4];
61 /* Offset to shareable image list. */
62 unsigned char shlstoff[4];
64 /* Number of shareable images. */
65 unsigned char shrimgcnt[4];
67 /* Number of extra shareable images allowed. */
68 unsigned char shlextra[4];
70 /* Permanent shareable image context. */
71 unsigned char permctx[4];
73 /* Base address of the image itself. */
74 unsigned char base_va[4];
76 /* Offset to linkage pair with procedure signature fixups. */
77 unsigned char lppsbfixoff[4];
80 #endif /* _VMS_EIAF_H */