diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-22 00:32:22 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-24 08:52:45 -0400 |
commit | 049efc6495c229476f6cf5bc27021e7c167fe1fb (patch) | |
tree | 1664c293118ee6de9753d4ab7aeb29eea85dec20 | |
parent | b19e0aeb53c77e0dbb2083c18dcb0a154db99d17 (diff) | |
download | gdb-049efc6495c229476f6cf5bc27021e7c167fe1fb.zip gdb-049efc6495c229476f6cf5bc27021e7c167fe1fb.tar.gz gdb-049efc6495c229476f6cf5bc27021e7c167fe1fb.tar.bz2 |
mmix: constify handler_charp
gas/ChangeLog:
2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-mmix.c (mmix_parse_predefined_name): Change type of
handler_charp to const char *.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-mmix.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index eca2c12..0ecfb48 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + * config/tc-mmix.c (mmix_parse_predefined_name): Change type of + handler_charp to const char *. + +2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove. (ft32_target_format): Likewise. (TARGET_FORMAT): Adjust. diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index 24362ad7..9cf94c5 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -3813,7 +3813,7 @@ int mmix_parse_predefined_name (char *name, expressionS *expP) { char *canon_name; - char *handler_charp; + const char *handler_charp; const char handler_chars[] = "DVWIOUZX"; symbolS *symp; |