aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/read.c b/gas/read.c
index 4db278c..2d0404f 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -3262,9 +3262,8 @@ pseudo_set (symbolS *symbolP)
/* Fall thru */
default:
- /* The value is some complex expression.
- Set segment and frag back to that of a newly created symbol. */
- S_SET_SEGMENT (symbolP, undefined_section);
+ /* The value is some complex expression. */
+ S_SET_SEGMENT (symbolP, expr_section);
symbol_set_value_expression (symbolP, &exp);
set_zero_frag (symbolP);
break;