This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] ip2k.c: Remove asm_output_section_name().


Hi,

Attached is a patch to remove asm_output_section_name() as it is
unused.

Built cc1.  OK to apply?

Kazu Hirata

2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>

	* config/ip2k/ip2k-protos.h: Remove the prototype for
	asm_output_section_name.
	* config/ip2k/ip2k.c (asm_output_section_name): Remove.

Index: ip2k-protos.h
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/config/ip2k/ip2k-protos.h,v
retrieving revision 1.9
diff -u -r1.9 ip2k-protos.h
--- ip2k-protos.h	5 Dec 2003 09:38:31 -0000	1.9
+++ ip2k-protos.h	21 Dec 2003 08:48:10 -0000
@@ -25,7 +25,6 @@
 
 #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);
Index: ip2k.c
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/config/ip2k/ip2k.c,v
retrieving revision 1.27
diff -u -r1.27 ip2k.c
--- ip2k.c	21 Dec 2003 07:29:36 -0000	1.27
+++ ip2k.c	21 Dec 2003 08:47:46 -0000
@@ -3082,16 +3082,6 @@
     }
 }
 
-
-/* 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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]