aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mmix
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-08-20 23:27:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-08-20 23:27:03 +0000
commit761c70aade1cf9ccfe0316cb69360453d426e7d7 (patch)
treee811092544bd791436a36be808b611cbdf48735e /gcc/config/mmix
parent5ce6f47b378db770b570df0b83c8c24ef4e475e3 (diff)
downloadgcc-761c70aade1cf9ccfe0316cb69360453d426e7d7.zip
gcc-761c70aade1cf9ccfe0316cb69360453d426e7d7.tar.gz
gcc-761c70aade1cf9ccfe0316cb69360453d426e7d7.tar.bz2
arc.c (output_shift): Use stdio instead of asm_fprintf.
* arc.c (output_shift): Use stdio instead of asm_fprintf. * arm.c (thumb_output_function_prologue): Likewise. * avr.c (print_operand): Likewise. * c4x.c (c4x_print_operand): Likewise. * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE, ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise. * cris.c (cris_target_asm_function_prologue, cris_asm_output_mi_thunk): Likewise. * h8300.c (print_operand): Likewise. * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. * ip2k.c (print_operand): Likewise. Fix format specifier. * m68hc11.c (asm_print_register, print_operand, print_operand_address): Use stdio instead of asm_fprintf. (print_operand_address): Fix format specifier. * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of asm_fprintf. * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise. * m68k.c (m68k_output_function_prologue, m68k_output_function_epilogue, print_operand): Likewise. * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label): Likewise. Fix format specifier. * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise. From-SVN: r56472
Diffstat (limited to 'gcc/config/mmix')
-rw-r--r--gcc/config/mmix/mmix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index 5820138..cbda525 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -785,13 +785,13 @@ mmix_asm_output_mi_thunk (stream, fndecl, delta, func)
const char *regname = reg_names[MMIX_FIRST_INCOMING_ARG_REGNUM];
if (delta >= 0 && delta < 65536)
- asm_fprintf (stream, "\tINCL %s,%d\n", delta, regname);
+ fprintf (stream, "\tINCL %s,%d\n", regname, delta);
else if (delta < 0 && delta >= -255)
- asm_fprintf (stream, "\tSUBU %s,%s,%d\n", regname, regname, -delta);
+ fprintf (stream, "\tSUBU %s,%s,%d\n", regname, regname, -delta);
else
{
mmix_output_register_setting (stream, 255, delta, 1);
- asm_fprintf (stream, "\tADDU %s,%s,$255\n", regname, regname);
+ fprintf (stream, "\tADDU %s,%s,$255\n", regname, regname);
}
fprintf (stream, "\tJMP ");
@@ -1539,9 +1539,9 @@ mmix_asm_weaken_label (stream, name)
FILE * stream ATTRIBUTE_UNUSED;
const char * name ATTRIBUTE_UNUSED;
{
- asm_fprintf (stream, "\t.weak ");
+ fprintf (stream, "\t.weak ");
assemble_name (stream, name);
- asm_fprintf (stream, " ! mmixal-incompatible\n");
+ fprintf (stream, " ! mmixal-incompatible\n");
}
/* MAKE_DECL_ONE_ONLY. */