This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gas / config / obj-ecoff.h
1 /* ECOFF object file format header file.
2 Copyright (C) 1993 Free Software Foundation, Inc.
3 Contributed by Cygnus Support.
4 Written by Ian Lance Taylor <ian@cygnus.com>.
5
6 This file is part of GAS.
7
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GAS; see the file COPYING. If not, write to
20 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21
22 #define OBJ_ECOFF 1
23
24 /* Use the generic ECOFF debugging code. */
25 #define ECOFF_DEBUGGING 1
26
27 #define OUTPUT_FLAVOR bfd_target_ecoff_flavour
28
29 #include "targ-cpu.h"
30
31 #include "ecoff.h"
32
33 /* For each gas symbol we keep track of which file it came from, of
34 whether we have generated an ECOFF symbol for it, and whether the
35 symbols is undefined (this last is needed to distinguish a .extern
36 symbols from a .comm symbol). */
37
38 #define TARGET_SYMBOL_FIELDS \
39 struct efdr *ecoff_file; \
40 struct localsym *ecoff_symbol; \
41 valueT ecoff_extern_size;
42
43 /* Modify the ECOFF symbol. */
44 #define obj_frob_symbol(symp, punt) ecoff_frob_symbol (symp)
45
46 /* This is used to write the symbolic data in the format that BFD
47 expects it. */
48 extern void ecoff_frob_file PARAMS ((void));
49 #define obj_frob_file() ecoff_frob_file ()
50
51 /* We use the ECOFF functions as our hooks. */
52 #define obj_read_begin_hook ecoff_read_begin_hook
53 #define obj_symbol_new_hook ecoff_symbol_new_hook
54
55 /* At the moment we don't want to do any stabs processing in read.c. */
56 #define OBJ_PROCESS_STAB(seg, what, string, type, other, desc) \
57 ecoff_stab ((what), (string), (type), (other), (desc))
58
59 #define OBJ_GENERATE_ASM_LINENO(filename, lineno) \
60 ecoff_generate_asm_lineno ((filename), (lineno))
61
62 #define EMIT_SECTION_SYMBOLS 0
63 #define obj_sec_sym_ok_for_reloc(SEC) 1
This page took 0.031485 seconds and 5 git commands to generate.