diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-02-19 12:03:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-02-19 12:03:08 +0000 |
commit | cd0bbe6ef9ca3d3db38a3a0f1ca993bbdc952053 (patch) | |
tree | c008de58dba89ed07c357a54f7e2d9182482d564 /gas/ChangeLog | |
parent | f4583255d5a16b76c249e3c28ab9c8dd9e7a110e (diff) | |
download | gdb-cd0bbe6ef9ca3d3db38a3a0f1ca993bbdc952053.zip gdb-cd0bbe6ef9ca3d3db38a3a0f1ca993bbdc952053.tar.gz gdb-cd0bbe6ef9ca3d3db38a3a0f1ca993bbdc952053.tar.bz2 |
Add const to various variables in the gas sources.
* symbols.c (decode_local_label_name): Make type a const char *.
* listing.c (print_source): Make type of p const char *.
(print_line): Make type of string const char *.
(buffer_line): Return const char *.
(title): Make type const char *.
(subtitle): Likewise.
(listing_listing): Make type of p const char *.
* messages.c (as_internal_value_out_of_range): Make type of prefix
const char *.
* stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
and string const char *.
* read.c (_bfd_rel): Make type of name const char *.
* app.c (out_string): Change type to const char *.
(struct app_save::out_string): Likewise.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7236c3e..54a2893 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,20 @@ +016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + + * symbols.c (decode_local_label_name): Make type a const char *. + * listing.c (print_source): Make type of p const char *. + (print_line): Make type of string const char *. + (buffer_line): Return const char *. + (title): Make type const char *. + (subtitle): Likewise. + (listing_listing): Make type of p const char *. + * messages.c (as_internal_value_out_of_range): Make type of prefix + const char *. + * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname + and string const char *. + * read.c (_bfd_rel): Make type of name const char *. + * app.c (out_string): Change type to const char *. + (struct app_save::out_string): Likewise. + 2016-02-18 Dan Gisselquist <dgisselq@verizon.net> Nick Clifton <nickc@redhat.com> |