diff --git a/gas/ChangeLog b/gas/ChangeLog index 64f23011d63..e02bc3a2f39 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2010-12-01 Richard Sandiford + + * 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 * configure.tgt: Add sparc64-rtems. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index ac02aee7f3f..31d80eca441 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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;