egsy.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /* Alpha VMS external format of Extended Global Symbol.
  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_EGSY_H
  18. #define _VMS_EGSY_H
  19. #define EGSY__W_FLAGS 6
  20. #define EGSY__V_WEAK 0x0001 /* Weak symbol definition. */
  21. #define EGSY__V_DEF 0x0002 /* Symbol definition. */
  22. #define EGSY__V_UNI 0x0004 /* Reserved. */
  23. #define EGSY__V_REL 0x0008 /* Relocatable (vs absolute). */
  24. #define EGSY__V_COMM 0x0010 /* Conditional symbol def. */
  25. #define EGSY__V_VECEP 0x0020 /* Reserved. */
  26. #define EGSY__V_NORM 0x0040 /* Normal procedure definition. */
  27. #define EGSY__V_QUAD_VAL 0x0080 /* Value exceed 32 bits. */
  28. struct vms_egsy
  29. {
  30. /* Entry type. */
  31. unsigned char gsdtyp[2];
  32. /* Length of the entry. */
  33. unsigned char gsdsiz[2];
  34. /* Data type. */
  35. unsigned char datyp;
  36. /* Pad for alignment. */
  37. unsigned char temp;
  38. unsigned char flags[2];
  39. };
  40. #endif /* _VMS_EGSY_H */