Upload Tizen:Base source
[external/binutils.git] / include / vms / eihs.h
1 /* Alpha VMS external format of Extended Image Symbols and debug table.
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_EIHS_H
24 #define _VMS_EIHS_H
25
26 #define EIHS__K_MAJORID 1
27 #define EIHS__K_MINORID 1
28
29 struct vms_eihs
30 {
31   unsigned char majorid[4];
32   unsigned char minorid[4];
33
34   /* Debug symbol table virtual block number (vbn).  */
35   unsigned char dstvbn[4];
36
37   /* Debug symbol table size.  */
38   unsigned char dstsize[4];
39
40   /* Global symbol table vbn.  */
41   unsigned char gstvbn[4];
42
43   /* Global symtol table size.  */
44   unsigned char gstsize[4];
45
46   /* Debug module table vbn.  */
47   unsigned char dmtvbn[4];
48
49   /* Debug module table size.  */
50   unsigned char dmtsize[4];
51 };
52
53 /* Various offsets.  */
54
55 #define EIHS__L_DSTVBN           8
56 #define EIHS__L_DSTSIZE         12
57 #define EIHS__L_GSTVBN          16
58 #define EIHS__L_GSTSIZE         20
59 #define EIHS__L_DMTVBN          24
60 #define EIHS__L_DMTBYTES        28
61
62 #endif /* _VMS_EIHS_H */