|
From: <sv...@va...> - 2005-12-22 20:15:07
|
Author: sewardj
Date: 2005-12-22 20:14:57 +0000 (Thu, 22 Dec 2005)
New Revision: 5410
Log:
Comment-only changes
Modified:
trunk/coregrind/m_syswrap/syscall-ppc64-linux.S
Modified: trunk/coregrind/m_syswrap/syscall-ppc64-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_syswrap/syscall-ppc64-linux.S 2005-12-22 20:11:28 U=
TC (rev 5409)
+++ trunk/coregrind/m_syswrap/syscall-ppc64-linux.S 2005-12-22 20:14:57 U=
TC (rev 5410)
@@ -1,7 +1,7 @@
=20
-##--------------------------------------------------------------------##
-##--- Support for doing system calls. syscall-ppc64-linux.S ---##
-##--------------------------------------------------------------------##
+/*--------------------------------------------------------------------*/
+/*--- Support for doing system calls. syscall-ppc64-linux.S ---*/
+/*--------------------------------------------------------------------*/
=20
/*
This file is part of Valgrind, a dynamic binary instrumentation
@@ -50,7 +50,7 @@
back to regs->m_gpr[3]/m_xer/m_result on completion.
=20
Returns 0 if the syscall was successfully called (even if the
- syscall itself failed), or an nonzero error code in the lowest
+ syscall itself failed), or a nonzero error code in the lowest
8 bits if one of the sigprocmasks failed (there's no way to
determine which one failed). And there's no obvious way to
recover from that either, but nevertheless we want to know.
@@ -139,7 +139,7 @@
addi 1,1,80
blr
=20
- /* failure: return -ve error code */
+ /* failure: return 0x8000 | error code */
7: ori 3,3,0x8000 /* FAILURE -- ensure return value is nonzero */
b 5b
=20
@@ -163,6 +163,6 @@
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
=20
-##--------------------------------------------------------------------##
-##--- end ---##
-##--------------------------------------------------------------------##
+/*--------------------------------------------------------------------*/
+/*--- end ---*/
+/*--------------------------------------------------------------------*/
|