mips-protos.h (mips_declare_object): Add printf attribute.
* config/mips/mips-protos.h (mips_declare_object): Add printf attribute. * config/mips/mips.c (mips_declare_object_name): Fix format argument. From-SVN: r100284
This commit is contained in:
parent
1c320f82ab
commit
99a3237ac3
|
@ -1,3 +1,10 @@
|
||||||
|
2005-05-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
|
* config/mips/mips-protos.h (mips_declare_object): Add printf
|
||||||
|
attribute.
|
||||||
|
* config/mips/mips.c (mips_declare_object_name): Fix format
|
||||||
|
argument.
|
||||||
|
|
||||||
2005-05-27 Roger Sayle <roger@eyesopen.com>
|
2005-05-27 Roger Sayle <roger@eyesopen.com>
|
||||||
|
|
||||||
* reg-stack.c (compensate_edge): Remove original prototype.
|
* reg-stack.c (compensate_edge): Remove original prototype.
|
||||||
|
|
|
@ -184,7 +184,7 @@ extern void mips_declare_common_object (FILE *, const char *,
|
||||||
const char *, unsigned HOST_WIDE_INT,
|
const char *, unsigned HOST_WIDE_INT,
|
||||||
unsigned int, bool);
|
unsigned int, bool);
|
||||||
extern void mips_declare_object (FILE *, const char *, const char *,
|
extern void mips_declare_object (FILE *, const char *, const char *,
|
||||||
const char *, ...);
|
const char *, ...) ATTRIBUTE_PRINTF_4;
|
||||||
extern void mips_declare_object_name (FILE *, const char *, tree);
|
extern void mips_declare_object_name (FILE *, const char *, tree);
|
||||||
extern void mips_finish_declare_object (FILE *, tree, int, int);
|
extern void mips_finish_declare_object (FILE *, tree, int, int);
|
||||||
|
|
||||||
|
|
|
@ -5627,7 +5627,7 @@ mips_declare_object_name (FILE *stream, const char *name,
|
||||||
ASM_OUTPUT_SIZE_DIRECTIVE (stream, name, size);
|
ASM_OUTPUT_SIZE_DIRECTIVE (stream, name, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
mips_declare_object (stream, name, "", ":\n", 0);
|
mips_declare_object (stream, name, "", ":\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Implement ASM_FINISH_DECLARE_OBJECT. This is generic ELF stuff. */
|
/* Implement ASM_FINISH_DECLARE_OBJECT. This is generic ELF stuff. */
|
||||||
|
|
Loading…
Reference in New Issue