* read.c (pseudo_set): Set segment of expression syms to expr_section.
authorAlan Modra <amodra@gmail.com>
Tue, 20 Sep 2005 03:06:13 +0000 (03:06 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Sep 2005 03:06:13 +0000 (03:06 +0000)
gas/ChangeLog
gas/read.c

index c8b457e2fcb5c631937e6ae3c693f7711ab850fd..2018e20bfc2a825d036ed13fa2d16387d73bc7a1 100644 (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
index 4db278cbbbd98c5c4ba4fa3905b63086f93faf65..2d0404ffb8e06ad7416164a5175d1566b9c471dd 100644 (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;
This page took 0.037441 seconds and 4 git commands to generate.