aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-11-20 09:33:49 +0000
committerNick Clifton <nickc@redhat.com>2001-11-20 09:33:49 +0000
commita6567fe028018267ef5f68a3de470aef87bb9ee6 (patch)
tree72942d8c2db1b9c571ddee6b0594846d39da34d4
parentf021c2a7b76064f7e5a291a8e2d28d8ab66f52cc (diff)
downloadgdb-a6567fe028018267ef5f68a3de470aef87bb9ee6.zip
gdb-a6567fe028018267ef5f68a3de470aef87bb9ee6.tar.gz
gdb-a6567fe028018267ef5f68a3de470aef87bb9ee6.tar.bz2
Fix md_apply_fix3 typo.
-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;
}
}