From aba4aa7d5d955be8c137f3f6bd4b8e2bf815a9f7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 20 Sep 2005 03:06:13 +0000 Subject: [PATCH] * read.c (pseudo_set): Set segment of expression syms to expr_section. --- gas/ChangeLog | 4 ++++ gas/read.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c8b457e2fcb..2018e20bfc2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-09-20 Alan Modra + + * read.c (pseudo_set): Set segment of expression syms to expr_section. + 2005-09-14 Jan Beulich * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector diff --git a/gas/read.c b/gas/read.c index 4db278cbbbd..2d0404ffb8e 100644 --- a/gas/read.c +++ b/gas/read.c @@ -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; -- 2.30.2