Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

Commit e80ebbb

Browse files
timsifivepalmer-dabbelt
authored andcommitted
Fix a const-safety issue on GCC-4.9 and above
gas/ChangeLog 2016-12-19 Tim Newsome <[email protected]> * config/tc-riscv.c (riscv_pre_output_hook): Remove const from loc4_frag.
1 parent 200d8d8 commit e80ebbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gas/config/tc-riscv.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,7 @@ riscv_pre_output_hook (void)
20612061
{
20622062
if (frag->fr_type == rs_cfa)
20632063
{
2064-
const fragS *loc4_frag;
2064+
fragS *loc4_frag;
20652065
expressionS exp;
20662066

20672067
symbolS *add_symbol = frag->fr_symbol->sy_value.X_add_symbol;

0 commit comments

Comments
 (0)