This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [Bug target/14041] H8300-elf unaligned word/longword access of zero initialized variables



> -----Original Message-----
> From: kazu at cs dot umass dot edu [mailto:gcc-bugzilla@gcc.gnu.org]
> ------- Additional Comments From kazu at cs dot umass dot edu 
>  2004-02-09 17:06 -------
> Could you post your patch to gcc-patches without the comment 
> and #ifndef?

Updated patch - 

2004-02-10  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>

        PR target/14041
        * config/h8300/h8300.h (ASM_OUTPUT_ALIGNED_BSS): Define.

====================================================================
--- config/h8300/h8300.h.old	Tue Feb 10 15:51:47 2004
+++ config/h8300/h8300.h	Tue Feb 10 15:52:31 2004
@@ -1157,6 +1157,9 @@ struct cum_arg
 #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)
+
 /* This says how to output an assembler line
    to define a local common symbol.  */
 
====================================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]