aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-04-10 16:25:51 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-04-10 16:25:51 +0000
commitb215186bfd8da767d092414ca6f07cbf561b4640 (patch)
treedfd51dc1531c7b4a1ea83875cf53f0da4c0c4dd4
parentf65a6fe0b4e62559fb4201a7676283a03e32c58e (diff)
downloadgdb-b215186bfd8da767d092414ca6f07cbf561b4640.zip
gdb-b215186bfd8da767d092414ca6f07cbf561b4640.tar.gz
gdb-b215186bfd8da767d092414ca6f07cbf561b4640.tar.bz2
2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-mips.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fdac073..2d6a557 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
+
2005-04-09 Alan Modra <amodra@bigpond.net.au>
* read.c (assign_symbol): Remove const from parm. Fix xcalloc
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 73eab2a..d622d4b 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -10986,9 +10986,9 @@ md_apply_fix3 (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
hiv = 0xffffffff;
else
hiv = 0;
- md_number_to_chars ((char *)(buf + target_big_endian ? 4 : 0),
+ md_number_to_chars ((char *)(buf + (target_big_endian ? 4 : 0)),
*valP, 4);
- md_number_to_chars ((char *)(buf + target_big_endian ? 0 : 4),
+ md_number_to_chars ((char *)(buf + (target_big_endian ? 0 : 4)),
hiv, 4);
}
}