This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[applied mips patch] fix s_cpreturn comment


as obvious as they get...

2003-10-01  Chris Demetriou  <cgd@broadcom.com>

	* config/tc-mips.c (s_cpreturn): Correct errors in comment.

Index: config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.232
diff -u -p -r1.232 tc-mips.c
--- config/tc-mips.c	1 Oct 2003 02:07:48 -0000	1.232
+++ config/tc-mips.c	1 Oct 2003 06:08:52 -0000
@@ -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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]