| Submitter | Anatoly Sokolov |
|---|---|
| Date | April 3, 2011, 7:27 p.m. |
| Message ID | <1869268489.20110403232722@post.ru> |
| Download | mbox | patch |
| Permalink | /patch/89544/ |
| State | New |
| Headers | show |
Comments
Patch
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 { \
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.