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>.
6 This file is part of GAS.
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)
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.
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. */
24 /* Use the generic ECOFF debugging code. */
25 #define ECOFF_DEBUGGING 1
27 #define OUTPUT_FLAVOR bfd_target_ecoff_flavour
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). */
38 #define TARGET_SYMBOL_FIELDS \
39 struct efdr *ecoff_file; \
40 struct localsym *ecoff_symbol; \
41 valueT ecoff_extern_size;
43 /* Modify the ECOFF symbol. */
44 #define obj_frob_symbol(symp, punt) ecoff_frob_symbol (symp)
46 /* This is used to write the symbolic data in the format that BFD
48 extern void ecoff_frob_file
PARAMS ((void));
49 #define obj_frob_file() ecoff_frob_file ()
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
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))
59 #define OBJ_GENERATE_ASM_LINENO(filename, lineno) \
60 ecoff_generate_asm_lineno ((filename), (lineno))
62 #define EMIT_SECTION_SYMBOLS 0
63 #define obj_sec_sym_ok_for_reloc(SEC) 1
This page took 0.029669 seconds and 4 git commands to generate.