aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2003-10-01 06:09:31 +0000
committerChris Demetriou <cgd@google.com>2003-10-01 06:09:31 +0000
commit609f23f4ff6eb391d96a7ed39bf22968f84d94fb (patch)
treef1e56199b8d0393480bee0a749393310c2abca2b /gas
parentecd13cd3ed9a3fcc6b539db7675807eb1f35f114 (diff)
downloadgdb-609f23f4ff6eb391d96a7ed39bf22968f84d94fb.zip
gdb-609f23f4ff6eb391d96a7ed39bf22968f84d94fb.tar.gz
gdb-609f23f4ff6eb391d96a7ed39bf22968f84d94fb.tar.bz2
2003-10-01 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (s_cpreturn): Correct errors in comment.
Diffstat (limited to 'gas')
-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 761b259..70396f5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-01 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (s_cpreturn): Correct errors in comment.
+
2003-10-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 18cb24b..644e76a 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -12527,11 +12527,11 @@ s_cprestore (int ignore ATTRIBUTE_UNUSED)
}
/* Handle the .cpreturn pseudo-op defined for NewABI PIC code. If an offset
- was given in the preceeding .gpsetup, it results in:
+ was given in the preceeding .cpsetup, it results in:
ld $gp, offset($sp)
If a register $reg2 was given there, it results in:
- daddiu $gp, $gp, $reg2
+ daddu $gp, $reg2, $0
*/
static void
s_cpreturn (int ignore ATTRIBUTE_UNUSED)