mmix: constify handler_charp
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sun, 22 May 2016 04:32:22 +0000 (00:32 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Tue, 24 May 2016 12:52:45 +0000 (08:52 -0400)
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 *.

gas/ChangeLog
gas/config/tc-mmix.c

index eca2c12..0ecfb48 100644 (file)
@@ -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.
index 24362ad..9cf94c5 100644 (file)
@@ -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;