aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-12-01 20:30:04 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-12-01 20:30:04 +0000
commit5f5f22c0ceea6f393a7768e475705f4e553e511e (patch)
tree69dc8b7e3437a02928e8608157487f173e4feb4e /gas
parent4dbfafccf0dd346e7a73cddf85c600aa7afa3644 (diff)
downloadgdb-5f5f22c0ceea6f393a7768e475705f4e553e511e.zip
gdb-5f5f22c0ceea6f393a7768e475705f4e553e511e.tar.gz
gdb-5f5f22c0ceea6f393a7768e475705f4e553e511e.tar.bz2
* 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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-mips.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 64f2301..e02bc3a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index ac02aee..31d80ec 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;