From a6567fe028018267ef5f68a3de470aef87bb9ee6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Nov 2001 09:33:49 +0000 Subject: [PATCH] Fix md_apply_fix3 typo. --- gas/ChangeLog | 5 +++++ gas/config/tc-avr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b2fffc2835c..f9101c07bde 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-11-20 Nick Clifton + + * config/tc-avr.c (md_apply_fix3): Fix typo introduced by + md_apply_fix3 change. + 2001-11-20 Ben Elliston * 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 4fb15e39770..0a85533bfd0 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; } } -- 2.30.2