gsyms.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /* Copyright (C) 1992-2019 Free Software Foundation, Inc.
  2. This file is part of GCC.
  3. GCC is free software; you can redistribute it and/or modify it under
  4. the terms of the GNU General Public License as published by the Free
  5. Software Foundation; either version 3, or (at your option) any later
  6. version.
  7. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  8. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  10. for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with GCC; see the file COPYING3. If not see
  13. <http://www.gnu.org/licenses/>. */
  14. /* For cross compilation, use the portable definitions from the COFF
  15. documentation. */
  16. #ifndef GCC_GSYMS_H
  17. #define GCC_GSYMS_H
  18. #define __GNU_SYMS__
  19. enum sdb_storage_class
  20. {
  21. C_EFCN = -1,
  22. C_NULL = 0,
  23. C_AUTO = 1,
  24. C_EXT = 2,
  25. C_STAT = 3,
  26. C_REG = 4,
  27. C_EXTDEF = 5,
  28. C_LABEL = 6,
  29. C_ULABEL = 7,
  30. C_MOS = 8,
  31. C_ARG = 9,
  32. C_STRTAG = 10,
  33. C_MOU = 11,
  34. C_UNTAG = 12,
  35. C_TPDEF = 13,
  36. C_USTATIC = 14,
  37. C_ENTAG = 15,
  38. C_MOE = 16,
  39. C_REGPARM = 17,
  40. C_FIELD = 18,
  41. C_BLOCK = 100,
  42. C_FCN = 101,
  43. C_EOS = 102,
  44. C_FILE = 103,
  45. C_LINE = 104,
  46. C_ALIAS = 105,
  47. C_HIDDEN = 106
  48. };
  49. enum sdb_type
  50. {
  51. T_NULL = 0,
  52. T_ARG = 1,
  53. T_VOID = 1,
  54. T_CHAR = 2,
  55. T_SHORT = 3,
  56. T_INT = 4,
  57. T_LONG = 5,
  58. T_FLOAT = 6,
  59. T_DOUBLE = 7,
  60. T_STRUCT = 8,
  61. T_UNION = 9,
  62. T_ENUM = 10,
  63. T_MOE = 11,
  64. T_UCHAR = 12,
  65. T_USHORT = 13,
  66. T_UINT = 14,
  67. T_ULONG = 15
  68. };
  69. enum sdb_type_class
  70. {
  71. DT_NON = 0,
  72. DT_PTR = 1,
  73. DT_FCN = 2,
  74. DT_ARY = 3
  75. };
  76. enum sdb_masks
  77. {
  78. N_BTMASK = 017,
  79. N_TMASK = 060,
  80. N_TMASK1 = 0300,
  81. N_TMASK2 = 0360,
  82. N_BTSHFT = 4,
  83. N_TSHIFT = 2
  84. };
  85. #endif /* GCC_GSYMS_H */