aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-riscv.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 29c1c0a..616fd09 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
* doc/c-lm32.texi: Fix chars with high bit set.
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index 2d953c5..8c78f61 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -2061,7 +2061,7 @@ riscv_pre_output_hook (void)
{
if (frag->fr_type == rs_cfa)
{
- const fragS *loc4_frag;
+ fragS *loc4_frag;
expressionS exp;
symbolS *add_symbol = frag->fr_symbol->sy_value.X_add_symbol;