From c394cdb752e4e51df9fa2f49b4d69c57b85f5d91 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 12 May 2003 15:59:14 +0200 Subject: [PATCH] elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning. * 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 | 5 +++++ gcc/config/mips/elf.h | 2 +- gcc/config/mips/mips.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 55480b4f995..6c3b37c8342 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon May 12 15:57:54 CEST 2003 Jan Hubicka + + * 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 * doc/rtl.texi: Document zero_extract as a valid destination diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h index a719d4b815f..8826fa0d1cc 100644 --- a/gcc/config/mips/elf.h +++ b/gcc/config/mips/elf.h @@ -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 (); \ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 5779e1e892d..829849f3d3b 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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 -- 2.30.2