Fix md_apply_fix3 typo.
authorNick Clifton <nickc@redhat.com>
Tue, 20 Nov 2001 09:33:49 +0000 (09:33 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 20 Nov 2001 09:33:49 +0000 (09:33 +0000)
gas/ChangeLog
gas/config/tc-avr.c

index b2fffc2..f9101c0 100644 (file)
@@ -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
index 4fb15e3..0a85533 100644 (file)
@@ -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;
        }
     }