This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: dl-fxstatat64.c on x86-64
- From: Andreas Schwab <schwab at redhat dot com>
- To: Andreas Jaeger <aj at novell dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 14 Jun 2011 15:33:38 +0200
- Subject: Re: dl-fxstatat64.c on x86-64
- References: <201106141427.35879.aj@novell.com>
Andreas Jaeger <aj@novell.com> writes:
> So, what is the best way to handle this on 64-bit platforms?
2011-06-14 Andreas Schwab <schwab@redhat.com>
* sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
---
.../unix/sysv/linux/wordsize-64/dl-fxstatat64.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
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 0000000..339e5f4
--- /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"
--
1.7.5.2
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."