From 9dfa3e63479d3c3106c7e5e86764a0ed8e22aa7f Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sun, 15 May 2016 23:14:52 +0100 Subject: SH64/GAS: Fix a -Wwrite-strings build failure Fix a commit 6757cf57697d ("enable -Wwrite-strings for gas") regression. gas/ * config/tc-sh64.c (shmedia_check_limits): Constify `msg'. --- gas/config/tc-sh64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config/tc-sh64.c') 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) { -- cgit v1.1