* read.c (read_a_source_file): When defining a macro in MRI mode,
[deliverable/binutils-gdb.git] / gas / ecoff.h
index a77d14eee5b8947feb172e02c1561fce28736e53..6042cb995ad033a769e871121a718ae024f58512 100644 (file)
 
 #ifdef ECOFF_DEBUGGING
 
+#ifndef GAS_ECOFF_H
+#define GAS_ECOFF_H
+
 #include "coff/sym.h"
 #include "coff/ecoff.h"
 
+/* Whether we have seen any ECOFF debugging information.  */
+extern int ecoff_debugging_seen;
+
 /* This function should be called at the start of assembly, by
    obj_read_begin_hook.  */
 extern void ecoff_read_begin_hook PARAMS ((void));
@@ -32,6 +38,9 @@ extern void ecoff_read_begin_hook PARAMS ((void));
    obj_symbol_new_hook.  */
 extern void ecoff_symbol_new_hook PARAMS ((struct symbol *));
 
+/* This function should be called by the obj_frob_symbol hook.  */
+extern void ecoff_frob_symbol PARAMS ((struct symbol *));
+
 /* Build the ECOFF debugging information.  This should be called by
    obj_frob_file.  This fills in the counts in *HDR; the offsets are
    filled in relative to the start of the *BUFP.  It sets *BUFP to a
@@ -62,7 +71,7 @@ extern void ecoff_directive_type PARAMS ((int));
 extern void ecoff_directive_val PARAMS ((int));
 
 /* Handle stabs.  */
-extern void ecoff_stab PARAMS ((int what, const char *string,
+extern void ecoff_stab PARAMS ((segT sec, int what, const char *string,
                                int type, int other, int desc));
 
 /* Set the GP prologue size.  */
@@ -74,4 +83,16 @@ extern void ecoff_set_gp_prolog_size PARAMS ((int sz));
 extern void obj_ecoff_set_ext PARAMS ((struct symbol *, EXTR *));
 #endif
 
+/* This function is called from read.c to peek at cur_file_ptr */
+extern int ecoff_no_current_file PARAMS ((void));
+
+/* This routine is called from read.c to generate line number for .s file
+*/
+extern void ecoff_generate_asm_lineno PARAMS ((const char *, int));
+
+/* This routine is called from read.c to generate line number stabs for .s file
+*/
+extern void ecoff_generate_asm_line_stab PARAMS ((char *, int));
+
+#endif /* ! GAS_ECOFF_H */
 #endif /* ECOFF_DEBUGGING */
This page took 0.024086 seconds and 4 git commands to generate.