From: Danny Smith Date: Sat, 21 Feb 2009 03:21:44 +0000 (+0000) Subject: winnt.c (i386_pe_asm_output_aligned_decl_common): Revert accidental And undocumented... X-Git-Tag: releases/gcc-4.4.0~476 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ecb8c3cced7d2ac2527b4f3baa9bddccda4a6b2f;p=thirdparty%2Fgcc.git winnt.c (i386_pe_asm_output_aligned_decl_common): Revert accidental And undocumented change at revision 140860. * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert accidental And undocumented change at revision 140860. From-SVN: r144345 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bcc3b1d3a6b..3d33992060ad 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-02-21 Danny Smith + * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert + accidental and undocumented change at revision 140860. + 2009-02-21 Joseph Myers * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index c9bbbfa95d04..ae9196c596f5 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -508,8 +508,7 @@ i386_pe_asm_output_aligned_decl_common (FILE *stream, tree decl, i386_pe_maybe_record_exported_symbol (decl, name, 1); - switch_to_section (bss_section); - fprintf (stream, "\t.balign %d\n\t.comm \t", ((int) align) / BITS_PER_UNIT); + fprintf (stream, "\t.comm\t"); assemble_name (stream, name); fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\t" ASM_COMMENT_START " " HOST_WIDE_INT_PRINT_DEC "\n",