diff options
author | Alan Modra <amodra@gmail.com> | 2005-09-21 00:12:19 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-09-21 00:12:19 +0000 |
commit | 66bd02d33d0451bc127a1166f09f03ea66f273d5 (patch) | |
tree | 1eea089de3e53292c7f4e669a062a88e530713ad | |
parent | f907fdb111ad902595cd7764dd0e113e1fd55786 (diff) | |
download | gdb-66bd02d33d0451bc127a1166f09f03ea66f273d5.zip gdb-66bd02d33d0451bc127a1166f09f03ea66f273d5.tar.gz gdb-66bd02d33d0451bc127a1166f09f03ea66f273d5.tar.bz2 |
* read.c (pseudo_set): Don't set undefined symbols to expr_section.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/read.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2506e68..fac836a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. @@ -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. */ |