aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManfred Hollstein <manfred@lts.sel.alcatel.de>1997-10-07 16:20:44 +0000
committerJeff Law <law@gcc.gnu.org>1997-10-07 10:20:44 -0600
commite9e30253009d3c5b6ad35a7988e55fc1b16c8c94 (patch)
tree673520684142e951633ec27ba484bfacdaa3c87f
parent496651db26666e15ffa3af1a7b86732a83645ee8 (diff)
downloadgcc-e9e30253009d3c5b6ad35a7988e55fc1b16c8c94.zip
gcc-e9e30253009d3c5b6ad35a7988e55fc1b16c8c94.tar.gz
gcc-e9e30253009d3c5b6ad35a7988e55fc1b16c8c94.tar.bz2
mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment instead of aborting.
* 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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/m68k/mot3300.h6
-rw-r--r--gcc/dwarf2out.c9
3 files changed, 18 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7178436..19f76ba 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h
index fc3cc52..cc7c6c7 100644
--- a/gcc/config/m68k/mot3300.h
+++ b/gcc/config/m68k/mot3300.h
@@ -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"
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 7667a53..a107937 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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