+2020-05-07 Jeff Law <law@redhat.com>
+
+ * config/h8300/h8300.c (h8300_asm_named_section): Remove.
+ (h8300_option_override): Remove remnants of COFF support.
+
2020-05-07 Alan Modra <amodra@gmail.com>
* tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Replace
static void h8300_print_operand_address (FILE *, machine_mode, rtx);
static void h8300_print_operand (FILE *, rtx, int);
static bool h8300_print_operand_punct_valid_p (unsigned char code);
-#ifndef OBJECT_FORMAT_ELF
-static void h8300_asm_named_section (const char *, unsigned int, tree);
-#endif
static int h8300_register_move_cost (machine_mode, reg_class_t, reg_class_t);
static int h8300_and_costs (rtx);
static int h8300_shift_costs (rtx);
static const char *const h8_pop_ops[2] = { "pop" , "pop.l" };
static const char *const h8_mov_ops[2] = { "mov.w", "mov.l" };
-#ifndef OBJECT_FORMAT_ELF
- if (TARGET_H8300SX)
- {
- error ("%<-msx%> is not supported in coff");
- target_flags |= MASK_H8300S;
- }
-#endif
-
if (TARGET_H8300)
{
cpu_type = (int) CPU_H8300;
shorten_branches (get_insns ());
}
-#ifndef OBJECT_FORMAT_ELF
-static void
-h8300_asm_named_section (const char *name, unsigned int flags ATTRIBUTE_UNUSED,
- tree decl)
-{
- /* ??? Perhaps we should be using default_coff_asm_named_section. */
- fprintf (asm_out_file, "\t.section %s\n", name);
-}
-#endif /* ! OBJECT_FORMAT_ELF */
-
/* Nonzero if X is a constant address suitable as an 8-bit absolute,
which is a special case of the 'R' operand. */