* 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.
This commit is contained in:
Maciej W. Rozycki 2010-12-01 20:30:04 +00:00
parent 4dbfafccf0
commit 5f5f22c0ce
2 changed files with 7 additions and 2 deletions

View 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.

View 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;