elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
authorJan Hubicka <jh@suse.cz>
Mon, 12 May 2003 13:59:14 +0000 (15:59 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 12 May 2003 13:59:14 +0000 (13:59 +0000)
* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
* mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.

From-SVN: r66717

gcc/ChangeLog
gcc/config/mips/elf.h
gcc/config/mips/mips.h

index 55480b4f995b3bf9dacf8d3ddf0c25a2303b895a..6c3b37c8342ad17d980666146933c339db225296 100644 (file)
@@ -1,3 +1,8 @@
+Mon May 12 15:57:54 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
+       * mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.
+
 2003-05-12  Roger Sayle  <roger@eyesopen.com>
 
        * doc/rtl.texi: Document zero_extract as a valid destination
index a719d4b815fcaeabaa722aef0b5b75238f74a675..8826fa0d1cc79772f79b61e6d7df83737b218447 100644 (file)
@@ -106,7 +106,7 @@ do {                                                \
 #ifndef ASM_OUTPUT_ALIGNED_BSS
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
 do {                                                                   \
-  if (SIZE > 0 && SIZE <= mips_section_threshold)                      \
+  if (SIZE > 0 && SIZE <= (unsigned HOST_WIDE_INT)mips_section_threshold)\
     sbss_section ();                                                   \
   else                                                                 \
     bss_section ();                                                    \
index 5779e1e892d60ea7cdf05d5847ad57ee9e9177b4..829849f3d3b76a426c47313529602f59f6e8507d 100644 (file)
@@ -4025,7 +4025,7 @@ do {                                                                      \
 
 #undef ASM_OUTPUT_SKIP
 #define ASM_OUTPUT_SKIP(STREAM,SIZE)                                   \
-  fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"%u\n", (SIZE))
+  fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
 
 /* This is how to output a string.  */
 #undef ASM_OUTPUT_ASCII