From 609f23f4ff6eb391d96a7ed39bf22968f84d94fb Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Wed, 1 Oct 2003 06:09:31 +0000 Subject: [PATCH] 2003-10-01 Chris Demetriou * config/tc-mips.c (s_cpreturn): Correct errors in comment. --- gas/ChangeLog | 4 ++++ gas/config/tc-mips.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 761b259af5f..70396f5c432 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-10-01 Chris Demetriou + + * config/tc-mips.c (s_cpreturn): Correct errors in comment. + 2003-10-01 Thiemo Seufer * 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 18cb24bb113..644e76ab965 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) -- 2.30.2