From a5d07eb215256f78193e3ae865d0b462bac775f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 27 Apr 2002 20:14:37 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ sysdeps/unix/sysv/linux/ia64/fxstat.c | 5 +++++ sysdeps/unix/sysv/linux/ia64/lxstat.c | 7 ++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f1de042..efd5a82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. + 2002-04-26 Ulrich Drepper * sysdeps/ia64/fpu/s_finite.S: Define _internal aliases. diff --git a/sysdeps/unix/sysv/linux/ia64/fxstat.c b/sysdeps/unix/sysv/linux/ia64/fxstat.c index 2783c0f..297762e 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 4496825..19f9af0 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) -- 2.7.4