aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 105153e..500f938 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -1735,7 +1735,10 @@ expr (int rankarg, /* Larger # is higher rank. */
/* Save the value of dot for the fixup code. */
if (rank == 0)
- dot_value = frag_now_fix ();
+ {
+ dot_value = frag_now_fix ();
+ dot_frag = frag_now;
+ }
retval = operand (resultP, mode);