From a5d07eb215256f78193e3ae865d0b462bac775f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 27 Apr 2002 20:14:37 +0000 Subject: Update. 2002-04-27 Ulrich Drepper * sysdeps/unix/sysv/linux/ia64/fxstat.c: Fix a few issues with the _internal symbol handling. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. --- sysdeps/unix/sysv/linux/ia64/fxstat.c | 5 +++++ sysdeps/unix/sysv/linux/ia64/lxstat.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/ia64/fxstat.c b/sysdeps/unix/sysv/linux/ia64/fxstat.c index 2783c0f7bf..297762e276 100644 --- a/sysdeps/unix/sysv/linux/ia64/fxstat.c +++ b/sysdeps/unix/sysv/linux/ia64/fxstat.c @@ -20,6 +20,10 @@ /* Ho hum, since xstat == xstat64 we must get rid of the prototype or gcc will complain since they don't strictly match. */ #define __fxstat64 __fxstat64_disable +#define __fxstat64_internal __fxstat64_internal_disable +/* To avoid the optimizations of using _internal functions define + NOT_IN_libc. */ +#define NOT_IN_libc 1 #include #include @@ -32,6 +36,7 @@ extern int __syscall_fstat (int, struct stat *__unbounded); #undef __fxstat +#undef __fxstat64_internal /* Get information about the file FD in BUF. */ int diff --git a/sysdeps/unix/sysv/linux/ia64/lxstat.c b/sysdeps/unix/sysv/linux/ia64/lxstat.c index 449682563d..19f9af0259 100644 --- a/sysdeps/unix/sysv/linux/ia64/lxstat.c +++ b/sysdeps/unix/sysv/linux/ia64/lxstat.c @@ -20,6 +20,10 @@ /* Ho hum, since xstat == xstat64 we must get rid of the prototype or gcc will complain since they don't strictly match. */ #define __lxstat64 __lxstat64_disable +#define __lxstat64_internal __lxstat64_internal_disable +/* To avoid the optimizations of using _internal functions define + NOT_IN_libc. */ +#define NOT_IN_libc 1 #include #include @@ -30,6 +34,7 @@ #include #undef __lxstat +#undef __lxstat64_internal extern int __syscall_lstat (const char *__unbounded, struct stat *__unbounded); @@ -43,5 +48,5 @@ __lxstat (int vers, const char *name, struct stat *buf) INTDEF(__lxstat) weak_alias (__lxstat, _lxstat); #undef __lxstat64 -INTDEF(__lxstat64) strong_alias (__lxstat, __lxstat64); +INTDEF(__lxstat64) -- cgit v1.2.3