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, 4 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index 2d0404f..8e4e1bc 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -3259,7 +3259,10 @@ pseudo_set (symbolS *symbolP)
copy_symbol_attributes (symbolP, s);
break;
}
- /* Fall thru */
+ S_SET_SEGMENT (symbolP, undefined_section);
+ symbol_set_value_expression (symbolP, &exp);
+ set_zero_frag (symbolP);
+ break;
default:
/* The value is some complex expression. */