* config/tc-mips.c (md_convert_frag): Remove a call to
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 1 Dec 2010 20:30:04 +0000 (20:30 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Wed, 1 Dec 2010 20:30:04 +0000 (20:30 +0000)
S_GET_VALUE and use the result of resolve_symbol_value as the
value of the symbol processed in MIPS16 relaxation.

gas/ChangeLog
gas/config/tc-mips.c

index 64f23011d6392aec30efea22d17e315024ca2ee6..e02bc3a2f39dff937a6f7d859a545b7b43ae8004 100644 (file)
@@ -1,3 +1,9 @@
+2010-12-01  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (md_convert_frag): Remove a call to
+       S_GET_VALUE and use the result of resolve_symbol_value as the
+       value of the symbol processed in MIPS16 relaxation.
+
 2010-11-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
 
        * configure.tgt: Add sparc64-rtems.
index ac02aee7f3fab5c99fb7f068dc83d283def8e558..31d80eca441d2a2a164307e068f1ccd7e544a5f4 100644 (file)
@@ -14548,8 +14548,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, segT asec, fragS *fragp)
          ext = FALSE;
        }
 
-      resolve_symbol_value (fragp->fr_symbol);
-      val = S_GET_VALUE (fragp->fr_symbol);
+      val = resolve_symbol_value (fragp->fr_symbol);
       if (op->pcrel)
        {
          addressT addr;
This page took 0.034494 seconds and 4 git commands to generate.