From: Manfred Hollstein Date: Tue, 7 Oct 1997 16:20:44 +0000 (+0000) Subject: mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment instead of aborting. X-Git-Tag: releases/egcs-1.0.0~384 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9e30253009d3c5b6ad35a7988e55fc1b16c8c94;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71784365f520..19f76ba50664 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 fc3cc52dfd05..cc7c6c7589de 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 7667a53a3a5e..a10793726573 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