aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-05-12 15:59:14 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-05-12 13:59:14 +0000
commitc394cdb752e4e51df9fa2f49b4d69c57b85f5d91 (patch)
tree027098b65893229efe6e55b389ca04b04cfeda53 /gcc
parent70498da39730338bda786e105ecf980194b9f955 (diff)
downloadgcc-c394cdb752e4e51df9fa2f49b4d69c57b85f5d91.zip
gcc-c394cdb752e4e51df9fa2f49b4d69c57b85f5d91.tar.gz
gcc-c394cdb752e4e51df9fa2f49b4d69c57b85f5d91.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/elf.h2
-rw-r--r--gcc/config/mips/mips.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 55480b4..6c3b37c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h
index a719d4b..8826fa0 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 5779e1e..829849f 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