keep arm dir
[deliverable/binutils-gdb.git] / gas / ecoff.h
CommitLineData
17ed84ed
ILT
1/* ecoff.h -- header file for ECOFF debugging support
2 Copyright (C) 1993 Free Software Foundation, Inc.
3 Contributed by Cygnus Support.
4 Put together by Ian Lance Taylor <ian@cygnus.com>.
5
6 This file is part of GAS, the GNU Assembler.
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#ifdef ECOFF_DEBUGGING
23
24#include "coff/sym.h"
25#include "coff/ecoff.h"
26
27/* This function should be called at the start of assembly, by
28 obj_read_begin_hook. */
29extern void ecoff_read_begin_hook PARAMS ((void));
30
31/* This function should be called when a new symbol is created, by
32 obj_symbol_new_hook. */
33extern void ecoff_symbol_new_hook PARAMS ((struct symbol *));
34
daad3bbf
KH
35/* This function should be called by the obj_frob_symbol hook. */
36extern void ecoff_frob_symbol PARAMS ((struct symbol *));
37
17ed84ed
ILT
38/* Build the ECOFF debugging information. This should be called by
39 obj_frob_file. This fills in the counts in *HDR; the offsets are
40 filled in relative to the start of the *BUFP. It sets *BUFP to a
41 block of memory holding the debugging information. It returns the
42 length of *BUFP. */
43extern unsigned long ecoff_build_debug
44 PARAMS ((HDRR *hdr, char **bufp, const struct ecoff_debug_swap *));
45
46/* Functions to handle the ECOFF debugging directives. */
47extern void ecoff_directive_begin PARAMS ((int));
48extern void ecoff_directive_bend PARAMS ((int));
49extern void ecoff_directive_end PARAMS ((int));
50extern void ecoff_directive_ent PARAMS ((int));
51extern void ecoff_directive_fmask PARAMS ((int));
52extern void ecoff_directive_frame PARAMS ((int));
53extern void ecoff_directive_loc PARAMS ((int));
54extern void ecoff_directive_mask PARAMS ((int));
55
56/* Functions to handle the COFF debugging directives. */
57extern void ecoff_directive_def PARAMS ((int));
58extern void ecoff_directive_dim PARAMS ((int));
59extern void ecoff_directive_endef PARAMS ((int));
60extern void ecoff_directive_file PARAMS ((int));
61extern void ecoff_directive_scl PARAMS ((int));
62extern void ecoff_directive_size PARAMS ((int));
63extern void ecoff_directive_tag PARAMS ((int));
64extern void ecoff_directive_type PARAMS ((int));
65extern void ecoff_directive_val PARAMS ((int));
66
67/* Handle stabs. */
68extern void ecoff_stab PARAMS ((int what, const char *string,
69 int type, int other, int desc));
70
71/* Set the GP prologue size. */
72extern void ecoff_set_gp_prolog_size PARAMS ((int sz));
73
74/* This routine is called from the ECOFF code to set the external
75 information for a symbol. */
76#ifndef obj_ecoff_set_ext
77extern void obj_ecoff_set_ext PARAMS ((struct symbol *, EXTR *));
78#endif
79
daad3bbf
KH
80/* This routine is called from read.c to generate line number stabs for .s file
81*/
82extern void ecoff_generate_asm_line_stab PARAMS ((int));
17ed84ed 83#endif /* ECOFF_DEBUGGING */
This page took 0.0458 seconds and 4 git commands to generate.