Hi Mat,
emit_expr, used by '.word' and others, grabs dot_value for the current
frag, does some processing, and later calls frag_more. Unfortunately,
the frag_more call can realize the frag is not big enough and switch
to a new frag. That's bad because the dot_value already recorded an
offset i
Hi Mat,
My fix is simply to reserve enough space before calling frag_now_fix
that the frag won't run out of room if frag_more is called later.
Thanks for providing a fix for the problem. I have checked it in along
with this changelog entry.
Cheers
Nick
gas/ChangeLog
2008-11-14 Mat Host
This is for gas 2.18, but it looks like the same bug is present in 2.19.
emit_expr, used by '.word' and others, grabs dot_value for the current
frag, does some processing, and later calls frag_more. Unfortunately,
the frag_more call can realize the frag is not big enough and switch
to a new frag.