From e9e30253009d3c5b6ad35a7988e55fc1b16c8c94 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Tue, 7 Oct 1997 16:20:44 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/m68k/mot3300.h | 6 ++---- gcc/dwarf2out.c | 9 +++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71784365f52..19f76ba5066 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 * tree.h (get_file_function_name): Add declaration. diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h index fc3cc52dfd0..cc7c6c7589d 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 7667a53a3a5..a1079372657 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 -- 2.30.2