1272343Sngie/* Alpha VMS external format of Extended End Of Module. 2272343Sngie 3272343Sngie Copyright (C) 2010-2020 Free Software Foundation, Inc. 4272343Sngie Written by Tristan Gingold <gingold@adacore.com>, AdaCore. 5272343Sngie 6272343Sngie This file is part of BFD, the Binary File Descriptor library. 7272343Sngie 8272343Sngie This program is free software; you can redistribute it and/or modify 9272343Sngie it under the terms of the GNU General Public License as published by 10272343Sngie the Free Software Foundation; either version 3 of the License, or 11272343Sngie (at your option) any later version. 12272343Sngie 13272343Sngie This program is distributed in the hope that it will be useful, 14272343Sngie but WITHOUT ANY WARRANTY; without even the implied warranty of 15272343Sngie MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16272343Sngie GNU General Public License for more details. 17272343Sngie 18272343Sngie You should have received a copy of the GNU General Public License 19272343Sngie along with this program; if not, write to the Free Software 20272343Sngie Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 21272343Sngie MA 02110-1301, USA. */ 22272343Sngie 23272343Sngie#ifndef _VMS_EEOM_H 24272343Sngie#define _VMS_EEOM_H 25272343Sngie 26272343Sngie/* Completion flags. */ 27272343Sngie#define EEOM__C_SUCCESS 0 28272343Sngie#define EEOM__C_WARNING 1 29272343Sngie#define EEOM__C_ERROR 2 30272343Sngie#define EEOM__C_ABORT 3 31272343Sngie 32272343Sngiestruct vms_eeom 33272343Sngie{ 34272343Sngie /* Record type. */ 35272343Sngie unsigned char rectyp[2]; 36272343Sngie 37272343Sngie /* Record size. */ 38272343Sngie unsigned char size[2]; 39272343Sngie 40272343Sngie /* Number of conditional linkage pairs. */ 41272343Sngie unsigned char total_lps[4]; 42272343Sngie 43272343Sngie /* Completion code. */ 44272343Sngie unsigned char comcod[2]; 45272343Sngie 46272343Sngie 47272343Sngie /* Transfer address flags. */ 48272343Sngie unsigned char tfrflg; 49272343Sngie 50272343Sngie /* Pad for alignment. */ 51272343Sngie unsigned char temp; 52272343Sngie 53272343Sngie /* Psect of transfer address. */ 54272343Sngie unsigned char psindx[4]; 55272343Sngie 56272343Sngie /* Transfer address. */ 57272343Sngie unsigned char tfradr[8]; 58272343Sngie}; 59272343Sngie 60272343Sngie#define EEOM__M_WKTFR (1 << 0) /* Transfer address is weak. */ 61272343Sngie 62272343Sngie#endif /* _VMS_EEOM_H */ 63272343Sngie