eiaf.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* Alpha VMS external format of Extended Image Activator Fixup section.
  2. Copyright (C) 2010-2015 Free Software Foundation, Inc.
  3. Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
  4. This file is part of BFD, the Binary File Descriptor library.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
  16. MA 02110-1301, USA. */
  17. #ifndef _VMS_EIAF_H
  18. #define _VMS_EIAF_H
  19. struct vms_eiaf
  20. {
  21. /* Version. */
  22. unsigned char majorid[4];
  23. unsigned char minorid[4];
  24. /* Link for image activator use. */
  25. unsigned char iaflink[8];
  26. /* Link for sharable image fixups. */
  27. unsigned char fixuplnk[8];
  28. /* Size of EIAF fixed part. */
  29. unsigned char size[4];
  30. /* Flags. */
  31. unsigned char flags[4];
  32. /* Offsets to quadword and longword relocation fixup data. */
  33. unsigned char qrelfixoff[4];
  34. unsigned char lrelfixoff[4];
  35. /* Offsets to quardword and longword .address fixup data. */
  36. unsigned char qdotadroff[4];
  37. unsigned char ldotadroff[4];
  38. /* Offset to code address fixup data. */
  39. unsigned char codeadroff[4];
  40. /* Offset to linkage part fixup data. */
  41. unsigned char lpfixoff[4];
  42. /* Offset to isect change protection data. */
  43. unsigned char chgprtoff[4];
  44. /* Offset to shareable image list. */
  45. unsigned char shlstoff[4];
  46. /* Number of shareable images. */
  47. unsigned char shrimgcnt[4];
  48. /* Number of extra shareable images allowed. */
  49. unsigned char shlextra[4];
  50. /* Permanent shareable image context. */
  51. unsigned char permctx[4];
  52. /* Base address of the image itself. */
  53. unsigned char base_va[4];
  54. /* Offset to linkage pair with procedure signature fixups. */
  55. unsigned char lppsbfixoff[4];
  56. };
  57. #endif /* _VMS_EIAF_H */