aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/h8300
diff options
context:
space:
mode:
authorJeff Law <law@torsion.usersys.redhat.com>2020-05-07 17:10:42 -0400
committerJeff Law <law@torsion.usersys.redhat.com>2020-05-07 17:10:42 -0400
commitf69785246f28e9d82b5c2c96ecbef17c280142ca (patch)
treeeb6f55a39caf67dd49a5ab81b2ec06de2578da17 /gcc/config/h8300
parent91d505491c7deda61de04dd64da008e0205abf74 (diff)
downloadgcc-f69785246f28e9d82b5c2c96ecbef17c280142ca.zip
gcc-f69785246f28e9d82b5c2c96ecbef17c280142ca.tar.gz
gcc-f69785246f28e9d82b5c2c96ecbef17c280142ca.tar.bz2
Remove remnants of COFF support which was dropped eons ago.
* config/h8300/h8300.c (h8300_asm_named_section): Remove. (h8300_option_override): Remove remnants of COFF support.
Diffstat (limited to 'gcc/config/h8300')
-rw-r--r--gcc/config/h8300/h8300.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index d2fea04..2c51c7c 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -102,9 +102,6 @@ static tree h8300_handle_tiny_data_attribute (tree *, tree, tree, int, bool *);
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);
@@ -323,14 +320,6 @@ h8300_option_override (void)
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;
@@ -5457,16 +5446,6 @@ h8300_reorg (void)
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. */