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:
parent
180c87d999
commit
9dfa3e6347
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue