diff options
author | Bernardo Innocenti <bernie@develer.com> | 2003-08-22 18:52:56 +0200 |
---|---|---|
committer | Bernardo Innocenti <bernie@gcc.gnu.org> | 2003-08-22 18:52:56 +0200 |
commit | 02ac9ec6cb1f78be135ef62d1769c7b5030704bb (patch) | |
tree | 84555f5bd1c02ef210595bd816e526b6f16572bb /gcc/config/m68k/m68k.c | |
parent | dac4a0ded660fcc02eb7ba7355b58bea666ef0ff (diff) | |
download | gcc-02ac9ec6cb1f78be135ef62d1769c7b5030704bb.zip gcc-02ac9ec6cb1f78be135ef62d1769c7b5030704bb.tar.gz gcc-02ac9ec6cb1f78be135ef62d1769c7b5030704bb.tar.bz2 |
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
Diffstat (limited to 'gcc/config/m68k/m68k.c')
-rw-r--r-- | gcc/config/m68k/m68k.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index cd5311e..cbdf183 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, |