gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 19 Nov 2009 08:41:27 +0000 (08:41 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 19 Nov 2009 08:41:27 +0000 (08:41 +0000)
2009-11-19  Jan Beulich  <jbeulich@novell.com>

* read.c (pseudo_set): Also call copy_symbol_attributes() for
undefined target symbol.

gas/ChangeLog
gas/read.c

index e9381c1fe4f1826a1fc76ca8604510ecccab076a..2c7c2193fc158accbef74fc68be8829c6137392e 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-19  Jan Beulich  <jbeulich@novell.com>
+
+       * read.c (pseudo_set): Also call copy_symbol_attributes() for
+       undefined target symbol.
+
 2009-11-18  Sebastian Pop  <sebastian.pop@amd.com>
 
        * config/tc-i386.c (cpu_arch): Remove cvt16.
index 45e95f62baf5c7461b01661a9a9fef5e8af64ece..fb9fd290f9b7fc1a050707391e6f81558d665c80 100644 (file)
@@ -3750,6 +3750,7 @@ pseudo_set (symbolS *symbolP)
        }
       S_SET_SEGMENT (symbolP, undefined_section);
       symbol_set_value_expression (symbolP, &exp);
+      copy_symbol_attributes (symbolP, exp.X_add_symbol);
       set_zero_frag (symbolP);
       break;