aboutsummaryrefslogtreecommitdiff
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
commitf08e1e197a82fd9fa5d4b15821e762245df8bc4f (patch)
tree661303fe69e2ed20e3e9760c817d0314966345d1
parent41effecb2d9c160e205069396729e7c64191698c (diff)
downloadgdb-f08e1e197a82fd9fa5d4b15821e762245df8bc4f.zip
gdb-f08e1e197a82fd9fa5d4b15821e762245df8bc4f.tar.gz
gdb-f08e1e197a82fd9fa5d4b15821e762245df8bc4f.tar.bz2
gas/
2009-11-19 Jan Beulich <jbeulich@novell.com> * read.c (pseudo_set): Also call copy_symbol_attributes() for undefined target symbol.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/read.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e9381c1..2c7c219 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/read.c b/gas/read.c
index 45e95f6..fb9fd29 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;