* read.c (emit_expr): Grow frag before filling it so that
dot_value remains valid.
This commit is contained in:
parent
d387240a63
commit
4bc2510145
@ -1,3 +1,8 @@
|
||||
2008-11-14 Mat Hostetter <mat@lcs.mit.edu>
|
||||
|
||||
* read.c (emit_expr): Grow frag before filling it so that
|
||||
dot_value remains valid.
|
||||
|
||||
2008-11-14 Peter Jansen <pwjansen@yahoo.com>
|
||||
|
||||
PR 7026
|
||||
|
@ -3934,6 +3934,9 @@ emit_expr (expressionS *exp, unsigned int nbytes)
|
||||
if (need_pass_2)
|
||||
return;
|
||||
|
||||
/* Grow the current frag now so that dot_value does not get invalidated
|
||||
if the frag were to fill up in the frag_more() call below. */
|
||||
frag_grow (nbytes);
|
||||
dot_value = frag_now_fix ();
|
||||
|
||||
#ifndef NO_LISTING
|
||||
|
Loading…
Reference in New Issue
Block a user