projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f907fdb
)
* read.c (pseudo_set): Don't set undefined symbols to expr_section.
author
Alan Modra
<amodra@gmail.com>
Wed, 21 Sep 2005 00:12:19 +0000
(
00:12
+0000)
committer
Alan Modra
<amodra@gmail.com>
Wed, 21 Sep 2005 00:12:19 +0000
(
00:12
+0000)
gas/ChangeLog
patch
|
blob
|
history
gas/read.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index 2506e6870c10fc2fbac3cc30b4645c0f8b2849f9..fac836a2b59eb0a4aff83f636b37265e4f0ee8f6 100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-1,3
+1,7
@@
+2005-09-21 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (pseudo_set): Don't set undefined symbols to expr_section.
+
2005-09-20 Richard Henderson <rth@redhat.com>
* dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
diff --git
a/gas/read.c
b/gas/read.c
index 2d0404ffb8e06ad7416164a5175d1566b9c471dd..8e4e1bce60d3cabfc229d39c293d9a4f8a900340 100644
(file)
--- a/
gas/read.c
+++ b/
gas/read.c
@@
-3259,7
+3259,10
@@
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. */