aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-avr.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b2fffc2..f9101c0 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-20 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config/tc-avr.c (md_apply_fix3): Fix typo introduced by
+ md_apply_fix3 change.
+
2001-11-20 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 4fb15e3..0a85533 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -838,7 +838,7 @@ md_apply_fix3 (fixP, valP, seg)
if (fixP->fx_addsy && (s == seg || s == absolute_section))
{
- value = S_GET_VALUE (fixP->fx_addsy) + *valuep;
+ value += S_GET_VALUE (fixP->fx_addsy);
fixP->fx_done = 1;
}
}