summaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2009-11-19 08:41:27 +0000
committerJan Beulich <jbeulich@novell.com>2009-11-19 08:41:27 +0000
commitb4f63e03d3d8ef12517c0839542d092ec44fb613 (patch)
treebff5666d8d15583bd3b96ea19e267111b0c45349 /gas/read.c
parent84c575045cc880157fbc06da966dee453feba64f (diff)
downloadbinutils-redhat-b4f63e03d3d8ef12517c0839542d092ec44fb613.tar.gz
gas/
2009-11-19 Jan Beulich <jbeulich@novell.com> * read.c (pseudo_set): Also call copy_symbol_attributes() for undefined target symbol.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 45e95f62ba..fb9fd290f9 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -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;