source: trunk/libs/newlib/src/include/vms/egps.h @ 498

Last change on this file since 498 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 2.1 KB
RevLine 
[444]1/* Alpha VMS external format of Extended Program Section Definition.
2
3   Copyright 2010 Free Software Foundation, Inc.
4   Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
5
6   This file is part of BFD, the Binary File Descriptor library.
7
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.
12
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.
17
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.  */
22
23#ifndef _VMS_EGPS_H
24#define _VMS_EGPS_H
25
26struct vms_egps
27{
28  /* Entry type.  */
29  unsigned char gsdtyp[2];
30
31  /* Length of the entry.  */
32  unsigned char gsdsiz[2];
33
34  /* Psect alignment.  */
35  unsigned char align;
36
37  /* Pad for alignment.  */
38  unsigned char temp;
39
40  unsigned char flags[2];
41
42  /* Length of this contribution.  */
43  unsigned char alloc[4];
44
45  /* Name.  */
46  unsigned char namlng;
47  unsigned char name[31];
48};
49
50#define EGPS__V_PIC (1 << 0)    /* Not meaningful.  */
51#define EGPS__V_LIB (1 << 1)    /* Defined in a shareable image.  */
52#define EGPS__V_OVR (1 << 2)    /* Overlaid contribution.  */
53#define EGPS__V_REL (1 << 3)    /* Relocatable.  */
54#define EGPS__V_GBL (1 << 4)    /* Global.  */
55#define EGPS__V_SHR (1 << 5)    /* Shareable.  */
56#define EGPS__V_EXE (1 << 6)    /* Executable.  */
57#define EGPS__V_RD  (1 << 7)    /* Readable.  */
58#define EGPS__V_WRT (1 << 8)    /* Writable.  */
59#define EGPS__V_VEC (1 << 9)    /* Change mode dispatch or message vectors.  */
60#define EGPS__V_NOMOD (1 << 10) /* Demand-zero.  */
61#define EGPS__V_COM (1 << 11)   /* Conditional storage.  */
62#define EGPS__V_ALLOC_64BIT (1 << 12)   /* Allocated in 64-bit space.  */
63
64#endif /* _VMS_EGPS_H */
Note: See TracBrowser for help on using the repository browser.