about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-06-15 21:46:20 -0400
committerAndreas Schwab <schwab@redhat.com>2011-06-16 10:46:18 +0200
commitfe6a22b68c40902e5bdf52c3c29979ec0eb58747 (patch)
tree22d387fce1159454e12f03c54111eb320c0d2fd2
parent74cab7c660856e81852a715e516278eb54b57800 (diff)
downloadglibc-fe6a22b68c40902e5bdf52c3c29979ec0eb58747.tar.gz
glibc-fe6a22b68c40902e5bdf52c3c29979ec0eb58747.tar.xz
glibc-fe6a22b68c40902e5bdf52c3c29979ec0eb58747.zip
Improve 64-bit build
An imperfect version of fxstatat64 was used in ld.so.
(cherry picked from commit ee22793dd0b6c6bcbf341b5324da1af83d07dd13)
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 61655f2f19..a08e0e1dcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-14  Andreas Schwab  <schwab@redhat.com>
+
+	* sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
+
 2011-06-14  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c b/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
new file mode 100644
index 0000000000..339e5f4335
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
@@ -0,0 +1,6 @@
+/* In this implementation we do not really care whether the call fails
+   because of missing kernel support since we do not even call the
+   function in this case.  */
+#undef __ASSUME_ATFCTS
+#define __ASSUME_ATFCTS 1
+#include "fxstatat.c"