summaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/read.c b/gas/read.c
index d65971cfbe..2df748a9ad 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -4087,10 +4087,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 ();
+ dot_frag = frag_now;
#ifndef NO_LISTING
#ifdef OBJ_ELF