From: Vincent Hanquez Date: Mon, 9 Feb 2009 17:22:43 +0000 (+0000) Subject: add-__x-functions.patch X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ce645b160c3e82b6a2490216df4b6970d975e691;p=xenclient%2Fuclibc.git add-__x-functions.patch --- diff --git a/libc/sysdeps/linux/common/fstat64.c b/libc/sysdeps/linux/common/fstat64.c index 5dfb23d..102d24e 100644 --- a/libc/sysdeps/linux/common/fstat64.c +++ b/libc/sysdeps/linux/common/fstat64.c @@ -32,4 +32,9 @@ int fstat64(int fd, struct stat64 *buf) return result; } libc_hidden_def(fstat64) + +int __fxstat64(int version, int fd, struct stat64 *buf) +{ + return fstat64(fd, buf); +} #endif diff --git a/libc/sysdeps/linux/common/lstat64.c b/libc/sysdeps/linux/common/lstat64.c index 97e9528..cbe6d9a 100644 --- a/libc/sysdeps/linux/common/lstat64.c +++ b/libc/sysdeps/linux/common/lstat64.c @@ -33,4 +33,9 @@ int lstat64(const char *file_name, struct stat64 *buf) } libc_hidden_def(lstat64) + +int __lxstat64(int version, const char *file_name, struct stat64 *buf) +{ + return lstat64(file_name, buf); +} #endif diff --git a/libc/sysdeps/linux/common/mknod.c b/libc/sysdeps/linux/common/mknod.c index b0f07b1..7768270 100644 --- a/libc/sysdeps/linux/common/mknod.c +++ b/libc/sysdeps/linux/common/mknod.c @@ -26,3 +26,8 @@ int mknod(const char *path, mode_t mode, dev_t dev) return __syscall_mknod(path, mode, k_dev); } libc_hidden_def(mknod) + +int __xmknod(int version, const char *path, mode_t mode, dev_t dev) +{ + return mknod(path, mode, dev); +} diff --git a/libc/sysdeps/linux/common/stat.c b/libc/sysdeps/linux/common/stat.c index 160f38a..f9429fe 100644 --- a/libc/sysdeps/linux/common/stat.c +++ b/libc/sysdeps/linux/common/stat.c @@ -38,6 +38,11 @@ int stat(const char *file_name, struct stat *buf) } libc_hidden_def(stat) +int __xstat(int version, const *file_name, struct stat *buf) +{ + return stat(file_name, buf); +} + #if ! defined __NR_stat64 && defined __UCLIBC_HAS_LFS__ extern __typeof(stat) stat64; libc_hidden_proto(stat64) diff --git a/libc/sysdeps/linux/common/stat64.c b/libc/sysdeps/linux/common/stat64.c index c9ba2bc..eff443d 100644 --- a/libc/sysdeps/linux/common/stat64.c +++ b/libc/sysdeps/linux/common/stat64.c @@ -32,4 +32,10 @@ int stat64(const char *file_name, struct stat64 *buf) return result; } libc_hidden_def(stat64) + +int __xstat64(int version, const char *file_name, struct stat64 *buf) +{ + return stat64(file_name, buf); +} + #endif