* arm-protos.h (rdata_section, zero_init_section, common_section):
Prototype.
* arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
* avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
traditional mode stringification.
* function.c (thread_prologue_and_epilogue_insns): Wrap variable
in macros controling its use.
* rtlanal.c: Include tm_p.h.
* varasm.c (asm_output_aligned_bss): Mark parameter with
ATTRIBUTE_UNUSED.
(assemble_constant_align, assemble_start_function, assemble_align,
assemble_variable, assemble_trampoline_template,
output_constant_def_contents): Wrap potentially empty if-stmt body
in brackets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46360
138bc75d-0d04-0410-961f-
82ee72b054a4
2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * Makefile.in (rtlanal.o): Depend on $(TM_P_H).
+ * arm-protos.h (rdata_section, zero_init_section, common_section):
+ Prototype.
+ * arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
+ * avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
+ traditional mode stringification.
+ * function.c (thread_prologue_and_epilogue_insns): Wrap variable
+ in macros controling its use.
+ * rtlanal.c: Include tm_p.h.
+ * varasm.c (asm_output_aligned_bss): Mark parameter with
+ ATTRIBUTE_UNUSED.
+ (assemble_constant_align, assemble_start_function, assemble_align,
+ assemble_variable, assemble_trampoline_template,
+ output_constant_def_contents): Wrap potentially empty if-stmt body
+ in brackets.
+
+2001-10-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
* a29k-protos.h (literal_section): Prototype.
* a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
* a29k.md: Ensure function pointers are prototyped.
hard-reg-set.h $(BASIC_BLOCK_H)
$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
-rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) hard-reg-set.h
+rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) toplev.h $(RTL_H) hard-reg-set.h $(TM_P_H)
errors.o : errors.c $(GCONFIG_H) $(SYSTEM_H) errors.h
$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
#ifndef GCC_ARM_PROTOS_H
#define GCC_ARM_PROTOS_H
+extern void rdata_section PARAMS ((void));
extern void arm_override_options PARAMS ((void));
extern int use_return_insn PARAMS ((int));
extern int arm_regno_class PARAMS ((int));
extern void aof_add_import PARAMS ((char *));
extern void aof_delete_import PARAMS ((char *));
extern void aof_dump_imports PARAMS ((FILE *));
+extern void zero_init_section PARAMS ((void));
+extern void common_section PARAMS ((void));
#endif /* AOF_ASSEMBLER */
#endif /* RTX_CODE */
#define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL1, DECL2) \
do \
{ \
- char * LABEL1 = XSTR (XEXP (DECL_RTL (decl), 0), 0); \
- char * LABEL2 = IDENTIFIER_POINTER (DECL2); \
+ const char *const LABEL1 = XSTR (XEXP (DECL_RTL (decl), 0), 0); \
+ const char *const LABEL2 = IDENTIFIER_POINTER (DECL2); \
\
if (TARGET_THUMB && TREE_CODE (DECL1) == FUNCTION_DECL) \
{ \
If this macro is not defined, nothing special is output at the end
of the jump-table. */
-#define ASM_OUTPUT_SKIP(STREAM, n) \
-fprintf (STREAM, "\t.skip %d,0\n", n)
+#define ASM_OUTPUT_SKIP(STREAM, N) \
+fprintf (STREAM, "\t.skip %d,0\n", N)
/* A C statement to output to the stdio stream STREAM an assembler
instruction to advance the location counter by NBYTES bytes.
Those bytes should be zero when loaded. NBYTES will be a C
{
int inserted = 0;
edge e;
+#if defined (HAVE_sibcall_epilogue) || defined (HAVE_epilogue) || defined (HAVE_return) || defined (HAVE_prologue)
rtx seq;
+#endif
#ifdef HAVE_prologue
rtx prologue_end = NULL_RTX;
#endif
#include "toplev.h"
#include "rtl.h"
#include "hard-reg-set.h"
+#include "tm_p.h"
/* Forward declarations */
static void set_of_1 PARAMS ((rtx, rtx, void *));
static void
asm_output_aligned_bss (file, decl, name, size, align)
FILE *file;
- tree decl;
+ tree decl ATTRIBUTE_UNUSED;
const char *name;
int size, align;
{
#endif
if (align > BITS_PER_UNIT)
- ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
+ {
+ ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
+ }
}
/* Output a string of literal assembler code
/* Tell assembler to move to target machine's alignment for functions. */
align = floor_log2 (FUNCTION_BOUNDARY / BITS_PER_UNIT);
if (align > 0)
- ASM_OUTPUT_ALIGN (asm_out_file, align);
+ {
+ ASM_OUTPUT_ALIGN (asm_out_file, align);
+ }
/* Handle a user-specified function alignment.
Note that we still need to align to FUNCTION_BOUNDARY, as above,
int align;
{
if (align > BITS_PER_UNIT)
- ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
+ {
+ ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
+ }
}
/* Assemble a string constant with the specified C string as contents. */
/* Output the alignment of this data. */
if (align > BITS_PER_UNIT)
- ASM_OUTPUT_ALIGN (asm_out_file,
- floor_log2 (DECL_ALIGN (decl) / BITS_PER_UNIT));
+ {
+ ASM_OUTPUT_ALIGN (asm_out_file,
+ floor_log2 (DECL_ALIGN (decl) / BITS_PER_UNIT));
+ }
/* Do any machine/system dependent processing of the object. */
#ifdef ASM_DECLARE_OBJECT_NAME
/* Write the assembler code to define one. */
align = floor_log2 (TRAMPOLINE_ALIGNMENT / BITS_PER_UNIT);
if (align > 0)
- ASM_OUTPUT_ALIGN (asm_out_file, align);
+ {
+ ASM_OUTPUT_ALIGN (asm_out_file, align);
+ }
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "LTRAMP", 0);
TRAMPOLINE_TEMPLATE (asm_out_file);
}
if (align > BITS_PER_UNIT)
- ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
+ {
+ ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (align / BITS_PER_UNIT));
+ }
/* Output the label itself. */
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "LC", labelno);