diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-04-26 18:31:55 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-04-26 18:31:55 +0000 |
commit | d3e3972c5c370807f5e14cb35019eb5700a9158a (patch) | |
tree | c9e4454c9cb961ae70c865224f09030767b63ef4 /gcc/tree.h | |
parent | 09acb3e19dcf5a220586cf2f160a21a3f1ebe63f (diff) | |
download | gcc-d3e3972c5c370807f5e14cb35019eb5700a9158a.zip gcc-d3e3972c5c370807f5e14cb35019eb5700a9158a.tar.gz gcc-d3e3972c5c370807f5e14cb35019eb5700a9158a.tar.bz2 |
dwarf2out.c (dw_cfi_oprnd_struct, [...]): Constify a char*.
* dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
dwarf2out_return_save, dwarf2out_return_reg,
dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
gen_compile_unit_die, dwarf2out_init): Constify a char*.
* dwarf2out.h (dwarf2out_init): Likewise.
* dwarfout.c (filename_entry, primary_filename, last_filename,
type_tag, output_compile_unit_die, dwarfout_init): Likewise.
* tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
dwarf2out_return_reg): Likewise.
From-SVN: r33448
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -2303,28 +2303,28 @@ extern char *dwarf2out_cfi_label PARAMS ((void)); /* Entry point to update the canonical frame address (CFA). */ -extern void dwarf2out_def_cfa PARAMS ((char *, unsigned, long)); +extern void dwarf2out_def_cfa PARAMS ((const char *, unsigned, long)); /* Add the CFI for saving a register window. */ -extern void dwarf2out_window_save PARAMS ((char *)); +extern void dwarf2out_window_save PARAMS ((const char *)); /* Add a CFI to update the running total of the size of arguments pushed onto the stack. */ -extern void dwarf2out_args_size PARAMS ((char *, long)); +extern void dwarf2out_args_size PARAMS ((const char *, long)); /* Entry point for saving a register to the stack. */ -extern void dwarf2out_reg_save PARAMS ((char *, unsigned, long)); +extern void dwarf2out_reg_save PARAMS ((const char *, unsigned, long)); /* Entry point for saving the return address in the stack. */ -extern void dwarf2out_return_save PARAMS ((char *, long)); +extern void dwarf2out_return_save PARAMS ((const char *, long)); /* Entry point for saving the return address in a register. */ -extern void dwarf2out_return_reg PARAMS ((char *, unsigned)); +extern void dwarf2out_return_reg PARAMS ((const char *, unsigned)); /* Output a marker (i.e. a label) for the beginning of a function, before the prologue. */ @@ -2637,28 +2637,28 @@ extern char *dwarf2out_cfi_label PARAMS ((void)); /* Entry point to update the canonical frame address (CFA). */ -extern void dwarf2out_def_cfa PARAMS ((char *, unsigned, long)); +extern void dwarf2out_def_cfa PARAMS ((const char *, unsigned, long)); /* Add the CFI for saving a register window. */ -extern void dwarf2out_window_save PARAMS ((char *)); +extern void dwarf2out_window_save PARAMS ((const char *)); /* Add a CFI to update the running total of the size of arguments pushed onto the stack. */ -extern void dwarf2out_args_size PARAMS ((char *, long)); +extern void dwarf2out_args_size PARAMS ((const char *, long)); /* Entry point for saving a register to the stack. */ -extern void dwarf2out_reg_save PARAMS ((char *, unsigned, long)); +extern void dwarf2out_reg_save PARAMS ((const char *, unsigned, long)); /* Entry point for saving the return address in the stack. */ -extern void dwarf2out_return_save PARAMS ((char *, long)); +extern void dwarf2out_return_save PARAMS ((const char *, long)); /* Entry point for saving the return address in a register. */ -extern void dwarf2out_return_reg PARAMS ((char *, unsigned)); +extern void dwarf2out_return_reg PARAMS ((const char *, unsigned)); /* Output a marker (i.e. a label) for the beginning of a function, before the prologue. */ |