* 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
+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
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[]);
; -- 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)
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)
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
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)
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;