aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog29
-rw-r--r--gcc/config/arc/arc.c16
-rw-r--r--gcc/config/arm/arm.c8
-rw-r--r--gcc/config/avr/avr.c6
-rw-r--r--gcc/config/c4x/c4x.c34
-rw-r--r--gcc/config/c4x/c4x.h42
-rw-r--r--gcc/config/cris/cris.c18
-rw-r--r--gcc/config/h8300/h8300.c4
-rw-r--r--gcc/config/h8300/h8300.h2
-rw-r--r--gcc/config/ip2k/ip2k.c2
-rw-r--r--gcc/config/m68hc11/m68hc11.c62
-rw-r--r--gcc/config/m68hc11/m68hc11.h8
-rw-r--r--gcc/config/m68k/amix.h2
-rw-r--r--gcc/config/m68k/atari.h2
-rw-r--r--gcc/config/m68k/m68k.c38
-rw-r--r--gcc/config/mmix/mmix.c10
-rw-r--r--gcc/config/mn10200/mn10200.h2
-rw-r--r--gcc/config/mn10300/mn10300.h2
-rw-r--r--gcc/config/v850/v850.h4
19 files changed, 161 insertions, 130 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 983c0bf..62df30a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,32 @@
+2002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * 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.
+
2002-08-15 Eric Christopher <echristo@redhat.com>
Jeff Knaggs <jknaggs@redhat.com>
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index a733340..426cc89 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -1553,24 +1553,24 @@ output_shift (operands)
output_asm_insn ("sr %4,[lp_end]", operands);
output_asm_insn ("nop\n\tnop", operands);
if (flag_pic)
- asm_fprintf (asm_out_file, "\t%s single insn loop\n",
- ASM_COMMENT_START);
+ fprintf (asm_out_file, "\t%s single insn loop\n",
+ ASM_COMMENT_START);
else
- asm_fprintf (asm_out_file, "1:\t%s single insn loop\n",
- ASM_COMMENT_START);
+ fprintf (asm_out_file, "1:\t%s single insn loop\n",
+ ASM_COMMENT_START);
output_asm_insn (shift_one, operands);
}
else
{
- asm_fprintf (asm_out_file, "1:\t%s begin shift loop\n",
- ASM_COMMENT_START);
+ fprintf (asm_out_file, "1:\t%s begin shift loop\n",
+ ASM_COMMENT_START);
output_asm_insn ("sub.f %4,%4,1", operands);
output_asm_insn ("nop", operands);
output_asm_insn ("bn.nd 2f", operands);
output_asm_insn (shift_one, operands);
output_asm_insn ("b.nd 1b", operands);
- asm_fprintf (asm_out_file, "2:\t%s end shift loop\n",
- ASM_COMMENT_START);
+ fprintf (asm_out_file, "2:\t%s end shift loop\n",
+ ASM_COMMENT_START);
}
}
}
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 5ff47c2..d44ec80 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -10283,13 +10283,13 @@ thumb_output_function_prologue (f, size)
#define STUB_NAME ".real_start_of"
- asm_fprintf (f, "\t.code\t16\n");
+ fprintf (f, "\t.code\t16\n");
#ifdef ARM_PE
if (arm_dllexport_name_p (name))
name = arm_strip_name_encoding (name);
#endif
asm_fprintf (f, "\t.globl %s%U%s\n", STUB_NAME, name);
- asm_fprintf (f, "\t.thumb_func\n");
+ fprintf (f, "\t.thumb_func\n");
asm_fprintf (f, "%s%U%s:\n", STUB_NAME, name);
}
@@ -10299,7 +10299,7 @@ thumb_output_function_prologue (f, size)
{
int num_pushes;
- asm_fprintf (f, "\tpush\t{");
+ fprintf (f, "\tpush\t{");
num_pushes = ARM_NUM_INTS (current_function_pretend_args_size);
@@ -10309,7 +10309,7 @@ thumb_output_function_prologue (f, size)
asm_fprintf (f, "%r%s", regno,
regno == LAST_ARG_REGNUM ? "" : ", ");
- asm_fprintf (f, "}\n");
+ fprintf (f, "}\n");
}
else
asm_fprintf (f, "\tsub\t%r, %r, #%d\n",
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index a8f9bda..e3686b0 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -1156,12 +1156,12 @@ print_operand (file, x, code)
fatal_insn ("internal compiler error. Unknown mode:", x);
REAL_VALUE_FROM_CONST_DOUBLE (rv, x);
REAL_VALUE_TO_TARGET_SINGLE (rv, val);
- asm_fprintf (file, "0x%lx", val);
+ fprintf (file, "0x%lx", val);
}
else if (code == 'j')
- asm_fprintf (file, cond_string (GET_CODE (x)));
+ fputs (cond_string (GET_CODE (x)), file);
else if (code == 'k')
- asm_fprintf (file, cond_string (reverse_condition (GET_CODE (x))));
+ fputs (cond_string (reverse_condition (GET_CODE (x))), file);
else
print_operand_address (file, x);
}
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index f5c987c..5b4c570 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -1850,7 +1850,7 @@ c4x_print_operand (file, op, letter)
{
case '#': /* Delayed. */
if (final_sequence)
- asm_fprintf (file, "d");
+ fprintf (file, "d");
return;
}
@@ -1859,7 +1859,7 @@ c4x_print_operand (file, op, letter)
{
case 'A': /* Direct address. */
if (code == CONST_INT || code == SYMBOL_REF || code == CONST)
- asm_fprintf (file, "@");
+ fprintf (file, "@");
break;
case 'H': /* Sethi. */
@@ -1892,9 +1892,9 @@ c4x_print_operand (file, op, letter)
op1 = XEXP (XEXP (op, 0), 1);
if (GET_CODE(op1) == CONST_INT || GET_CODE(op1) == SYMBOL_REF)
{
- asm_fprintf (file, "\t%s\t@", TARGET_C3X ? "ldp" : "ldpk");
+ fprintf (file, "\t%s\t@", TARGET_C3X ? "ldp" : "ldpk");
output_address (XEXP (adjust_address (op, VOIDmode, 1), 0));
- asm_fprintf (file, "\n");
+ fprintf (file, "\n");
}
}
return;
@@ -1905,9 +1905,9 @@ c4x_print_operand (file, op, letter)
&& (GET_CODE (XEXP (op, 0)) == CONST
|| GET_CODE (XEXP (op, 0)) == SYMBOL_REF))
{
- asm_fprintf (file, "%s\t@", TARGET_C3X ? "ldp" : "ldpk");
+ fprintf (file, "%s\t@", TARGET_C3X ? "ldp" : "ldpk");
output_address (XEXP (op, 0));
- asm_fprintf (file, "\n\t");
+ fprintf (file, "\n\t");
}
return;
@@ -1927,7 +1927,7 @@ c4x_print_operand (file, op, letter)
case 'U': /* Call/callu. */
if (code != SYMBOL_REF)
- asm_fprintf (file, "u");
+ fprintf (file, "u");
return;
default:
@@ -1964,43 +1964,43 @@ c4x_print_operand (file, op, letter)
break;
case NE:
- asm_fprintf (file, "ne");
+ fprintf (file, "ne");
break;
case EQ:
- asm_fprintf (file, "eq");
+ fprintf (file, "eq");
break;
case GE:
- asm_fprintf (file, "ge");
+ fprintf (file, "ge");
break;
case GT:
- asm_fprintf (file, "gt");
+ fprintf (file, "gt");
break;
case LE:
- asm_fprintf (file, "le");
+ fprintf (file, "le");
break;
case LT:
- asm_fprintf (file, "lt");
+ fprintf (file, "lt");
break;
case GEU:
- asm_fprintf (file, "hs");
+ fprintf (file, "hs");
break;
case GTU:
- asm_fprintf (file, "hi");
+ fprintf (file, "hi");
break;
case LEU:
- asm_fprintf (file, "ls");
+ fprintf (file, "ls");
break;
case LTU:
- asm_fprintf (file, "lo");
+ fprintf (file, "lo");
break;
case SYMBOL_REF:
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index 0318147..ace2397 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -1733,7 +1733,7 @@ c4x_file_end (FILE)
PREFIX is the class of label and NUM is the number within the class. */
#define ASM_OUTPUT_INTERNAL_LABEL(FILE, PREFIX, NUM) \
-asm_fprintf (FILE, "%s%d:\n", PREFIX, NUM)
+ fprintf (FILE, "%s%d:\n", PREFIX, NUM)
/* This is how to store into the string LABEL
the symbol_ref name of an internal numbered label where
@@ -1993,27 +1993,27 @@ do { fprintf (asm_out_file, "\t.sdef\t"); \
{ \
if (TARGET_C3X) \
{ \
- asm_fprintf (FILE, "\tldiu\t0,ar1\n"); \
- asm_fprintf (FILE, "\tlsh\t16,ar1\n"); \
- asm_fprintf (FILE, "\tor\t0,ar1\n"); \
- asm_fprintf (FILE, "\tldiu\t0,ar0\n"); \
- asm_fprintf (FILE, "\tbud\tar1\n"); \
- asm_fprintf (FILE, "\tlsh\t16,ar0\n"); \
- asm_fprintf (FILE, "\tor\t0,ar0\n"); \
- asm_fprintf (FILE, "\tor\t1000h,st\n"); \
+ fprintf (FILE, "\tldiu\t0,ar1\n"); \
+ fprintf (FILE, "\tlsh\t16,ar1\n"); \
+ fprintf (FILE, "\tor\t0,ar1\n"); \
+ fprintf (FILE, "\tldiu\t0,ar0\n"); \
+ fprintf (FILE, "\tbud\tar1\n"); \
+ fprintf (FILE, "\tlsh\t16,ar0\n"); \
+ fprintf (FILE, "\tor\t0,ar0\n"); \
+ fprintf (FILE, "\tor\t1000h,st\n"); \
} \
else \
{ \
- asm_fprintf (FILE, "\tlaj\t$+4\n"); \
- asm_fprintf (FILE, "\taddi3\t4,r11,ar0\n"); \
- asm_fprintf (FILE, "\tlda\t*ar0,ar1\n"); \
- asm_fprintf (FILE, "\tlda\t*+ar0(1),ar0\n"); \
- asm_fprintf (FILE, "\tbud\tar1\n"); \
- asm_fprintf (FILE, "\tnop\n"); \
- asm_fprintf (FILE, "\tnop\n"); \
- asm_fprintf (FILE, "\tor\t1000h,st\n"); \
- asm_fprintf (FILE, "\t.word\t0\n"); \
- asm_fprintf (FILE, "\t.word\t0\n"); \
+ fprintf (FILE, "\tlaj\t$+4\n"); \
+ fprintf (FILE, "\taddi3\t4,r11,ar0\n"); \
+ fprintf (FILE, "\tlda\t*ar0,ar1\n"); \
+ fprintf (FILE, "\tlda\t*+ar0(1),ar0\n"); \
+ fprintf (FILE, "\tbud\tar1\n"); \
+ fprintf (FILE, "\tnop\n"); \
+ fprintf (FILE, "\tnop\n"); \
+ fprintf (FILE, "\tor\t1000h,st\n"); \
+ fprintf (FILE, "\t.word\t0\n"); \
+ fprintf (FILE, "\t.word\t0\n"); \
} \
}
@@ -2076,13 +2076,13 @@ do { fprintf (asm_out_file, "\t.sdef\t"); \
#define BSS_SECTION_ASM_OP "\t.bss"
#define ASM_OUTPUT_REG_PUSH(FILE, REGNO) \
- asm_fprintf (FILE, "\tpush\t%s\n", reg_names[REGNO])
+ fprintf (FILE, "\tpush\t%s\n", reg_names[REGNO])
/* This is how to output an insn to pop a register from the stack.
It need not be very fast code. */
#define ASM_OUTPUT_REG_POP(FILE, REGNO) \
- asm_fprintf (FILE, "\tpop\t%s\n", reg_names[REGNO])
+ fprintf (FILE, "\tpop\t%s\n", reg_names[REGNO])
/* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits
is done just by pretending it is already truncated. */
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 6a42c87..a84933f 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -864,9 +864,9 @@ cris_target_asm_function_prologue (file, size)
/* Set up the PIC register. */
if (current_function_uses_pic_offset_table)
- asm_fprintf (file, "\tmove.d $pc,$%s\n\tsub.d .:GOTOFF,$%s\n",
- reg_names[PIC_OFFSET_TABLE_REGNUM],
- reg_names[PIC_OFFSET_TABLE_REGNUM]);
+ fprintf (file, "\tmove.d $pc,$%s\n\tsub.d .:GOTOFF,$%s\n",
+ reg_names[PIC_OFFSET_TABLE_REGNUM],
+ reg_names[PIC_OFFSET_TABLE_REGNUM]);
if (TARGET_PDEBUG)
fprintf (file,
@@ -2580,13 +2580,13 @@ cris_asm_output_mi_thunk (stream, thunkdecl, delta, funcdecl)
tree funcdecl;
{
if (delta > 0)
- asm_fprintf (stream, "\tadd%s %d,$%s\n",
- ADDITIVE_SIZE_MODIFIER (delta), delta,
- reg_names[CRIS_FIRST_ARG_REG]);
+ fprintf (stream, "\tadd%s %d,$%s\n",
+ ADDITIVE_SIZE_MODIFIER (delta), delta,
+ reg_names[CRIS_FIRST_ARG_REG]);
else if (delta < 0)
- asm_fprintf (stream, "\tsub%s %d,$%s\n",
- ADDITIVE_SIZE_MODIFIER (-delta), -delta,
- reg_names[CRIS_FIRST_ARG_REG]);
+ fprintf (stream, "\tsub%s %d,$%s\n",
+ ADDITIVE_SIZE_MODIFIER (-delta), -delta,
+ reg_names[CRIS_FIRST_ARG_REG]);
if (flag_pic)
{
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index f53e6fa..841c8b7 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -1153,10 +1153,10 @@ print_operand (file, x, code)
}
break;
case 'j':
- asm_fprintf (file, cond_string (GET_CODE (x)));
+ fputs (cond_string (GET_CODE (x)), file);
break;
case 'k':
- asm_fprintf (file, cond_string (reverse_condition (GET_CODE (x))));
+ fputs (cond_string (reverse_condition (GET_CODE (x))), file);
break;
case 's':
if (GET_CODE (x) == CONST_INT)
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 79e13e7..1ef8f78 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -1165,7 +1165,7 @@ struct cum_arg
/* This is how to output an element of a case-vector that is absolute. */
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
- asm_fprintf (FILE, "%s.L%d\n", ASM_WORD_OP, VALUE)
+ fprintf (FILE, "%s.L%d\n", ASM_WORD_OP, VALUE)
/* This is how to output an element of a case-vector that is relative. */
diff --git a/gcc/config/ip2k/ip2k.c b/gcc/config/ip2k/ip2k.c
index 94845fa..a41a7b6 100644
--- a/gcc/config/ip2k/ip2k.c
+++ b/gcc/config/ip2k/ip2k.c
@@ -1060,7 +1060,7 @@ print_operand (file, x, code)
REAL_VALUE_FROM_CONST_DOUBLE (rv, x);
REAL_VALUE_TO_TARGET_SINGLE (rv, value);
- asm_fprintf (file, "0x%x", value);
+ fprintf (file, "0x%lx", value);
}
break;
diff --git a/gcc/config/m68hc11/m68hc11.c b/gcc/config/m68hc11/m68hc11.c
index 2d97787..169381f 100644
--- a/gcc/config/m68hc11/m68hc11.c
+++ b/gcc/config/m68hc11/m68hc11.c
@@ -2099,7 +2099,7 @@ asm_print_register (file, regno)
if (TARGET_NO_DIRECT_MODE && name[0] == '*')
name++;
- asm_fprintf (file, "%s", name);
+ fprintf (file, "%s", name);
}
/* A C compound statement to output to stdio stream STREAM the
@@ -2148,7 +2148,7 @@ print_operand (file, op, letter)
else if (letter == 'T')
{
asm_print_register (file, SOFT_TMP_REGNUM);
- asm_fprintf (file, "+1");
+ fprintf (file, "+1");
return;
}
else if (letter == '#')
@@ -2161,7 +2161,7 @@ print_operand (file, op, letter)
if (letter == 'b' && S_REG_P (op))
{
asm_print_register (file, REGNO (op));
- asm_fprintf (file, "+1");
+ fprintf (file, "+1");
}
else
{
@@ -2178,7 +2178,7 @@ print_operand (file, op, letter)
asm_fprintf (file, "%0I%%hi(");
output_addr_const (file, op);
- asm_fprintf (file, ")");
+ fprintf (file, ")");
return;
}
@@ -2204,7 +2204,7 @@ print_operand (file, op, letter)
case PRE_DEC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,-", GET_MODE_SIZE (GET_MODE (op)));
+ fprintf (file, "%u,-", GET_MODE_SIZE (GET_MODE (op)));
asm_print_register (file, REGNO (XEXP (base, 0)));
}
else
@@ -2214,9 +2214,9 @@ print_operand (file, op, letter)
case POST_DEC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (op)));
+ fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (op)));
asm_print_register (file, REGNO (XEXP (base, 0)));
- asm_fprintf (file, "-");
+ fprintf (file, "-");
}
else
abort ();
@@ -2225,9 +2225,9 @@ print_operand (file, op, letter)
case POST_INC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (op)));
+ fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (op)));
asm_print_register (file, REGNO (XEXP (base, 0)));
- asm_fprintf (file, "+");
+ fprintf (file, "+");
}
else
abort ();
@@ -2236,7 +2236,7 @@ print_operand (file, op, letter)
case PRE_INC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,+", GET_MODE_SIZE (GET_MODE (op)));
+ fprintf (file, "%u,+", GET_MODE_SIZE (GET_MODE (op)));
asm_print_register (file, REGNO (XEXP (base, 0)));
}
else
@@ -2277,11 +2277,11 @@ print_operand (file, op, letter)
need_parenthesize = must_parenthesize (op);
if (need_parenthesize)
- asm_fprintf (file, "(");
+ fprintf (file, "(");
output_addr_const (file, op);
if (need_parenthesize)
- asm_fprintf (file, ")");
+ fprintf (file, ")");
}
}
@@ -2350,7 +2350,7 @@ print_operand_address (file, addr)
if (!REG_P (addr) || !REG_OK_FOR_BASE_STRICT_P (addr))
abort ();
- asm_fprintf (file, "0,");
+ fprintf (file, "0,");
asm_print_register (file, REGNO (addr));
break;
@@ -2361,7 +2361,7 @@ print_operand_address (file, addr)
case PRE_DEC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,-", GET_MODE_SIZE (GET_MODE (addr)));
+ fprintf (file, "%u,-", GET_MODE_SIZE (GET_MODE (addr)));
asm_print_register (file, REGNO (XEXP (base, 0)));
}
else
@@ -2371,9 +2371,9 @@ print_operand_address (file, addr)
case POST_DEC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (addr)));
+ fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (addr)));
asm_print_register (file, REGNO (XEXP (base, 0)));
- asm_fprintf (file, "-");
+ fprintf (file, "-");
}
else
abort ();
@@ -2382,9 +2382,9 @@ print_operand_address (file, addr)
case POST_INC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (addr)));
+ fprintf (file, "%u,", GET_MODE_SIZE (GET_MODE (addr)));
asm_print_register (file, REGNO (XEXP (base, 0)));
- asm_fprintf (file, "+");
+ fprintf (file, "+");
}
else
abort ();
@@ -2393,7 +2393,7 @@ print_operand_address (file, addr)
case PRE_INC:
if (TARGET_M6812)
{
- asm_fprintf (file, "%u,+", GET_MODE_SIZE (GET_MODE (addr)));
+ fprintf (file, "%u,+", GET_MODE_SIZE (GET_MODE (addr)));
asm_print_register (file, REGNO (XEXP (base, 0)));
}
else
@@ -2403,11 +2403,11 @@ print_operand_address (file, addr)
default:
need_parenthesis = must_parenthesize (base);
if (need_parenthesis)
- asm_fprintf (file, "(");
+ fprintf (file, "(");
output_addr_const (file, base);
if (need_parenthesis)
- asm_fprintf (file, ")");
+ fprintf (file, ")");
break;
}
break;
@@ -2425,13 +2425,13 @@ print_operand_address (file, addr)
need_parenthesis = must_parenthesize (addr);
if (need_parenthesis)
- asm_fprintf (file, "(");
+ fprintf (file, "(");
output_addr_const (file, base);
- asm_fprintf (file, "+");
+ fprintf (file, "+");
output_addr_const (file, offset);
if (need_parenthesis)
- asm_fprintf (file, ")");
+ fprintf (file, ")");
}
else if (REG_P (base) && REG_OK_FOR_BASE_STRICT_P (base))
{
@@ -2440,7 +2440,7 @@ print_operand_address (file, addr)
if (TARGET_M6812)
{
asm_print_register (file, REGNO (offset));
- asm_fprintf (file, ",");
+ fprintf (file, ",");
asm_print_register (file, REGNO (base));
}
else
@@ -2450,12 +2450,12 @@ print_operand_address (file, addr)
{
need_parenthesis = must_parenthesize (offset);
if (need_parenthesis)
- asm_fprintf (file, "(");
+ fprintf (file, "(");
output_addr_const (file, offset);
if (need_parenthesis)
- asm_fprintf (file, ")");
- asm_fprintf (file, ",");
+ fprintf (file, ")");
+ fprintf (file, ",");
asm_print_register (file, REGNO (base));
}
}
@@ -2469,17 +2469,17 @@ print_operand_address (file, addr)
if (GET_CODE (addr) == CONST_INT
&& INTVAL (addr) < 0x8000 && INTVAL (addr) >= -0x8000)
{
- asm_fprintf (file, "%d", INTVAL (addr));
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (addr));
}
else
{
need_parenthesis = must_parenthesize (addr);
if (need_parenthesis)
- asm_fprintf (file, "(");
+ fprintf (file, "(");
output_addr_const (file, addr);
if (need_parenthesis)
- asm_fprintf (file, ")");
+ fprintf (file, ")");
}
break;
}
diff --git a/gcc/config/m68hc11/m68hc11.h b/gcc/config/m68hc11/m68hc11.h
index 186599a..d42dab1 100644
--- a/gcc/config/m68hc11/m68hc11.h
+++ b/gcc/config/m68hc11/m68hc11.h
@@ -1135,7 +1135,7 @@ typedef struct m68hc11_args
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. */
#define FUNCTION_PROFILER(FILE, LABELNO) \
- asm_fprintf (FILE, "\tldy\t.LP%d\n\tjsr mcount\n", (LABELNO))
+ fprintf (FILE, "\tldy\t.LP%d\n\tjsr mcount\n", (LABELNO))
/* Length in units of the trampoline for entering a nested function. */
#define TRAMPOLINE_SIZE (TARGET_M6811 ? 11 : 9)
@@ -1650,18 +1650,18 @@ do { \
/* This is how to output an element of a case-vector that is relative. */
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
- asm_fprintf (FILE, "\t%s\tL%d-L%d\n", integer_asm_op (2, TRUE), VALUE, REL)
+ fprintf (FILE, "\t%s\tL%d-L%d\n", integer_asm_op (2, TRUE), VALUE, REL)
/* This is how to output an element of a case-vector that is absolute. */
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
- asm_fprintf (FILE, "\t%s\t.L%d\n", integer_asm_op (2, TRUE), VALUE)
+ fprintf (FILE, "\t%s\t.L%d\n", integer_asm_op (2, TRUE), VALUE)
/* This is how to output an assembler line that says to advance the
location counter to a multiple of 2**LOG bytes. */
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
do { \
if ((LOG) > 1) \
- asm_fprintf ((FILE), "%s\n", ALIGN_ASM_OP); \
+ fprintf ((FILE), "%s\n", ALIGN_ASM_OP); \
} while (0)
diff --git a/gcc/config/m68k/amix.h b/gcc/config/m68k/amix.h
index 998240e..b302d0e 100644
--- a/gcc/config/m68k/amix.h
+++ b/gcc/config/m68k/amix.h
@@ -146,6 +146,6 @@ do { \
#undef ASM_OUTPUT_INTERNAL_LABEL
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
if (flag_pic && !strcmp(PREFIX,"LC")) \
- asm_fprintf (FILE, "%s%%%d:\n", PREFIX, NUM); \
+ fprintf (FILE, "%s%%%d:\n", PREFIX, NUM); \
else \
asm_fprintf (FILE, "%0L%s%d:\n", PREFIX, NUM)
diff --git a/gcc/config/m68k/atari.h b/gcc/config/m68k/atari.h
index 12b106a..54ea0c2 100644
--- a/gcc/config/m68k/atari.h
+++ b/gcc/config/m68k/atari.h
@@ -103,6 +103,6 @@ do { \
#undef ASM_OUTPUT_INTERNAL_LABEL
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
if (flag_pic && !strcmp(PREFIX,"LC")) \
- asm_fprintf (FILE, "%s%%%d:\n", PREFIX, NUM); \
+ fprintf (FILE, "%s%%%d:\n", PREFIX, NUM); \
else \
asm_fprintf (FILE, "%0L%s%d:\n", PREFIX, NUM)
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 43f0fbb..5302ff2 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -279,13 +279,15 @@ m68k_output_function_prologue (stream, size)
{
/* on the 68040, pea + move is faster than link.w 0 */
#ifdef MOTOROLA
- asm_fprintf (stream, "\tpea (%s)\n\tmove.l %s,%s\n",
- reg_names[FRAME_POINTER_REGNUM], reg_names[STACK_POINTER_REGNUM],
- reg_names[FRAME_POINTER_REGNUM]);
+ fprintf (stream, "\tpea (%s)\n\tmove.l %s,%s\n",
+ reg_names[FRAME_POINTER_REGNUM],
+ reg_names[STACK_POINTER_REGNUM],
+ reg_names[FRAME_POINTER_REGNUM]);
#else
- asm_fprintf (stream, "\tpea %s@\n\tmovel %s,%s\n",
- reg_names[FRAME_POINTER_REGNUM], reg_names[STACK_POINTER_REGNUM],
- reg_names[FRAME_POINTER_REGNUM]);
+ fprintf (stream, "\tpea %s@\n\tmovel %s,%s\n",
+ reg_names[FRAME_POINTER_REGNUM],
+ reg_names[STACK_POINTER_REGNUM],
+ reg_names[FRAME_POINTER_REGNUM]);
#endif
}
else if (fsize < 0x8000)
@@ -778,7 +780,7 @@ m68k_output_function_epilogue (stream, size)
{
/* Output just a no-op so that debuggers don't get confused
about which function the pc is in at this address. */
- asm_fprintf (stream, "\tnop\n");
+ fprintf (stream, "\tnop\n");
return;
}
@@ -878,9 +880,9 @@ m68k_output_function_epilogue (stream, size)
reg_names[FRAME_POINTER_REGNUM],
reg_names[i]);
#else
- asm_fprintf (stream, "\tmovel %s@(-%d),%s\n",
- reg_names[FRAME_POINTER_REGNUM],
- offset + fsize, reg_names[i]);
+ fprintf (stream, "\tmovel %s@(-%d),%s\n",
+ reg_names[FRAME_POINTER_REGNUM],
+ offset + fsize, reg_names[i]);
#endif
}
offset = offset - 4;
@@ -990,14 +992,14 @@ m68k_output_function_epilogue (stream, size)
else
{
#ifdef MOTOROLA
- asm_fprintf (stream, "\tfpmovd -%d(%s), %s\n",
- fpoffset + fsize,
- reg_names[FRAME_POINTER_REGNUM],
- reg_names[regno]);
+ fprintf (stream, "\tfpmovd -%d(%s), %s\n",
+ fpoffset + fsize,
+ reg_names[FRAME_POINTER_REGNUM],
+ reg_names[regno]);
#else
- asm_fprintf (stream, "\tfpmoved %s@(-%d), %s\n",
- reg_names[FRAME_POINTER_REGNUM],
- fpoffset + fsize, reg_names[regno]);
+ fprintf (stream, "\tfpmoved %s@(-%d), %s\n",
+ reg_names[FRAME_POINTER_REGNUM],
+ fpoffset + fsize, reg_names[regno]);
#endif
}
fpoffset -= 8;
@@ -2959,7 +2961,7 @@ print_operand (file, op, letter)
if (letter == '.')
{
#if defined (MOTOROLA) && !defined (CRDS)
- asm_fprintf (file, ".");
+ fprintf (file, ".");
#endif
}
else if (letter == '#')
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. */
diff --git a/gcc/config/mn10200/mn10200.h b/gcc/config/mn10200/mn10200.h
index ed162f8..793838f 100644
--- a/gcc/config/mn10200/mn10200.h
+++ b/gcc/config/mn10200/mn10200.h
@@ -863,7 +863,7 @@ struct cum_arg { int nbytes; };
/* This is how to output an element of a case-vector that is absolute. */
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
- asm_fprintf (FILE, "\t%s .L%d\n", ".long", VALUE)
+ fprintf (FILE, "\t%s .L%d\n", ".long", VALUE)
/* This is how to output an element of a case-vector that is relative. */
diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h
index b0cb575..e78e02e 100644
--- a/gcc/config/mn10300/mn10300.h
+++ b/gcc/config/mn10300/mn10300.h
@@ -953,7 +953,7 @@ struct cum_arg {int nbytes; };
/* This is how to output an element of a case-vector that is absolute. */
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
- asm_fprintf (FILE, "\t%s .L%d\n", ".long", VALUE)
+ fprintf (FILE, "\t%s .L%d\n", ".long", VALUE)
/* This is how to output an element of a case-vector that is relative. */
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index 39e0be3..aff42cb 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -1238,8 +1238,8 @@ zbss_section () \
/* This is how to output an element of a case-vector that is absolute. */
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
- asm_fprintf (FILE, "\t%s .L%d\n", \
- (TARGET_BIG_SWITCH ? ".long" : ".short"), VALUE)
+ fprintf (FILE, "\t%s .L%d\n", \
+ (TARGET_BIG_SWITCH ? ".long" : ".short"), VALUE)
/* This is how to output an element of a case-vector that is relative. */