comm3.c 896 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* @(#)comm3.c 1.1 */
  2. /*
  3. * storage allocation for variables
  4. */
  5. #include "comm0.h"
  6. #define extern /* empty, to force storage allocation */
  7. #include "comm1.h"
  8. struct outhead outhead = {
  9. O_MAGIC, O_STAMP, 0
  10. #ifndef DUK
  11. #ifdef BYTES_REVERSED
  12. | HF_BREV
  13. #endif
  14. #ifdef WORDS_REVERSED
  15. | HF_WREV
  16. #endif
  17. #endif DUK
  18. };
  19. #include "y.tab.h"
  20. item_t keytab[] = {
  21. 0, EXTERN, 0, ".define",
  22. 0, EXTERN, 0, ".extern",
  23. 0, DOT, 0, ".",
  24. 0, DATA, 1, ".data1",
  25. 0, DATA, 2, ".data2",
  26. 0, DATA, 4, ".data4",
  27. 0, ASCII, 0, ".ascii",
  28. 0, ASCII, 1, ".asciz",
  29. 0, ALIGN, 0, ".align",
  30. 0, ASSERT, 0, ".assert",
  31. 0, SPACE, 0, ".space",
  32. 0, COMMON, 0, ".comm",
  33. 0, SECTION, 0, ".sect",
  34. 0, BASE, 0, ".base",
  35. 0, SYMB, 0, ".symb",
  36. 0, LINE, 0, ".line",
  37. 0, FILe, 0, ".file",
  38. #ifdef LISTING
  39. 0, LIST, 0, ".nolist",
  40. 0, LIST, 1, ".list",
  41. #endif
  42. #include "mach3.c"
  43. 0, 0, 0, 0
  44. };