eihs.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Alpha VMS external format of Extended Image Symbols and debug table.
  2. Copyright (C) 2010-2022 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_EIHS_H
  18. #define _VMS_EIHS_H
  19. #define EIHS__K_MAJORID 1
  20. #define EIHS__K_MINORID 1
  21. struct vms_eihs
  22. {
  23. unsigned char majorid[4];
  24. unsigned char minorid[4];
  25. /* Debug symbol table virtual block number (vbn). */
  26. unsigned char dstvbn[4];
  27. /* Debug symbol table size. */
  28. unsigned char dstsize[4];
  29. /* Global symbol table vbn. */
  30. unsigned char gstvbn[4];
  31. /* Global symtol table size. */
  32. unsigned char gstsize[4];
  33. /* Debug module table vbn. */
  34. unsigned char dmtvbn[4];
  35. /* Debug module table size. */
  36. unsigned char dmtsize[4];
  37. };
  38. /* Various offsets. */
  39. #define EIHS__L_DSTVBN 8
  40. #define EIHS__L_DSTSIZE 12
  41. #define EIHS__L_GSTVBN 16
  42. #define EIHS__L_GSTSIZE 20
  43. #define EIHS__L_DMTVBN 24
  44. #define EIHS__L_DMTBYTES 28
  45. #endif /* _VMS_EIHS_H */