m68k.c (m68k_coff_asm_named_section): remove unused function.
authorBernardo Innocenti <bernie@develer.com>
Fri, 22 Aug 2003 16:52:56 +0000 (18:52 +0200)
committerBernardo Innocenti <bernie@gcc.gnu.org>
Fri, 22 Aug 2003 16:52:56 +0000 (18:52 +0200)
* gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused
function.
* gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise.

From-SVN: r70690

gcc/ChangeLog
gcc/config/m68k/m68k.c

index 754d54a6942ac939a2b3e988310f86296fb2e54a..113b98b55a786640c2c39890f5b80250e46de49a 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/i386/i386.c (const_int_1_operand): Simplify an
index cd5311e94cd2444005f12923f418ee7da25ed6e8..cbdf183745cc7044bcacc31e9e0313b8a99b3953 100644 (file)
@@ -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);
@@ -3346,35 +3342,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
 m68k_hp320_internal_label (FILE *stream, const char *prefix,