From 049efc6495c229476f6cf5bc27021e7c167fe1fb Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sun, 22 May 2016 00:32:22 -0400 Subject: [PATCH] mmix: constify handler_charp gas/ChangeLog: 2016-05-24 Trevor Saunders * config/tc-mmix.c (mmix_parse_predefined_name): Change type of handler_charp to const char *. --- gas/ChangeLog | 5 +++++ gas/config/tc-mmix.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index eca2c129f44..0ecfb485fdd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-05-24 Trevor Saunders + + * config/tc-mmix.c (mmix_parse_predefined_name): Change type of + handler_charp to const char *. + 2016-05-24 Trevor Saunders * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove. diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index 24362ad70c8..9cf94c51383 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; -- 2.30.2