diff --git a/gas/ChangeLog b/gas/ChangeLog index 761b259af5..70396f5c43 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 18cb24bb11..644e76ab96 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)