Improve 64-bit build
authorAndreas Schwab <schwab@redhat.com>
Thu, 16 Jun 2011 01:46:20 +0000 (21:46 -0400)
committerUlrich Drepper <drepper@gmail.com>
Thu, 16 Jun 2011 01:46:20 +0000 (21:46 -0400)
An imperfect version of fxstatat64 was used in ld.so.

ChangeLog
sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c [new file with mode: 0644]

index e7bfbb8..01c0ac7 100644 (file)
--- 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-15  Ulrich Drepper  <drepper@gmail.com>
 
        * Makeconfig: Define vardbdir and inst_vardbdir.
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 (file)
index 0000000..339e5f4
--- /dev/null
@@ -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"