Fix a const-safety issue on GCC-4.9 and above
* config/tc-riscv.c (riscv_pre_output_hook): Remove const from loc4_frag.
This commit is contained in:
parent
58a6d3c9d8
commit
ad5bc88245
|
@ -1,3 +1,8 @@
|
||||||
|
2016-12-21 Tim Newsome <tim@sifive.com>
|
||||||
|
|
||||||
|
* config/tc-riscv.c (riscv_pre_output_hook): Remove const from
|
||||||
|
loc4_frag.
|
||||||
|
|
||||||
2016-12-21 Alan Modra <amodra@gmail.com>
|
2016-12-21 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* doc/c-lm32.texi: Fix chars with high bit set.
|
* doc/c-lm32.texi: Fix chars with high bit set.
|
||||||
|
|
|
@ -2061,7 +2061,7 @@ riscv_pre_output_hook (void)
|
||||||
{
|
{
|
||||||
if (frag->fr_type == rs_cfa)
|
if (frag->fr_type == rs_cfa)
|
||||||
{
|
{
|
||||||
const fragS *loc4_frag;
|
fragS *loc4_frag;
|
||||||
expressionS exp;
|
expressionS exp;
|
||||||
|
|
||||||
symbolS *add_symbol = frag->fr_symbol->sy_value.X_add_symbol;
|
symbolS *add_symbol = frag->fr_symbol->sy_value.X_add_symbol;
|
||||||
|
|
Loading…
Reference in New Issue