
This patch removes some more dead code from the m68k back-end.


2003-08-22  Bernardo Innocenti  <bernie@develer.com>

	* gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): Remove unused
	function.
	* gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): Likewise.

diff -u -3 -p -u -p -r1.99 m68k.c
--- gcc/config/m68k/m68k.c	22 Aug 2003 04:02:50 -0000	1.99
+++ gcc/config/m68k/m68k.c	22 Aug 2003 04:30:11 -0000
@@ -53,10 +53,6 @@ static rtx find_addr_reg (rtx);
 static const char *singlemove_string (rtx *);
 static void m68k_output_function_prologue (FILE *, HOST_WIDE_INT);
 static void m68k_output_function_epilogue (FILE *, HOST_WIDE_INT);
-static void m68k_coff_asm_named_section (const char *, unsigned int);
-#ifdef CTOR_LIST_BEGIN
-static void m68k_svr3_asm_out_constructor (rtx, int);
-#endif
 #ifdef HPUX_ASM
 static void m68k_hp320_internal_label (FILE *, const char *, unsigned long);
 static void m68k_hp320_file_start (void);
@@ -3345,35 +3341,6 @@ output_xorsi3 (rtx *operands)
     }
   return "eor%.l %2,%0";
 }
-
-/* Output assembly to switch to section NAME with attribute FLAGS.  */
-
-static void
-m68k_coff_asm_named_section (const char *name, unsigned int flags)
-{
-  char flagchar;
-
-  if (flags & SECTION_WRITE)
-    flagchar = 'd';
-  else
-    flagchar = 'x';
-
-  fprintf (asm_out_file, "\t.section\t%s,\"%c\"\n", name, flagchar);
-}
-
-#ifdef CTOR_LIST_BEGIN
-static void
-m68k_svr3_asm_out_constructor (rtx symbol, int priority ATTRIBUTE_UNUSED)
-{
-  rtx xop[2];
-
-  xop[1] = symbol;
-  xop[0] = gen_rtx_MEM (SImode, gen_rtx_PRE_DEC (SImode, stack_pointer_rtx));
-
-  init_section ();
-  output_asm_insn (output_move_simode (xop), xop);
-}
-#endif
 
 #ifdef HPUX_ASM
 static void
