lookup.h 630 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #define IDL 100
  7. struct sym {
  8. sym_p s_next;
  9. offset *s_rom;
  10. short s_flags;
  11. short s_frag;
  12. offset s_value;
  13. char s_name[2]; /* to be extended up to IDL */
  14. };
  15. /* contents of .s_flags */
  16. #define SYMPRO 000001
  17. #define SYMGLOBAL 000002
  18. #define SYMKNOWN 000004
  19. #define SYMOUT 000010
  20. #define SYMDEF 000020
  21. #define SYMSEEN 000040
  22. #define NSYMHASH 127
  23. extern sym_p symhash[NSYMHASH],symlookup();
  24. #define OCCURRING 0
  25. #define DEFINING 1
  26. #define NOTHING 2