From: Nick Clifton Date: Tue, 20 Nov 2001 09:33:49 +0000 (+0000) Subject: Fix md_apply_fix3 typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6567fe028018267ef5f68a3de470aef87bb9ee6;p=binutils-gdb.git Fix md_apply_fix3 typo. --- 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; } }