summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-06 04:31:16 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-06 04:31:16 +0000
commitc1bdf4c1e5752f255972edea4765e5618a2fe89d (patch)
tree62ad42d48030262a517599d08cf827074ae13051 /gcc/xcoffout.h
parent8b2d4ee01fd6403f31cd64d44397866c005f6768 (diff)
downloadgcc-c1bdf4c1e5752f255972edea4765e5618a2fe89d.tar.gz
* xcoffout.c (xcoff_current_include_file,
xcoff_current_function_file, xcoff_lastfile): Constify char *. (xcoffout_source_file, xcoffout_source_line): Make filename 'const char *'. (xcoffout_declare_function): Make name 'const char *'. (xcoffout_end_epilogue): Make fname 'const char *' * xcoffout.h (xcoff_current_include_file, xcoff_lastfile, xcoffout_declare_function, xcoffout_source_line): Match above. * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without -maix64 is error. * rs6000.c (print_operand): Fix lossage typo. (output_cbranch): Remove "cr" decoration for now. * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33720 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/xcoffout.h')
-rw-r--r--gcc/xcoffout.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h
index 5e912be2f3d..ebf9413b528 100644
--- a/gcc/xcoffout.h
+++ b/gcc/xcoffout.h
@@ -136,7 +136,7 @@ Boston, MA 02111-1307, USA. */
/* Name of the current include file. */
-extern char *xcoff_current_include_file;
+extern const char *xcoff_current_include_file;
/* Names of bss and data sections. These should be unique names for each
compilation unit. */
@@ -147,7 +147,7 @@ extern char *xcoff_read_only_section_name;
/* Last source file name mentioned in a NOTE insn. */
-extern char *xcoff_lastfile;
+extern const char *xcoff_lastfile;
/* Don't write out path name for main source file. */
#define DBX_OUTPUT_MAIN_SOURCE_DIRECTORY(FILE,FILENAME)
@@ -200,12 +200,12 @@ extern void xcoffout_end_block PARAMS ((FILE *, int, int));
#ifdef TREE_CODE
extern void xcoff_output_standard_types PARAMS ((tree));
#ifdef BUFSIZ
-extern void xcoffout_declare_function PARAMS ((FILE *, tree, char *));
+extern void xcoffout_declare_function PARAMS ((FILE *, tree, const char *));
#endif /* BUFSIZ */
#endif /* TREE_CODE */
#ifdef RTX_CODE
#ifdef BUFSIZ
-extern void xcoffout_source_line PARAMS ((FILE *, char *, rtx));
+extern void xcoffout_source_line PARAMS ((FILE *, const char *, rtx));
#endif /* BUFSIZ */
#endif /* RTX_CODE */