From 02ac9ec6cb1f78be135ef62d1769c7b5030704bb Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti Date: Fri, 22 Aug 2003 18:52:56 +0200 Subject: [PATCH] m68k.c (m68k_coff_asm_named_section): remove unused function. * 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 | 6 ++++++ gcc/config/m68k/m68k.c | 33 --------------------------------- 2 files changed, 6 insertions(+), 33 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 754d54a6942..113b98b55a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-08-22 bernardo innocenti + + * 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 * config/i386/i386.c (const_int_1_operand): Simplify an diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index cd5311e94cd..cbdf183745c 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -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, -- 2.30.2