aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-03-13 00:45:34 -0700
committerDavid S. Miller <davem@davemloft.net>2012-03-13 00:45:34 -0700
commit10f62770e115d9f16a67a974f79fa9b100cf827b (patch)
tree90693f3024fcf8895ddc9d20e4dd93f689a5e996
parent5f0bdb18942a9749303ebb17ac8d080872557974 (diff)
downloadglibc-10f62770e115d9f16a67a974f79fa9b100cf827b.zip
glibc-10f62770e115d9f16a67a974f79fa9b100cf827b.tar.gz
glibc-10f62770e115d9f16a67a974f79fa9b100cf827b.tar.bz2
Use correct implementation for dl-fxstatat64 on sparc64.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 906df52..b11f82d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-03-13 David S. Miller <davem@davemloft.net>
+ * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
+
* sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
'err' in the ifdef scope in which it is actually used.
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c b/sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
new file mode 100644
index 0000000..339e5f4
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/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"