* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* m88k.c (m88k_svr3_asm_out_constructor,
m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
!OBJECT_FORMAT_ELF.
* mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
* sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
From-SVN: r47515
+2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
+ * m88k.c (m88k_svr3_asm_out_constructor,
+ m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
+ !OBJECT_FORMAT_ELF.
+ * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
+ * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
+ * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
+
2001-12-01 Geoff Keating <geoffk@redhat.com>
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
static tree h8300_handle_tiny_data_attribute PARAMS ((tree *, tree, tree, int, bool *));
static void h8300_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
static void h8300_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
+#ifndef OBJECT_FORMAT_ELF
static void h8300_asm_named_section PARAMS ((const char *, unsigned int));
+#endif
/* CPU_TYPE, says what cpu we're compiling for. */
int cpu_type;
return 0;
}
+#ifndef OBJECT_FORMAT_ELF
static void
h8300_asm_named_section (name, flags)
const char *name;
/* ??? Perhaps we should be using default_coff_asm_named_section. */
fprintf (asm_out_file, "\t.section %s\n", name);
}
+#endif /* ! OBJECT_FORMAT_ELF */
static void m88k_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
static void m88k_output_function_end_prologue PARAMS ((FILE *));
static void m88k_output_function_begin_epilogue PARAMS ((FILE *));
-#ifdef INIT_SECTION_ASM_OP
+#if defined (CTOR_LIST_BEGIN) && !defined (OBJECT_FORMAT_ELF)
static void m88k_svr3_asm_out_constructor PARAMS ((rtx, int));
static void m88k_svr3_asm_out_destructor PARAMS ((rtx, int));
#endif
}
}
-#ifdef INIT_SECTION_ASM_OP
+#if defined (CTOR_LIST_BEGIN) && !defined (OBJECT_FORMAT_ELF)
static void
m88k_svr3_asm_out_constructor (symbol, priority)
rtx symbol;
for (i = 1; i < 4; i++)
assemble_integer (constm1_rtx, UNITS_PER_WORD, BITS_PER_WORD, 1);
}
-#endif
+#endif /* INIT_SECTION_ASM_OP && ! OBJECT_FORMAT_ELF */
/* Adjust the cost of INSN based on the relationship between INSN that
is dependent on DEP_INSN through the dependence LINK. The default
static int mcore_dllimport_p PARAMS ((tree));
const struct attribute_spec mcore_attribute_table[];
static tree mcore_handle_naked_attribute PARAMS ((tree *, tree, tree, int, bool *));
+#ifdef OBJECT_FORMAT_ELF
static void mcore_asm_named_section PARAMS ((const char *,
unsigned int));
+#endif
\f
/* Initialize the GCC target structure. */
#ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES
return lookup_attribute ("naked", DECL_ATTRIBUTES (current_function_decl)) != NULL_TREE;
}
+#ifdef OBJECT_FORMAT_ELF
static void
mcore_asm_named_section (name, flags)
const char *name;
{
fprintf (asm_out_file, "\t.section %s\n", name);
}
+#endif /* OBJECT_FORMAT_ELF */
static tree sh_handle_trap_exit_attribute PARAMS ((tree *, tree, tree, int, bool *));
static void sh_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
static void sh_insert_attributes PARAMS ((tree, tree *));
+#ifndef OBJECT_FORMAT_ELF
static void sh_asm_named_section PARAMS ((const char *, unsigned int));
+#endif
static int sh_adjust_cost PARAMS ((rtx, rtx, rtx, int));
\f
/* Initialize the GCC target structure. */
return 0;
}
+#ifndef OBJECT_FORMAT_ELF
static void
sh_asm_named_section (name, flags)
const char *name;
/* ??? Perhaps we should be using default_coff_asm_named_section. */
fprintf (asm_out_file, "\t.section %s\n", name);
}
+#endif /* ! OBJECT_FORMAT_ELF */
/* A C statement (sans semicolon) to update the integer variable COST
based on the relationship between INSN that is dependent on
int));
static void sparc_nonflat_function_prologue PARAMS ((FILE *, HOST_WIDE_INT,
int));
+#ifdef OBJECT_FORMAT_ELF
static void sparc_elf_asm_named_section PARAMS ((const char *, unsigned int));
-
+#endif
static void ultrasparc_sched_reorder PARAMS ((FILE *, int, rtx *, int));
static int ultrasparc_variable_issue PARAMS ((rtx));
static void ultrasparc_sched_init PARAMS ((void));
sizeof (ultra_pipe_hist[0]), &mark_ultrasparc_pipeline_state);
}
+#ifdef OBJECT_FORMAT_ELF
static void
sparc_elf_asm_named_section (name, flags)
const char *name;
fputc ('\n', asm_out_file);
}
+#endif /* OBJECT_FORMAT_ELF */