struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / sdbinutils / include / vms / egsy.h
blobfbc81153f40bd1bf5837d5ed11fbb76096f77652
1 /* Alpha VMS external format of Extended Global Symbol.
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_EGSY_H
24 #define _VMS_EGSY_H
26 #define EGSY__W_FLAGS 6
28 #define EGSY__V_WEAK 0x0001 /* Weak symbol definition. */
29 #define EGSY__V_DEF 0x0002 /* Symbol definition. */
30 #define EGSY__V_UNI 0x0004 /* Reserved. */
31 #define EGSY__V_REL 0x0008 /* Relocatable (vs absolute). */
32 #define EGSY__V_COMM 0x0010 /* Conditional symbol def. */
33 #define EGSY__V_VECEP 0x0020 /* Reserved. */
34 #define EGSY__V_NORM 0x0040 /* Normal procedure definition. */
35 #define EGSY__V_QUAD_VAL 0x0080 /* Value exceed 32 bits. */
37 struct vms_egsy
39 /* Entry type. */
40 unsigned char gsdtyp[2];
42 /* Length of the entry. */
43 unsigned char gsdsiz[2];
45 /* Data type. */
46 unsigned char datyp;
48 /* Pad for alignment. */
49 unsigned char temp;
51 unsigned char flags[2];
54 #endif /* _VMS_EGSY_H */