From: Julian Seward Date: Thu, 17 Nov 2005 11:01:55 +0000 (+0000) Subject: Enable sys_lstat on ppc32. X-Git-Tag: svn/VALGRIND_3_1_0~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e084e8121d61dc49c81f9eeb8c5a963da131ee4;p=thirdparty%2Fvalgrind.git Enable sys_lstat on ppc32. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5160 --- diff --git a/coregrind/m_syswrap/syswrap-ppc32-linux.c b/coregrind/m_syswrap/syswrap-ppc32-linux.c index c68b2df743..c45557cc5e 100644 --- a/coregrind/m_syswrap/syswrap-ppc32-linux.c +++ b/coregrind/m_syswrap/syswrap-ppc32-linux.c @@ -1570,7 +1570,7 @@ const SyscallTableEntry ML_(syscall_table)[] = { //.. //.. GENXY(__NR_getitimer, sys_getitimer), // 105 GENXY(__NR_stat, sys_newstat), // 106 -//.. GENXY(__NR_lstat, sys_newlstat), // 107 + GENXY(__NR_lstat, sys_newlstat), // 107 GENXY(__NR_fstat, sys_newfstat), // 108 //.. // (__NR_olduname, sys_uname), // 109 -- obsolete //.. diff --git a/coregrind/vki_unistd-ppc32-linux.h b/coregrind/vki_unistd-ppc32-linux.h index 5e50a549b0..8ca922fd0f 100644 --- a/coregrind/vki_unistd-ppc32-linux.h +++ b/coregrind/vki_unistd-ppc32-linux.h @@ -136,7 +136,7 @@ #define __NR_setitimer 104 //#define __NR_getitimer 105 #define __NR_stat 106 -//#define __NR_lstat 107 +#define __NR_lstat 107 #define __NR_fstat 108 //#define __NR_olduname 109 //#define __NR_iopl 110