arc.c (output_shift): Use stdio instead of asm_fprintf.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 20 Aug 2002 23:27:03 +0000 (23:27 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 20 Aug 2002 23:27:03 +0000 (23:27 +0000)
* 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

19 files changed:
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/config/arm/arm.c
gcc/config/avr/avr.c
gcc/config/c4x/c4x.c
gcc/config/c4x/c4x.h
gcc/config/cris/cris.c
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.h
gcc/config/ip2k/ip2k.c
gcc/config/m68hc11/m68hc11.c
gcc/config/m68hc11/m68hc11.h
gcc/config/m68k/amix.h
gcc/config/m68k/atari.h
gcc/config/m68k/m68k.c
gcc/config/mmix/mmix.c
gcc/config/mn10200/mn10200.h
gcc/config/mn10300/mn10300.h
gcc/config/v850/v850.h

index 983c0bfaf224232bf7f7fe0e066f5f3f2c65cfed..62df30ae85a8b0a94eb36a963adb704148fbdedf 100644 (file)
@@ -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>
 
index a733340fb985d0cde599371db945e654224347b7..426cc89d8f029e9bcc7d4e043fa89525595903c8 100644 (file)
@@ -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);
            }
        }
     }
index 5ff47c2438344defcfddd9883f44a3efd0868b36..d44ec803eb2fe25199a24dddd65b890e9bfa0814 100644 (file)
@@ -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", 
index a8f9bda5df67e143844f23cd67bba3aecdfaa94b..e3686b0b73c1e121d812187002a31b028a8ff06a 100644 (file)
@@ -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);
 }
index f5c987c6d4a034788e9baaee900b45feb4a78bc8..5b4c5709b31079bbad6b9370d856323902fcf5ee 100644 (file)
@@ -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:
index 031814721e1f1b815019af2f980de45362c258b2..ace2397a87235ebf89d3245afa5fdcd52054afb1 100644 (file)
@@ -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.  */
index 6a42c8704242e7cbefe6839e3bf4fcd12960d19d..a84933f6a1fc6541ca91381b4b7f0869a375f5d7 100644 (file)
@@ -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)
     {
index f53e6fa76cfa009064077404074111aba9e1cb23..841c8b7a641000a49a254389894d680f7b961cfa 100644 (file)
@@ -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)
index 79e13e725e25180f0e07c61387b0e128e64b1372..1ef8f78bea432bc0555e1ac9fa500b1942ffc625 100644 (file)
@@ -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.  */
 
index 94845fabfd274b0350dd735a692020b2d1ef28d1..a41a7b6d2d1169e96b7838d78d1f16d4f54a58f0 100644 (file)
@@ -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;
 
index 2d97787ec9c3731ea2a1dd3c866bd9423f65af95..169381f7681058731df4d8728cebba64649499f6 100644 (file)
@@ -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;
     }
index 186599abf8a12cf9b9058f0797cad4d90b6a680c..d42dab13e12cacde67227bd5b26de1153bc62af1 100644 (file)
@@ -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)
 
 \f
index 998240eb3869a74fb3aec53731f8183c50b2714e..b302d0ece2fa825f09a309afe7ea3f97cab9d91e 100644 (file)
@@ -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)
index 12b106a4be5ea7f6cbe987c2a21acfd0d226fc5e..54ea0c2dad6e27b298b72683bd311d752a2252d7 100644 (file)
@@ -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)
index 43f0fbb8c7c529b94db87d4fd8832d6202531ef8..5302ff20e618c18b8926dc07e6e9b13fae7ec32d 100644 (file)
@@ -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 == '#')
index 5820138bbe5328264f520f1fe94528a014cc8269..cbda5257efb7fd2d5a5aa79e3697bb254432274e 100644 (file)
@@ -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.  */
index ed162f8bdbea91740bf670e9e232d7cfd559c4de..793838fc531105f73447930e7eb4eabdf63f7312 100644 (file)
@@ -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.  */
 
index b0cb575d18a4b67d25c5691a501b1e76a0752b2a..e78e02e50d0bf016ff53dd79cbb8eca7b7027203 100644 (file)
@@ -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.  */
 
index 39e0be322cf1e7865ec5c118b620abccfa047979..aff42cb319e40280fc2c3984360b5747c20da110 100644 (file)
@@ -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.  */