aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/symbols.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d58448b..19c6633 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2009-10-06 Alan Modra <amodra@bigpond.net.au>
+ PR gas/10704
+ * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
+
+2009-10-06 Alan Modra <amodra@bigpond.net.au>
+
* read.c (s_reloc): Don't use expression_and_evaluate.
2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
diff --git a/gas/symbols.c b/gas/symbols.c
index 304a1ee..4cfa85b 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1514,10 +1514,7 @@ snapshot_symbol (symbolS **symbolPP, valueT *valueP, segT *segP, fragS **fragPP)
}
}
- /* Never change a defined symbol. */
- if (symbolP->bsym->section == undefined_section
- || symbolP->bsym->section == expr_section)
- *symbolPP = symbolP;
+ *symbolPP = symbolP;
*valueP = expr.X_add_number;
*segP = symbolP->bsym->section;
*fragPP = symbolP->sy_frag;