From patchwork Sun Mar 27 20:32:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [H8300] Remove ASM_OUTPUT_BSS Date: Sun, 27 Mar 2011 10:32:10 -0000 From: Anatoly Sokolov X-Patchwork-Id: 88525 Message-Id: <519161994.20110328003210@post.ru> To: gcc-patches Cc: law@redhat.com, kazu@codesourcery.com Hi. In config/h8300/h8300.h file both ASM_OUTPUT_BSS and ASM_OUTPUT_ALIGNED_BSS macros is defined, but the ASM_OUTPUT_BSS macro is not used when ASM_OUTPUT_ALIGNED_BSS is defined. This patch remove ASM_OUTPUT_BSS macro from H8300 target. Regression tested on h8300-unknown-elf with no new failure. OK to install? * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. Anatoly. Index: gcc/config/h8300/h8300.h =================================================================== --- gcc/config/h8300/h8300.h (revision 171427) +++ gcc/config/h8300/h8300.h (working copy) @@ -1015,13 +987,6 @@ assemble_name ((FILE), (NAME)), \ fprintf ((FILE), ",%lu\n", (unsigned long)(SIZE))) -/* This says how to output the assembler to define a global - uninitialized but not common symbol. - Try to use asm_output_bss to implement this macro. */ - -#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)