]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
dwarf2out.c (output_call_frame_info): Reinstate last change using flag_debug_asm...
authorJeffrey A Law <law@cygnus.com>
Tue, 7 Oct 1997 21:35:54 +0000 (21:35 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 7 Oct 1997 21:35:54 +0000 (15:35 -0600)
        * dwarf2out.c (output_call_frame_info): Reinstate last change
        using flag_debug_asm check instead of flag_verbose_asm.

From-SVN: r15865

gcc/ChangeLog
gcc/dwarf2out.c

index a6738852ddb56768e786cb3dab087c671025de29..e22120b8b380b53107265a0056d4b436b3fe38ff 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct  7 15:37:35 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * dwarf2out.c (output_call_frame_info): Reinstate last change
+       using flag_debug_asm check instead of flag_verbose_asm.
+
 Tue Oct  7 12:57:26 1997  Jim Wilson  <wilson@cygnus.com>
 
        * dwarf2out.c (output_call_frame_info): Remove last change.
index 8d2facb66934f939ba43a6c5e8baca784dd34809..7a49fd4be62881e71aea81ce3d927356633a5050 100644 (file)
@@ -1494,6 +1494,10 @@ output_call_frame_info (for_eh)
 
   fputc ('\n', asm_out_file);
 
+  /* We're going to be generating comments, so turn on app.  */
+  if (flag_debug_asm)
+    app_enable ();
   if (for_eh)
     {
 #ifdef EH_FRAME_SECTION
@@ -1649,6 +1653,10 @@ output_call_frame_info (for_eh)
      get a value of 0.  Putting .align 0 after the label fixes it.  */
   ASM_OUTPUT_ALIGN (asm_out_file, 0);
 #endif
+
+  /* Turn off app to make assembly quicker.  */
+  if (flag_debug_asm)
+    app_disable ();
 }
 
 /* Output a marker (i.e. a label) for the beginning of a function, before