about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ia64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-27 20:14:37 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-27 20:14:37 +0000
commita5d07eb215256f78193e3ae865d0b462bac775f6 (patch)
tree0264feb1ea56c09c9f7c396ad59bf1cb3781582c /sysdeps/unix/sysv/linux/ia64
parent5f267ab0145f7c7e10f372a398715a0ed8e91c50 (diff)
downloadglibc-a5d07eb215256f78193e3ae865d0b462bac775f6.tar.gz
glibc-a5d07eb215256f78193e3ae865d0b462bac775f6.tar.xz
glibc-a5d07eb215256f78193e3ae865d0b462bac775f6.zip
Update.
2002-04-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/fxstat.c: Fix a few issues with the
	_internal symbol handling.
	* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/fxstat.c5
-rw-r--r--sysdeps/unix/sysv/linux/ia64/lxstat.c7
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)