* config/tc-sh.h (struct sh_segment_info_type): Define.
[deliverable/binutils-gdb.git] / gas / config / obj-ecoff.h
CommitLineData
c6858c1b
ILT
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. */
5b9a7bef
KR
25#define ECOFF_DEBUGGING 1
26
27#define OUTPUT_FLAVOR bfd_target_ecoff_flavour
c6858c1b
ILT
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; \
6f89cd42 41 valueT ecoff_extern_size;
c6858c1b
ILT
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. */
48extern 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. */
5b9a7bef 56#define OBJ_PROCESS_STAB(seg, what, string, type, other, desc) \
c6858c1b 57 ecoff_stab ((what), (string), (type), (other), (desc))
98c6bbbe 58
5b9a7bef
KR
59#define OBJ_GENERATE_ASM_LINENO(filename, lineno) \
60 ecoff_generate_asm_lineno ((filename), (lineno))
6f89cd42 61
98c6bbbe 62#define EMIT_SECTION_SYMBOLS 0
6f89cd42 63#define obj_sec_sym_ok_for_reloc(SEC) 1
This page took 0.141953 seconds and 4 git commands to generate.