|
Packit |
bbfece |
/* Alpha VMS internal format.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
Copyright (C) 2010-2018 Free Software Foundation, Inc.
|
|
Packit |
bbfece |
Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
This file is part of BFD, the Binary File Descriptor library.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
This program is free software; you can redistribute it and/or modify
|
|
Packit |
bbfece |
it under the terms of the GNU General Public License as published by
|
|
Packit |
bbfece |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit |
bbfece |
(at your option) any later version.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
This program is distributed in the hope that it will be useful,
|
|
Packit |
bbfece |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
bbfece |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
bbfece |
GNU General Public License for more details.
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
You should have received a copy of the GNU General Public License
|
|
Packit |
bbfece |
along with this program; if not, write to the Free Software
|
|
Packit |
bbfece |
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
|
Packit |
bbfece |
MA 02110-1301, USA. */
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
#ifndef _VMS_INTERNAL_H
|
|
Packit |
bbfece |
#define _VMS_INTERNAL_H
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
struct vms_internal_eisd
|
|
Packit |
bbfece |
{
|
|
Packit |
bbfece |
unsigned int majorid; /* Version. */
|
|
Packit |
bbfece |
unsigned int minorid;
|
|
Packit |
bbfece |
unsigned int eisdsize; /* Size (in bytes) of this eisd. */
|
|
Packit |
bbfece |
unsigned int secsize; /* Size (in bytes) of the section. */
|
|
Packit |
bbfece |
bfd_vma virt_addr; /* Virtual address of the section. */
|
|
Packit |
bbfece |
unsigned int flags; /* Flags. */
|
|
Packit |
bbfece |
unsigned int vbn; /* Base virtual block number. */
|
|
Packit |
bbfece |
unsigned char pfc; /* Page fault cluster. */
|
|
Packit |
bbfece |
unsigned char matchctl; /* Linker match control. */
|
|
Packit |
bbfece |
unsigned char type; /* Section type. */
|
|
Packit |
bbfece |
};
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
struct vms_internal_gbl_eisd
|
|
Packit |
bbfece |
{
|
|
Packit |
bbfece |
struct vms_internal_eisd common;
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
unsigned int ident; /* Ident for global section. */
|
|
Packit |
bbfece |
unsigned char gblnam[44]; /* Global name ascic. */
|
|
Packit |
bbfece |
};
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
struct vms_internal_eisd_map
|
|
Packit |
bbfece |
{
|
|
Packit |
bbfece |
/* Next eisd in the list. */
|
|
Packit |
bbfece |
struct vms_internal_eisd_map *next;
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
/* Offset in output file. */
|
|
Packit |
bbfece |
file_ptr file_pos;
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
union
|
|
Packit |
bbfece |
{
|
|
Packit |
bbfece |
struct vms_internal_eisd eisd;
|
|
Packit |
bbfece |
struct vms_internal_gbl_eisd gbl_eisd;
|
|
Packit |
bbfece |
} u;
|
|
Packit |
bbfece |
};
|
|
Packit |
bbfece |
|
|
Packit |
bbfece |
#endif /* _VMS_INTERNAL_H */
|