aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-sh64.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7ecec77..d5adac6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
+
+ * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
+
2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
* testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
diff --git a/gas/config/tc-sh64.c b/gas/config/tc-sh64.c
index 294f96b..4de044c 100644
--- a/gas/config/tc-sh64.c
+++ b/gas/config/tc-sh64.c
@@ -1473,7 +1473,7 @@ shmedia_check_limits (offsetT *valp, bfd_reloc_code_real_type reloc,
{
offsetT val = *valp;
- char *msg = NULL;
+ const char *msg = NULL;
switch (reloc)
{