mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* read.c (emit_expr): Grow frag before filling it so that
dot_value remains valid.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user