This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
A none-BFD assembler patch for gas
- To: binutils at sourceware dot cygnus dot com
- Subject: A none-BFD assembler patch for gas
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Mon, 11 Dec 2000 13:06:01 -0800
boolean is only available for BFD assembler. Here is a patch.
--
H.J. Lu (hjl@valinux.com)
--
2000-12-11 H.J. Lu <hjl@gnu.org>
* read.h (outputting_stabs_line_debug): Change it to int.
* stabs.c (outputting_stabs_line_debug): Likewise.
Index: read.h
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/read.h,v
retrieving revision 1.1.1.8
diff -u -p -r1.1.1.8 read.h
--- read.h 2000/12/11 19:24:06 1.1.1.8
+++ read.h 2000/12/11 19:58:59
@@ -76,7 +76,7 @@ extern symbolS *line_label;
extern symbolS *mri_common_symbol;
/* True if a stabs line debug statement is currently being emitted. */
-extern boolean outputting_stabs_line_debug;
+extern int outputting_stabs_line_debug;
/* Possible arguments to .linkonce. */
enum linkonce_type
Index: stabs.c
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/stabs.c,v
retrieving revision 1.1.1.7
diff -u -p -r1.1.1.7 stabs.c
--- stabs.c 2000/12/11 19:24:06 1.1.1.7
+++ stabs.c 2000/12/11 20:01:24
@@ -32,7 +32,7 @@ Software Foundation, 59 Temple Place - S
/* Holds whether the assembler is generating stabs line debugging
information or not. Potentially used by md_cleanup function. */
-boolean outputting_stabs_line_debug = 0;
+int outputting_stabs_line_debug = 0;
static void s_stab_generic PARAMS ((int, char *, char *));
static void generate_asm_file PARAMS ((int, char *));