Subversion Repositories Kolibri OS

Rev

Rev 5191 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5191 Rev 6324
1
/* Alpha VMS external format of Extended Image Symbols and debug table.
1
/* Alpha VMS external format of Extended Image Symbols and debug table.
2
 
2
 
3
   Copyright 2010 Free Software Foundation, Inc.
3
   Copyright (C) 2010-2015 Free Software Foundation, Inc.
4
   Written by Tristan Gingold , AdaCore.
4
   Written by Tristan Gingold , AdaCore.
5
 
5
 
6
   This file is part of BFD, the Binary File Descriptor library.
6
   This file is part of BFD, the Binary File Descriptor library.
7
 
7
 
8
   This program is free software; you can redistribute it and/or modify
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
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
10
   the Free Software Foundation; either version 3 of the License, or
11
   (at your option) any later version.
11
   (at your option) any later version.
12
 
12
 
13
   This program is distributed in the hope that it will be useful,
13
   This program is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
16
   GNU General Public License for more details.
17
 
17
 
18
   You should have received a copy of the GNU General Public License
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
19
   along with this program; if not, write to the Free Software
20
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21
   MA 02110-1301, USA.  */
21
   MA 02110-1301, USA.  */
22
 
22
 
23
#ifndef _VMS_EIHS_H
23
#ifndef _VMS_EIHS_H
24
#define _VMS_EIHS_H
24
#define _VMS_EIHS_H
25
 
25
 
26
#define EIHS__K_MAJORID 1
26
#define EIHS__K_MAJORID 1
27
#define EIHS__K_MINORID 1
27
#define EIHS__K_MINORID 1
28
 
28
 
29
struct vms_eihs
29
struct vms_eihs
30
{
30
{
31
  unsigned char majorid[4];
31
  unsigned char majorid[4];
32
  unsigned char minorid[4];
32
  unsigned char minorid[4];
33
 
33
 
34
  /* Debug symbol table virtual block number (vbn).  */
34
  /* Debug symbol table virtual block number (vbn).  */
35
  unsigned char dstvbn[4];
35
  unsigned char dstvbn[4];
36
 
36
 
37
  /* Debug symbol table size.  */
37
  /* Debug symbol table size.  */
38
  unsigned char dstsize[4];
38
  unsigned char dstsize[4];
39
 
39
 
40
  /* Global symbol table vbn.  */
40
  /* Global symbol table vbn.  */
41
  unsigned char gstvbn[4];
41
  unsigned char gstvbn[4];
42
 
42
 
43
  /* Global symtol table size.  */
43
  /* Global symtol table size.  */
44
  unsigned char gstsize[4];
44
  unsigned char gstsize[4];
45
 
45
 
46
  /* Debug module table vbn.  */
46
  /* Debug module table vbn.  */
47
  unsigned char dmtvbn[4];
47
  unsigned char dmtvbn[4];
48
 
48
 
49
  /* Debug module table size.  */
49
  /* Debug module table size.  */
50
  unsigned char dmtsize[4];
50
  unsigned char dmtsize[4];
51
};
51
};
52
 
52
 
53
/* Various offsets.  */
53
/* Various offsets.  */
54
 
54
 
55
#define EIHS__L_DSTVBN		 8
55
#define EIHS__L_DSTVBN		 8
56
#define EIHS__L_DSTSIZE		12
56
#define EIHS__L_DSTSIZE		12
57
#define EIHS__L_GSTVBN		16
57
#define EIHS__L_GSTVBN		16
58
#define EIHS__L_GSTSIZE		20
58
#define EIHS__L_GSTSIZE		20
59
#define EIHS__L_DMTVBN		24
59
#define EIHS__L_DMTVBN		24
60
#define EIHS__L_DMTBYTES	28
60
#define EIHS__L_DMTBYTES	28
61
 
61
 
62
#endif /* _VMS_EIHS_H */
62
#endif /* _VMS_EIHS_H */