diff options
author | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-22 16:52:56 +0000 |
---|---|---|
committer | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-22 16:52:56 +0000 |
commit | ae450ae07c847c97e1488392ca165fb23dd17f85 (patch) | |
tree | 84555f5bd1c02ef210595bd816e526b6f16572bb /gcc/config | |
parent | afa71a0c21b05675d66255537964556cce0a2eb9 (diff) |
* gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused
function.
* gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70690 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-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 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, |