]> gcc.gnu.org Git - gcc.git/commitdiff
i386-protos.h (ix86_print_operand): Declare.
authorNathan Froyd <froydnj@codesourcery.com>
Fri, 4 Jun 2010 17:28:10 +0000 (17:28 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Fri, 4 Jun 2010 17:28:10 +0000 (17:28 +0000)
* config/i386/i386-protos.h (ix86_print_operand): Declare.
* config/i386/i386.c (ix86_print_operand): Make non-static.
* config/i386/sol2.h (ASM_OUTPUT_CALL): Call ix86_print_operand.
* output.h (output_operand): Declare.
* final.c (output_operand): Make non-static.

From-SVN: r160286

gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/sol2.h
gcc/final.c
gcc/output.h

index 142715bbc69ba2e01dec8548dddd743176db239d..12e76e211ff6a21697bee1781225bc04029d9878 100644 (file)
@@ -1,3 +1,11 @@
+2010-06-04  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/i386/i386-protos.h (ix86_print_operand): Declare.
+       * config/i386/i386.c (ix86_print_operand): Make non-static.
+       * config/i386/sol2.h (ASM_OUTPUT_CALL): Call ix86_print_operand.
+       * output.h (output_operand): Declare.
+       * final.c (output_operand): Make non-static.
+
 2010-06-04  Alexandre Oliva  <aoliva@redhat.com>
 
        PR rtl-optimization/44013
index c1e6858f47a8159b5c191e2eb937a7114a4ae285..33893da247c7175c2476e60ca07b035906c2b8f0 100644 (file)
@@ -60,6 +60,7 @@ extern bool legitimate_pic_operand_p (rtx);
 extern int legitimate_pic_address_disp_p (rtx);
 
 extern void print_reg (rtx, int, FILE*);
+extern void ix86_print_operand (FILE *, rtx, int);
 extern bool output_addr_const_extra (FILE*, rtx);
 
 extern void split_di (rtx[], int, rtx[], rtx[]);
index 645501ad08859e68d9dea6d86218d17a6f8b2acb..ea9aae3612d4ba4b96cbf5282673969b622ecec2 100644 (file)
@@ -11579,7 +11579,7 @@ get_some_local_dynamic_name (void)
    ; -- print a semicolon (after prefixes due to bug in older gas).
  */
 
-static void
+void
 ix86_print_operand (FILE *file, rtx x, int code)
 {
   if (code)
index 6a014651be5aa10201d56448bd7c9c3e3e1b3a63..11eaa15dd8050bde88e53a24a20c3b7848cb32fa 100644 (file)
@@ -145,7 +145,7 @@ along with GCC; see the file COPYING3.  If not see
   do                                                           \
     {                                                          \
       fprintf (FILE, "\tcall\t");                              \
-      print_operand (FILE, XEXP (DECL_RTL (FN), 0), 'P');      \
+      ix86_print_operand (FILE, XEXP (DECL_RTL (FN), 0), 'P'); \
       fprintf (FILE, "\n");                                    \
     }                                                          \
   while (0)
index 93fb170d90fa82a1dbc8c0c02c2edb8425d8465e..6ca36340dc5ee773c664efc533ec2bf7aa646cc4 100644 (file)
@@ -220,7 +220,6 @@ static void output_asm_name (void);
 static void output_alternate_entry_point (FILE *, rtx);
 static tree get_mem_expr_from_op (rtx, int *);
 static void output_asm_operand_names (rtx *, int *, int);
-static void output_operand (rtx, int);
 #ifdef LEAF_REGISTERS
 static void leaf_renumber_regs (rtx);
 #endif
@@ -3478,7 +3477,7 @@ mark_symbol_refs_as_used (rtx x)
    The meanings of the letters are machine-dependent and controlled
    by TARGET_PRINT_OPERAND.  */
 
-static void
+void
 output_operand (rtx x, int code ATTRIBUTE_UNUSED)
 {
   if (x && GET_CODE (x) == SUBREG)
index 8215ac25b9813e9f1078848c4073564a31901e5a..2eb671daaf060d4834f843dc67418717e15df34f 100644 (file)
@@ -77,6 +77,9 @@ extern rtx final_scan_insn (rtx, FILE *, int, int, int *);
    subreg of.  */
 extern rtx alter_subreg (rtx *);
 
+/* Print an operand using machine-dependent assembler syntax.  */
+extern void output_operand (rtx, int);
+
 /* Report inconsistency between the assembler template and the operands.
    In an `asm', it's the user's fault; otherwise, the compiler's fault.  */
 extern void output_operand_lossage (const char *, ...) ATTRIBUTE_PRINTF_1;
This page took 0.14408 seconds and 5 git commands to generate.