From 5f5f22c0ceea6f393a7768e475705f4e553e511e Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 1 Dec 2010 20:30:04 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 6 ++++++ gas/config/tc-mips.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) 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; -- 2.30.2