/* Declarations for insn-output.c. These functions are defined in recog.c,
final.c, and varasm.c.
- Copyright (C) 1987-1991 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1991 Free Software Foundation, Inc.
This file is part of GNU CC.
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+#ifndef STDIO_PROTO
+#ifdef BUFSIZ
+#define STDIO_PROTO(ARGS) PROTO(ARGS)
+#else
+#define STDIO_PROTO(ARGS) ()
+#endif
+#endif
+
/* Output a string of assembler code, substituting insn operands.
Defined in final.c. */
-extern void output_asm_insn ();
+extern void output_asm_insn PROTO((char *, rtx *));
/* Output a string of assembler code, substituting numbers, strings
and fixed syntactic prefixes. */
extern void asm_fprintf ();
+/* Print an integer constant expression in assembler syntax.
+ Addition and subtraction are the only arithmetic
+ that may appear in these expressions. */
+extern void output_addr_const STDIO_PROTO((FILE *, rtx));
+
+/* Output a name (as found inside a symbol_ref) in assembler syntax. */
+extern void assemble_name STDIO_PROTO((FILE *, char *));
+
/* Replace a SUBREG with a REG or a MEM, based on the thing it is a
subreg of. */
-extern rtx alter_subreg ();
+extern rtx alter_subreg PROTO((rtx));
/* When outputting assembler code, indicates which alternative
of the constraints was actually satisfied. */
extern rtx current_function_epilogue_delay_list;
+/* Nonzero means generate position-independent code.
+ This is not fully implemented yet. */
+
+extern int flag_pic;
+
/* This is nonzero if the current function uses pic_offset_table_rtx. */
extern int current_function_uses_pic_offset_table;
+/* This is nonzero if the current function uses the constant pool. */
+extern int current_function_uses_const_pool;
+
/* The line number of the beginning of the current function.
sdbout.c needs this so that it can output relative linenumbers. */
/* File in which assembler code is being written. */
-#ifdef BUFSIZ /* The hope is that any kind of stdio.h must define BUFSIZ. */
+#ifdef BUFSIZ
extern FILE *asm_out_file;
#endif