Hello.

  The AVR back end is last one which uses a ASM_OUTPUT_BSS macro. This patch 
change AVR back end to use more flexible ASM_OUTPUT_ALIGNED_BSS macro instead 
of ASM_OUTPUT_BSS. 

  Committed.

        * config/avr/avr.h (ASM_OUTPUT_BSS): Remove.
        (ASM_OUTPUT_ALIGNED_BSS): Define

Index: gcc/config/avr/avr.h
===================================================================
--- gcc/config/avr/avr.h        (revision 171911)
+++ gcc/config/avr/avr.h        (working copy)
@@ -474,8 +474,8 @@
      fprintf ((STREAM), ",%lu,1\n", (unsigned long)(SIZE));               \
 } while (0)
 
-#define ASM_OUTPUT_BSS(FILE, DECL, NAME, SIZE, ROUNDED)                        
\
-  asm_output_bss ((FILE), (DECL), (NAME), (SIZE), (ROUNDED))
+#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
+  asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
 
 #define ASM_OUTPUT_LOCAL(STREAM, NAME, SIZE, ROUNDED)                  \
 do {                                                                   \


Anatoly.

Reply via email to