/* XCOFF definitions. These are needed in dbxout.c, final.c,
- and xcoffout.h. */
+ and xcoffout.h.
+ Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
#define ASM_STABS_OP ".stabx"
if (current_sym_addr && current_sym_code == N_FUN \
&& GET_CODE (current_sym_addr) == SYMBOL_REF) \
{ \
- char *_p = XSTR (current_sym_addr, 0); \
+ const char *_p = XSTR (current_sym_addr, 0); \
if (*_p == '*') \
fprintf (asmfile, "%s", _p+1); \
else \
can't find them. */
#define DEBUG_SYMS_TEXT
+
+/* Prototype functions in xcoffout.c. */
+
+extern int stab_to_sclass PARAMS ((int));
+#ifdef BUFSIZ
+extern void xcoffout_begin_function PARAMS ((FILE *, int));
+extern void xcoffout_begin_block PARAMS ((FILE *, int, int));
+extern void xcoffout_end_epilogue PARAMS ((FILE *));
+extern void xcoffout_end_function PARAMS ((FILE *, int));
+extern void xcoffout_end_block PARAMS ((FILE *, int, int));
+#endif /* BUFSIZ */
+
+#ifdef TREE_CODE
+extern void xcoff_output_standard_types PARAMS ((tree));
+#ifdef BUFSIZ
+extern void xcoffout_declare_function PARAMS ((FILE *, tree, char *));
+#endif /* BUFSIZ */
+#endif /* TREE_CODE */
+
+#ifdef RTX_CODE
+#ifdef BUFSIZ
+extern void xcoffout_source_line PARAMS ((FILE *, char *, rtx));
+#endif /* BUFSIZ */
+#endif /* RTX_CODE */