* read.c (pseudo_set): Set segment of expression syms to expr_section.

This commit is contained in:
Alan Modra 2005-09-20 03:06:13 +00:00
parent f68d3f78b1
commit aba4aa7d5d
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-09-20 Alan Modra <amodra@bigpond.net.au>
* read.c (pseudo_set): Set segment of expression syms to expr_section.
2005-09-14 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector

View File

@ -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;