summaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 64c92cae34..b8e49f5156 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -1657,6 +1657,10 @@ expr (rankarg, resultP)
know (rank >= 0);
+ /* Save the value of dot for the fixup code. */
+ if (rank == 0)
+ dot_value = frag_now_fix ();
+
retval = operand (resultP);
/* operand () gobbles spaces. */