This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git] / gas / config / obj-multi.h
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 ELF_TARGET_SYMBOL_FIELDS int local:1;
27 #else
28 #define ELF_TARGET_SYMBOL_FIELDS
29 #endif
30
31 #ifdef ECOFF_DEBUGGING
32 struct efdr;
33 struct localsym;
34 #define ECOFF_DEBUG_TARGET_SYMBOL_FIELDS struct efdr *ecoff_file; struct localsym *ecoff_symbol; valueT ecoff_extern_size;
35 #else
36 #define ECOFF_DEBUG_TARGET_SYMBOL_FIELDS
37 #endif
38
39 #define TARGET_SYMBOL_FIELDS \
40         ELF_TARGET_SYMBOL_FIELDS \
41         ECOFF_DEBUG_TARGET_SYMBOL_FIELDS