2005-10-10 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gas / read.c
index 4db278cbbbd98c5c4ba4fa3905b63086f93faf65..8e4e1bce60d3cabfc229d39c293d9a4f8a900340 100644 (file)
@@ -3259,12 +3259,14 @@ 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.
-        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.02357 seconds and 4 git commands to generate.