* read.c (pseudo_set): Don't set undefined symbols to expr_section.

This commit is contained in:
Alan Modra 2005-09-21 00:12:19 +00:00
parent f907fdb111
commit 66bd02d33d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-09-21 Alan Modra <amodra@bigpond.net.au>
* read.c (pseudo_set): Don't set undefined symbols to expr_section.
2005-09-20 Richard Henderson <rth@redhat.com>
* dwarf2dbg.c (process_entries): Fix uninitialized variable warning.

View File

@ -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. */