Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / sdbinutils / include / vms / esgps.h
blob5764a4f37553a12bc7015a024794f2cdfb63e786
1 /* Alpha VMS external format of Extended Shared Program Section Definition.
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_ESGPS_H
24 #define _VMS_ESGPS_H
26 struct vms_esgps
28 /* Entry type. */
29 unsigned char gsdtyp[2];
31 /* Length of the entry. */
32 unsigned char gsdsiz[2];
34 /* Psect alignment. */
35 unsigned char align;
37 /* Pad for alignment. */
38 unsigned char temp;
40 unsigned char flags[2];
42 /* Length of this contribution. */
43 unsigned char alloc[4];
45 /* Image offset of the psect. */
46 unsigned char base[4];
48 /* Symbol vector offset. */
49 unsigned char value[8];
51 /* Name. */
52 unsigned char namlng;
53 unsigned char name[31];
56 /* These are the same as EGPS flags. */
58 #define ESGPS__V_PIC (1 << 0) /* Not meaningful. */
59 #define ESGPS__V_LIB (1 << 1) /* Defined in a shareable image. */
60 #define ESGPS__V_OVR (1 << 2) /* Overlaid contribution. */
61 #define ESGPS__V_REL (1 << 3) /* Relocatable. */
62 #define ESGPS__V_GBL (1 << 4) /* Global. */
63 #define ESGPS__V_SHR (1 << 5) /* Shareable. */
64 #define ESGPS__V_EXE (1 << 6) /* Executable. */
65 #define ESGPS__V_RD (1 << 7) /* Readable. */
66 #define ESGPS__V_WRT (1 << 8) /* Writable. */
67 #define ESGPS__V_VEC (1 << 9) /* Change mode dispatch or message vectors. */
68 #define ESGPS__V_NOMOD (1 << 10) /* Demand-zero. */
69 #define ESGPS__V_COM (1 << 11) /* Conditional storage. */
70 #define ESGPS__V_ALLOC_64BIT (1 << 12) /* Allocated in 64-bit space. */
72 #endif /* _VMS_ESGPS_H */