aboutsummaryrefslogtreecommitdiff
path: root/include/vms/eihs.h
blob: b5e00fc170e1a82451bbda818bc8ac6fea83c7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* Alpha VMS external format of Extended Image Symbols and debug table.

   Copyright (C) 2010-2017 Free Software Foundation, Inc.
   Written by Tristan Gingold <gingold@adacore.com>, AdaCore.

   This file is part of BFD, the Binary File Descriptor library.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
   MA 02110-1301, USA.  */

#ifndef _VMS_EIHS_H
#define _VMS_EIHS_H

#define EIHS__K_MAJORID 1
#define EIHS__K_MINORID 1

struct vms_eihs
{
  unsigned char majorid[4];
  unsigned char minorid[4];

  /* Debug symbol table virtual block number (vbn).  */
  unsigned char dstvbn[4];

  /* Debug symbol table size.  */
  unsigned char dstsize[4];

  /* Global symbol table vbn.  */
  unsigned char gstvbn[4];

  /* Global symtol table size.  */
  unsigned char gstsize[4];

  /* Debug module table vbn.  */
  unsigned char dmtvbn[4];

  /* Debug module table size.  */
  unsigned char dmtsize[4];
};

/* Various offsets.  */

#define EIHS__L_DSTVBN		 8
#define EIHS__L_DSTSIZE		12
#define EIHS__L_GSTVBN		16
#define EIHS__L_GSTSIZE		20
#define EIHS__L_DMTVBN		24
#define EIHS__L_DMTBYTES	28

#endif /* _VMS_EIHS_H */