mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment instead of aborting.
authorManfred Hollstein <manfred@lts.sel.alcatel.de>
Tue, 7 Oct 1997 16:20:44 +0000 (16:20 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 7 Oct 1997 16:20:44 +0000 (10:20 -0600)
        * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
        instead of aborting.
        * dwarf2out.c (output_call_frame_info): Call app_enable and
        app_disable to let GNU as accept the generated comments.

From-SVN: r15856

gcc/ChangeLog
gcc/config/m68k/mot3300.h
gcc/dwarf2out.c

index 71784365f52050f86bf615eb9e5b7e2431b862ae..19f76ba50664fa0b368bb6c3caa88845c99e0520 100644 (file)
@@ -1,3 +1,10 @@
+Tue Oct  7 10:19:26 1997  Manfred Hollstein  (manfred@lts.sel.alcatel.de)
+
+       * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
+       instead of aborting.
+       * dwarf2out.c (output_call_frame_info): Call app_enable and
+       app_disable to let GNU as accept the generated comments.
+
 Tue Oct  7 11:41:21 1997  Michael Meissner  <meissner@cygnus.com>
 
        * tree.h (get_file_function_name): Add declaration.
index fc3cc52dfd0517a61f74578f983ac10a9af3d6a2..cc7c6c7589de804c8e9b170e3225bab7aaa50398 100644 (file)
@@ -433,10 +433,8 @@ do { long l;                                       \
 
 #undef ASM_OUTPUT_ALIGN
 #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
-  if ((LOG) == 1)                      \
-    fprintf (FILE, "\t%s\n", ALIGN_ASM_OP);    \
-  else if ((LOG) != 0)                 \
-    abort ();
+  if ((LOG) >= 1)                      \
+    fprintf (FILE, "\t%s\n", ALIGN_ASM_OP);
 
 #ifndef USE_GAS
 #define SKIP_ASM_OP    "space"
index 7667a53a3a5e39641743fc7e6fdc60931090def9..a107937265734f3c7c8fde768061718501a3dd94 100644 (file)
@@ -1493,6 +1493,11 @@ output_call_frame_info (for_eh)
     return;
 
   fputc ('\n', asm_out_file);
+
+  /* We're going to be generating comments, so turn on app.  */
+  if (flag_verbose_asm)
+    app_enable ();
+
   if (for_eh)
     {
 #ifdef EH_FRAME_SECTION
@@ -1648,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_verbose_asm)
+    app_disable ();
 }
 
 /* Output a marker (i.e. a label) for the beginning of a function, before