xref: /netbsd-src/external/gpl3/binutils/dist/include/vms/shl.h (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
145548106Schristos /* Alpha VMS external format of Shareable image List.
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_SHL_H
2445548106Schristos #define _VMS_SHL_H
2545548106Schristos 
2645548106Schristos struct vms_shl
2745548106Schristos {
2845548106Schristos   /* Base address of this shareable image.  */
2945548106Schristos   unsigned char baseva[4];
3045548106Schristos 
3145548106Schristos   /* Point in SHL shareable image to SHL in executable image.  */
3245548106Schristos   unsigned char shlptr[4];
3345548106Schristos 
3445548106Schristos   /* GSMATCH.  */
3545548106Schristos   unsigned char ident[4];
3645548106Schristos 
3745548106Schristos   /* Permanent shareable image context.  */
3845548106Schristos   unsigned char permctx[4];
3945548106Schristos 
4045548106Schristos   /* Size of this structure.  */
4145548106Schristos   unsigned char size;
4245548106Schristos 
4345548106Schristos   unsigned char fill_1[2];
4445548106Schristos 
4545548106Schristos   /* Flags.  */
4645548106Schristos   unsigned char flags;
4745548106Schristos 
4845548106Schristos   /* Address of the image control block (in memory).  */
4945548106Schristos   unsigned char icb[4];
5045548106Schristos 
5145548106Schristos   /* Image name.  ASCIC.  */
5245548106Schristos   unsigned char imgnam[40];
5345548106Schristos };
5445548106Schristos 
5545548106Schristos #endif /* _VMS_SHL_H */
56