import gdb-2000-01-26 snapshot
[deliverable/binutils-gdb.git] / gas / config / obj-multi.h
CommitLineData
252b5132
RH
1/* hi */
2
3#include "emul.h"
4#include "targ-cpu.h"
5
4ca72d38
AM
6#define OUTPUT_FLAVOR \
7 (this_format->flavor)
8
9#define obj_frob_symbol(S,P) \
10 (this_format->frob_symbol) (S, &(P))
11
12#define obj_frob_file() \
13 (this_format->frob_file \
14 ? this_format->frob_file () \
15 : (void) 0)
16
17#define obj_frob_file_after_relocs \
18 (this_format->frob_file_after_relocs)
19
20#define obj_ecoff_set_ext \
21 (this_format->ecoff_set_ext)
22
23#define obj_pop_insert \
24 (this_format->pop_insert)
25
26#define obj_read_begin_hook() \
27 (this_format->read_begin_hook \
28 ? this_format->read_begin_hook () \
29 : (void) 0)
30
31#define obj_symbol_new_hook \
32 (this_format->symbol_new_hook)
33
34#define obj_sec_sym_ok_for_reloc \
35 (this_format->sec_sym_ok_for_reloc)
36
37#define S_GET_SIZE \
38 (this_format->s_get_size)
39
40#define S_SET_SIZE \
41 (this_format->s_set_size)
42
43#define S_GET_ALIGN \
44 (this_format->s_get_align)
45
46#define S_SET_ALIGN \
47 (this_format->s_set_align)
48
49#define OBJ_COPY_SYMBOL_ATTRIBUTES(d,s) \
50 (this_format->copy_symbol_attributes \
51 ? this_format->copy_symbol_attributes (d, s) \
52 : (void) 0)
53
54#define OBJ_PROCESS_STAB(SEG,W,S,T,O,D) \
55 (this_format->process_stab \
56 ? this_format->process_stab (SEG,W,S,T,O,D) \
57 : (void) 0)
252b5132
RH
58
59#if defined (OBJ_MAYBE_ECOFF) || (defined (OBJ_MAYBE_ELF) && defined (TC_MIPS))
60#define ECOFF_DEBUGGING 1
61#endif
62
252b5132 63#ifdef OBJ_MAYBE_ELF
4ca72d38
AM
64/* We need obj-elf for OBJ_SYMFIELD_TYPE so that symbol_get_obj is defined */
65#include "obj-elf.h"
252b5132 66#endif
This page took 0.049104 seconds and 4 git commands to generate.