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 eca2c129f4442c6f598593eee86399ce4425ed2b..0ecfb485fdd3b62b1a19195960de9a786144115c 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 24362ad70c81c5099db1c397c6dae456ff85b3a7..9cf94c51383ca829740b407b1758b6d2a0fb88d3 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;