eeom.h revision 1.7
1177633Sdfr/* Alpha VMS external format of Extended End Of Module.
2177633Sdfr
3177633Sdfr   Copyright (C) 2010-2017 Free Software Foundation, Inc.
4177633Sdfr   Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
5177633Sdfr
6177633Sdfr   This file is part of BFD, the Binary File Descriptor library.
7177633Sdfr
8177633Sdfr   This program is free software; you can redistribute it and/or modify
9177633Sdfr   it under the terms of the GNU General Public License as published by
10177633Sdfr   the Free Software Foundation; either version 3 of the License, or
11177633Sdfr   (at your option) any later version.
12177633Sdfr
13177633Sdfr   This program is distributed in the hope that it will be useful,
14177633Sdfr   but WITHOUT ANY WARRANTY; without even the implied warranty of
15177633Sdfr   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16177633Sdfr   GNU General Public License for more details.
17177633Sdfr
18177633Sdfr   You should have received a copy of the GNU General Public License
19177633Sdfr   along with this program; if not, write to the Free Software
20177633Sdfr   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21177633Sdfr   MA 02110-1301, USA.  */
22177633Sdfr
23177633Sdfr#ifndef _VMS_EEOM_H
24177633Sdfr#define _VMS_EEOM_H
25177633Sdfr
26177633Sdfr/* Completion flags.  */
27177633Sdfr#define EEOM__C_SUCCESS 0
28177633Sdfr#define EEOM__C_WARNING 1
29177633Sdfr#define EEOM__C_ERROR   2
30177633Sdfr#define EEOM__C_ABORT   3
31177633Sdfr
32177633Sdfrstruct vms_eeom
33184588Sdfr{
34180025Sdfr  /* Record type.  */
35177633Sdfr  unsigned char rectyp[2];
36177633Sdfr
37177633Sdfr  /* Record size.  */
38177633Sdfr  unsigned char size[2];
39177633Sdfr
40177633Sdfr  /* Number of conditional linkage pairs.  */
41177633Sdfr  unsigned char total_lps[4];
42177633Sdfr
43177633Sdfr  /* Completion code.  */
44177633Sdfr  unsigned char comcod[2];
45177633Sdfr
46177633Sdfr
47177685Sdfr  /* Transfer address flags.  */
48177633Sdfr  unsigned char tfrflg;
49180025Sdfr
50184588Sdfr  /* Pad for alignment.  */
51177633Sdfr  unsigned char temp;
52177633Sdfr
53177633Sdfr  /* Psect of transfer address.  */
54177633Sdfr  unsigned char psindx[4];
55184588Sdfr
56177633Sdfr  /* Transfer address.  */
57177633Sdfr  unsigned char tfradr[8];
58177633Sdfr};
59177633Sdfr
60177633Sdfr#define EEOM__M_WKTFR (1 << 0)	/* Transfer address is weak.  */
61177633Sdfr
62177633Sdfr#endif /* _VMS_EEOM_H */
63184588Sdfr