2000-12-12 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Dec 2000 21:21:39 +0000 (21:21 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Dec 2000 21:21:39 +0000 (21:21 +0000)
* dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.

* read.h (outputting_stabs_line_debug): Change it to int.
* stabs.c (outputting_stabs_line_debug): Likewise.

gas/ChangeLog
gas/dwarf2dbg.c
gas/read.h
gas/stabs.c

index e5579dd055b8474c3e8eace5b62a1e3275734dac..21901da99f4d72bd6d3bbb48b589f1bc052fdc2e 100644 (file)
@@ -1,3 +1,10 @@
+2000-12-12  H.J. Lu  <hjl@gnu.org>
+
+       * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
+
+       * read.h (outputting_stabs_line_debug): Change it to int.
+       * stabs.c (outputting_stabs_line_debug): Likewise.
+
 2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
 
        * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
index 01ac9d9afde35aa765d53d1ab73059738b17893b..5866cb4ae6bbc20cfaf62c1d4c2bc321e23be89c 100644 (file)
@@ -31,6 +31,9 @@
 #include <limits.h>
 
 #include "as.h"
+
+#ifdef BFD_ASSEMBLER
+
 #include "dwarf2dbg.h"
 #include "subsegs.h"
 
@@ -1244,3 +1247,53 @@ dwarf2_finish ()
       out_debug_info (info_seg, abbrev_seg, line_seg);
     }
 }
+
+#else
+void
+dwarf2_finish ()
+{
+}
+
+int
+dwarf2dbg_estimate_size_before_relax (frag)
+     fragS *frag ATTRIBUTE_UNUSED;
+{
+  as_fatal (_("dwarf2 is not supported for this object file format"));
+  return 0;
+}
+
+int
+dwarf2dbg_relax_frag (frag)
+     fragS *frag ATTRIBUTE_UNUSED;
+{
+  as_fatal (_("dwarf2 is not supported for this object file format"));
+  return 0;
+}
+
+void
+dwarf2dbg_convert_frag (frag)
+     fragS *frag ATTRIBUTE_UNUSED;
+{
+  as_fatal (_("dwarf2 is not supported for this object file format"));
+}
+
+void
+dwarf2_emit_insn (size)
+     int size ATTRIBUTE_UNUSED;
+{
+}
+
+void
+dwarf2_directive_file (dummy)
+     int dummy ATTRIBUTE_UNUSED;
+{
+  as_fatal (_("dwarf2 is not supported for this object file format"));
+}
+
+void
+dwarf2_directive_loc (dummy)
+     int dummy ATTRIBUTE_UNUSED;
+{
+  as_fatal (_("dwarf2 is not supported for this object file format"));
+}
+#endif /* BFD_ASSEMBLER */
index 267fcc058610a1fafdd43766cc17d52a758b7448..1aef827d1482901c3ddb9f4c1bde0ed4e4101b04 100644 (file)
@@ -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 b1a025425920f258729bb2f42c4584dc0994f2b3..71090d85d12d02ffc64b8dfa6bbf8d2c018ac5e9 100644 (file)
@@ -32,7 +32,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 /* 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 *));
This page took 0.031833 seconds and 4 git commands to generate.