From f6bf809f6cc1484155962bfc9020c42ecb839e58 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 21 Dec 2003 18:40:48 +0000 Subject: [PATCH] ip2k-protos.h: Remove the prototype for asm_output_section_name. * config/ip2k/ip2k-protos.h: Remove the prototype for asm_output_section_name. * config/ip2k/ip2k.c (asm_output_section_name): Remove. From-SVN: r74911 --- gcc/ChangeLog | 6 ++++++ gcc/config/ip2k/ip2k-protos.h | 1 - gcc/config/ip2k/ip2k.c | 10 ---------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 848d486c152..60ec86114f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-12-21 Kazu Hirata + + * config/ip2k/ip2k-protos.h: Remove the prototype for + asm_output_section_name. + * config/ip2k/ip2k.c (asm_output_section_name): Remove. + 2003-12-21 Kazu Hirata * alias.c: Fix comment formatting. diff --git a/gcc/config/ip2k/ip2k-protos.h b/gcc/config/ip2k/ip2k-protos.h index e831f2f90a7..1c4355ff92c 100644 --- a/gcc/config/ip2k/ip2k-protos.h +++ b/gcc/config/ip2k/ip2k-protos.h @@ -25,7 +25,6 @@ extern int find_one_clear_bit_p (HOST_WIDE_INT); #ifdef TREE_CODE extern void unique_section (tree, int); -extern void asm_output_section_name (FILE *, tree, const char *, int); extern int valid_machine_type_attribute (tree, tree, tree, tree); extern int valid_machine_decl_attribute (tree, tree, tree, tree); extern int ip2k_return_pops_args (tree, tree, int); diff --git a/gcc/config/ip2k/ip2k.c b/gcc/config/ip2k/ip2k.c index b8a9eedef34..cb73b39234b 100644 --- a/gcc/config/ip2k/ip2k.c +++ b/gcc/config/ip2k/ip2k.c @@ -3082,16 +3082,6 @@ unique_section (tree decl, int reloc ATTRIBUTE_UNUSED) } } - -/* Output section name to file FILE. */ - -void -asm_output_section_name (FILE *file, tree decl ATTRIBUTE_UNUSED, - const char *name, int reloc ATTRIBUTE_UNUSED) -{ - fprintf (file, ".section %s\n", name); -} - /* Return value is nonzero if pseudos that have been assigned to registers of class CLASS would likely be spilled because registers of CLASS are needed for spill registers. */