[PATCH] mmix: constify handler_charp
tbsaunde+binutils@tbsaunde.org
tbsaunde+binutils@tbsaunde.org
Mon May 23 07:12:00 GMT 2016
From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Hi,
built and regtested mmix-elf, ok?
Trev
gas/ChangeLog:
2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-mmix.c (mmix_parse_predefined_name): Change type of
handler_charp to const char *.
---
gas/config/tc-mmix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.8.1
More information about the Binutils
mailing list