source: trunk/libs/newlib/src/include/vms/egsy.h @ 509

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

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

File size: 1.7 KB
RevLine 
[444]1/* Alpha VMS external format of Extended Global Symbol.
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_EGSY_H
24#define _VMS_EGSY_H
25
26#define EGSY__W_FLAGS  6
27
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.  */
36
37struct vms_egsy
38{
39  /* Entry type.  */
40  unsigned char gsdtyp[2];
41
42  /* Length of the entry.  */
43  unsigned char gsdsiz[2];
44
45  /* Data type.  */
46  unsigned char datyp;
47
48  /* Pad for alignment.  */
49  unsigned char temp;
50
51  unsigned char flags[2];
52};
53
54#endif /* _VMS_EGSY_H */
Note: See TracBrowser for help on using the repository browser.