diff options
author | Alan Modra <amodra@gmail.com> | 2005-09-20 03:06:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-09-20 03:06:13 +0000 |
commit | aba4aa7d5d955be8c137f3f6bd4b8e2bf815a9f7 (patch) | |
tree | f19a0236dd1461c4c1f1fc8563f1c662db723692 | |
parent | f68d3f78b18b3f2d705394a68da509ba164d6489 (diff) | |
download | gdb-aba4aa7d5d955be8c137f3f6bd4b8e2bf815a9f7.zip gdb-aba4aa7d5d955be8c137f3f6bd4b8e2bf815a9f7.tar.gz gdb-aba4aa7d5d955be8c137f3f6bd4b8e2bf815a9f7.tar.bz2 |
* read.c (pseudo_set): Set segment of expression syms to expr_section.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/read.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c8b457e..2018e20 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 @@ -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; |