diff options
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/fxstat.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/lxstat.c | 7 |
2 files changed, 11 insertions, 1 deletions
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 <errno.h> #include <stddef.h> @@ -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 <errno.h> #include <stddef.h> @@ -30,6 +34,7 @@ #include <bp-checks.h> #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) |