Alan Modra <amodra@bigpond.net.au>
[deliverable/binutils-gdb.git] / gas / dwarf2dbg.c
index 578b3ac226a0198c34d16f7ae6f258aaa9b62a09..0d5c072682c08c07dc3b142d12addfde5c075a15 100644 (file)
@@ -136,9 +136,9 @@ static struct file_entry *files;
 static unsigned int files_in_use;
 static unsigned int files_allocated;
 
-/* True when we've seen a .loc directive recently.  Used to avoid
+/* TRUE when we've seen a .loc directive recently.  Used to avoid
    doing work when there's nothing to do.  */
-static boolean loc_directive_seen;
+static bfd_boolean loc_directive_seen;
 
 /* Current location as indicated by the most recent .loc directive.  */
 static struct dwarf2_line_info current;
@@ -174,7 +174,6 @@ static void out_debug_line PARAMS ((segT));
 static void out_debug_aranges PARAMS ((segT, segT));
 static void out_debug_abbrev PARAMS ((segT));
 static void out_debug_info PARAMS ((segT, segT, segT));
-static void scale_addr_delta PARAMS ((int *));
 \f
 /* Find or create an entry for SEG+SUBSEG in ALL_SEGS.  */
 
@@ -304,7 +303,7 @@ dwarf2_emit_insn (size)
       /* Unless we generate DWARF2 debugging information for each
         assembler line, we only emit one line symbol for one LOC.  */
       if (debug_type != DEBUG_DWARF2)
-       loc_directive_seen = false;
+       loc_directive_seen = FALSE;
     }
   else if (debug_type != DEBUG_DWARF2)
     return;
@@ -436,7 +435,7 @@ dwarf2_directive_loc (dummy)
   current.column = column;
   current.flags = DWARF2_FLAG_BEGIN_STMT;
 
-  loc_directive_seen = true;
+  loc_directive_seen = TRUE;
 
 #ifndef NO_LISTING
   if (listing)
@@ -598,9 +597,11 @@ out_set_addr (seg, frag, ofs)
 }
 
 #if DWARF2_LINE_MIN_INSN_LENGTH > 1
+static void scale_addr_delta PARAMS ((addressT *));
+
 static void
 scale_addr_delta (addr_delta)
-     int *addr_delta;
+     addressT *addr_delta;
 {
   static int printed_this = 0;
   if (*addr_delta % DWARF2_LINE_MIN_INSN_LENGTH != 0)
This page took 0.023496 seconds and 4 git commands to generate.