* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / include / vms / eihi.h
blob97d3d895883e7f7d44783c2923f45b97f290b283
1 /* Alpha VMS external format of Extended Image Identification.
3 Copyright 2010 Free Software Foundation, Inc.
4 Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
6 This file is part of BFD, the Binary File Descriptor library.
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.
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.
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. */
23 #ifndef _VMS_EIHI_H
24 #define _VMS_EIHI_H
26 #define EIHI__K_MAJORID 1
27 #define EIHI__K_MINORID 2
29 struct vms_eihi
31 unsigned char majorid[4];
32 unsigned char minorid[4];
34 /* Time when this image was linked. */
35 unsigned char linktime[8];
37 /* Image name. */
38 unsigned char imgnam[40];
40 /* Image ident. */
41 unsigned char imgid[16];
43 /* Linker ident. */
44 unsigned char linkid[16];
46 /* Image build ident. */
47 unsigned char imgbid[16];
50 #endif /* _VMS_EIHI_H */