summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-12 13:59:14 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-12 13:59:14 +0000
commitf70391a126d6bbd87cc7ddd2cc84aaf1c6ce1192 (patch)
tree027098b65893229efe6e55b389ca04b04cfeda53
parent7c4a3dc79b466f5a22d1cf63e00588e7bdd6b308 (diff)
downloadppe42-gcc-f70391a126d6bbd87cc7ddd2cc84aaf1c6ce1192.tar.gz
ppe42-gcc-f70391a126d6bbd87cc7ddd2cc84aaf1c6ce1192.zip
* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
* mips/mips.h (ASM_OUTPUT_SKIP): Fix typo in the previous patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66717 138bc75d-0d04-0410-961f-82ee72b054a4
-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 55480b4f995..6c3b37c8342 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 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
OpenPOWER on IntegriCloud