From patchwork Sun Apr 3 19:27:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [AVR] Define ASM_OUTPUT_ALIGNED_BSS macro instead of ASM_OUTPUT_BSS From: Anatoly Sokolov X-Patchwork-Id: 89544 Message-Id: <1869268489.20110403232722@post.ru> To: gcc-patches Cc: chertykov@gmail.com Date: Sun, 3 Apr 2011 23:27:22 +0400 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 Anatoly. 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 { \