SH64/GAS: Fix a -Wwrite-strings build failure

Fix a commit 6757cf5769 ("enable -Wwrite-strings for gas") regression.

	gas/
	* config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
This commit is contained in:
Maciej W. Rozycki 2016-05-15 23:14:52 +01:00
parent 180c87d999
commit 9dfa3e6347
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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)
{