|
From: <sv...@va...> - 2005-06-18 11:58:23
|
Author: tom
Date: 2005-06-18 12:58:18 +0100 (Sat, 18 Jun 2005)
New Revision: 3934
Log:
Make do_syscall_WRK take UWord arguments and return UWord results to
avoid inappropriate truncations on 64 bit systems. Also make it static
as it is not used anywhere else.
Modified:
trunk/coregrind/m_syscall.c
Modified: trunk/coregrind/m_syscall.c
=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_syscall.c 2005-06-18 11:37:01 UTC (rev 3933)
+++ trunk/coregrind/m_syscall.c 2005-06-18 11:58:18 UTC (rev 3934)
@@ -83,10 +83,10 @@
A function for doing syscalls.
------------------------------------------------------------------ */
=20
-extern UInt do_syscall_WRK (
- UInt syscall_no,=20
- UInt a1, UInt a2, UInt a3,
- UInt a4, UInt a5, UInt a6
+static UWord do_syscall_WRK (
+ UWord syscall_no,=20
+ UWord a1, UWord a2, UWord a3,
+ UWord a4, UWord a5, UWord a6
);
#if defined(VGP_x86_linux)
/* Incoming args (syscall number + up to 6 args) come on the stack.
|