This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 5f7dc9b62575cfab781abda80602515ce42b43e8 (commit)
from 33b126af0e3036d554ef993acfe3f204066e2376 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5f7dc9b62575cfab781abda80602515ce42b43e8
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sun Dec 28 21:33:35 2014 +0100
for mips64 with N32 ABI we need to use newfstatat
Fixes compile errors with latest util-linux.
-----------------------------------------------------------------------
Summary of changes:
libc/sysdeps/linux/common/fstatat64.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libc/sysdeps/linux/common/fstatat64.c
b/libc/sysdeps/linux/common/fstatat64.c
index 015f57d..711521a 100644
--- a/libc/sysdeps/linux/common/fstatat64.c
+++ b/libc/sysdeps/linux/common/fstatat64.c
@@ -10,10 +10,18 @@
#include <bits/wordsize.h>
#include <sys/syscall.h>
+#if defined __mips__
+# include <sgidefs.h>
+#endif
+
/* 64bit ports tend to favor newfstatat() */
#if __WORDSIZE == 64 && defined __NR_newfstatat
# define __NR_fstatat64 __NR_newfstatat
#endif
+/* mips N32 ABI use newfstatat(), too */
+#if defined __mips__ && _MIPS_SIM == _ABIN32
+# define __NR_fstatat64 __NR_newfstatat
+#endif
#ifdef __NR_fstatat64
# include <sys/stat.h>
hooks/post-receive
--
uClibc-ng - small C library for embedded systems