xref: /netbsd-src/external/gpl3/binutils/dist/include/vms/dmt.h (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
145548106Schristos /* Alpha VMS external format of Debug Module Table.
245548106Schristos 
3*cb63e24eSchristos    Copyright (C) 2010-2024 Free Software Foundation, Inc.
445548106Schristos    Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
545548106Schristos 
645548106Schristos    This file is part of BFD, the Binary File Descriptor library.
745548106Schristos 
845548106Schristos    This program is free software; you can redistribute it and/or modify
945548106Schristos    it under the terms of the GNU General Public License as published by
1045548106Schristos    the Free Software Foundation; either version 3 of the License, or
1145548106Schristos    (at your option) any later version.
1245548106Schristos 
1345548106Schristos    This program is distributed in the hope that it will be useful,
1445548106Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
1545548106Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1645548106Schristos    GNU General Public License for more details.
1745548106Schristos 
1845548106Schristos    You should have received a copy of the GNU General Public License
1945548106Schristos    along with this program; if not, write to the Free Software
2045548106Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
2145548106Schristos    MA 02110-1301, USA.  */
2245548106Schristos 
2345548106Schristos #ifndef _VMS_DMT_H
2445548106Schristos #define _VMS_DMT_H
2545548106Schristos 
2645548106Schristos struct vms_dmt_header
2745548106Schristos {
2845548106Schristos   /* Offset in the DST of the module.  */
2945548106Schristos   unsigned char modbeg[4];
3045548106Schristos 
3145548106Schristos   /* Size of the DST chunk for this module.  */
3245548106Schristos   unsigned char size[4];
3345548106Schristos 
3445548106Schristos   /* Number of psect for this module.  */
3545548106Schristos   unsigned char psect_count[2];
3645548106Schristos 
3745548106Schristos   unsigned char mbz[2];
3845548106Schristos };
3945548106Schristos 
4045548106Schristos struct vms_dmt_psect
4145548106Schristos {
4245548106Schristos   /* Address of the psect.  */
4345548106Schristos   unsigned char start[4];
4445548106Schristos 
4545548106Schristos   /* Length of the psect.  */
4645548106Schristos   unsigned char length[4];
4745548106Schristos };
4845548106Schristos #endif /* _VMS_DMT_H */
49