Fix building Loongarch BFD with a 32-bit compiler
[binutils-gdb.git] / include / vms / eidc.h
blob4615433c0d8984ec345a48584c773e711896fced
1 /* Alpha VMS external format of Ident Consistency check.
3 Copyright (C) 2010-2024 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_EIDC_H
24 #define _VMS_EIDC_H
26 struct vms_eidc
28 /* Record type. */
29 unsigned char rectyp[2];
31 /* Record size. */
32 unsigned char recsiz[2];
34 unsigned char flags[4];
36 /* Entity name (ASCIC). */
37 /* Object name (ASCIC). */
38 /* Ident string (ASCIC or binary BINIDENT set). */
39 unsigned char name[1];
42 /* Fields of flags. */
43 #define EIDC__V_BINIDENT (1 << 0) /* Ident is a longword. */
44 #define EIDC__V_IDMATCH_SH 1 /* Ident match control. */
45 #define EIDC__V_IDMATCH_MASK 3
46 #define EIDC__V_ERRSEV_SH 3 /* Error severity. */
47 #define EIDC__V_ERRSEV_MASK 7
49 #endif /* _VMS_EIDC_H */