diff options
Diffstat (limited to 'gcc/config/sh/sh.c')
| -rw-r--r-- | gcc/config/sh/sh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 169684529fe..3b586dd4c63 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -161,7 +161,9 @@ static tree sh_handle_sp_switch_attribute PARAMS ((tree *, tree, tree, int, bool 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)); /* Initialize the GCC target structure. */ @@ -5631,6 +5633,7 @@ sh_can_redirect_branch (branch1, branch2) return 0; } +#ifndef OBJECT_FORMAT_ELF static void sh_asm_named_section (name, flags) const char *name; @@ -5639,6 +5642,7 @@ sh_asm_named_section (name, flags) /* ??? 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 |

