home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / gas / config / obj-multi.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  1KB  |  43 lines

  1. /* hi */
  2.  
  3. #include "emul.h"
  4. #include "targ-cpu.h"
  5.  
  6. #define OUTPUT_FLAVOR        (this_format->flavor)
  7. #define obj_frob_symbol(S,P)    (this_format->frob_symbol)(S,&(P))
  8. #define obj_frob_file        (this_format->frob_file)
  9. #define obj_ecoff_set_ext    (this_format->ecoff_set_ext)
  10. #define obj_pop_insert        (this_format->pop_insert)
  11. #define obj_read_begin_hook()    (this_format->read_begin_hook?this_format->read_begin_hook():(void)0)
  12. #define obj_symbol_new_hook    (this_format->symbol_new_hook)
  13. #define obj_sec_sym_ok_for_reloc (this_format->sec_sym_ok_for_reloc)
  14. #define S_GET_SIZE        (this_format->s_get_size)
  15. #define S_SET_SIZE        (this_format->s_set_size)
  16. #define S_GET_ALIGN        (this_format->s_get_align)
  17. #define S_SET_ALIGN        (this_format->s_set_align)
  18. #define obj_copy_symbol_attributes (this_format->copy_symbol_attributes)
  19. #define OBJ_PROCESS_STAB    (this_format->process_stab)
  20.  
  21. #if defined (OBJ_MAYBE_ECOFF) || (defined (OBJ_MAYBE_ELF) && defined (TC_MIPS))
  22. #define ECOFF_DEBUGGING 1
  23. #endif
  24.  
  25. #ifdef OBJ_MAYBE_ELF
  26. #define OBJ_SYMFIELD_TYPE expressionS *
  27. #define ELF_TARGET_SYMBOL_FIELDS int local:1;
  28. #else
  29. #define ELF_TARGET_SYMBOL_FIELDS
  30. #endif
  31.  
  32. #ifdef ECOFF_DEBUGGING
  33. struct efdr;
  34. struct localsym;
  35. #define ECOFF_DEBUG_TARGET_SYMBOL_FIELDS struct efdr *ecoff_file; struct localsym *ecoff_symbol; valueT ecoff_extern_size;
  36. #else
  37. #define ECOFF_DEBUG_TARGET_SYMBOL_FIELDS
  38. #endif
  39.  
  40. #define TARGET_SYMBOL_FIELDS \
  41.     ELF_TARGET_SYMBOL_FIELDS \
  42.     ECOFF_DEBUG_TARGET_SYMBOL_FIELDS
  43.