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, upstream has been updated
via 7badf754cbe7882b2ff0ffea05e027820bd716f6 (commit)
via 8c57a5d9c2357dab48e80787a413f89405df1df3 (commit)
from a9bdc5d28e692c04f51bcea1bb8e87f9c72ad09f (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 7badf754cbe7882b2ff0ffea05e027820bd716f6
Author: Max Filippov <jcmvbkbc(a)gmail.com>
Date: Sat Oct 25 14:32:35 2014 +0400
Config.in.arch: enable long double math for xtensa
Signed-off-by: Max Filippov <jcmvbkbc(a)gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop(a)gmail.com>
commit 8c57a5d9c2357dab48e80787a413f89405df1df3
Author: Anthony G. Basile <blueness(a)gentoo.org>
Date: Sat Sep 6 19:45:34 2014 -0400
statfs: fix compile error when UCLIBC_LINUX_SPECIFIC is not set
statfs() is a Linux-specific function. When building without
UCLIBC_LINUX_SPECIFIC set, libc_hidden_proto(statfs) in
include/sys/statfs.h is unmatched with libc_hidden_def(statfs)
in libc/sysdeps/linux/common/statfs.c, leading to a compile
error. This patch fixes this, as well as adds statfs() to the
list of Linux-specific functions in extra/Configs/Config.in.
Signed-off-by: Anthony G. Basile <blueness(a)gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop(a)gmail.com>
-----------------------------------------------------------------------
Summary of changes:
extra/Configs/Config.in | 6 +++---
extra/Configs/Config.in.arch | 2 +-
libc/sysdeps/linux/common/statfs.c | 3 ++-
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 0f68a9b..32180f7 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1021,9 +1021,9 @@ config UCLIBC_LINUX_SPECIFIC
ppoll(), readahead(), reboot(), remap_file_pages(),
sched_getaffinity(), sched_setaffinity(), sendfile(),
setfsgid(), setfsuid(), setresgid(), setresuid(),
- splice(), vmsplice(), tee(), signalfd(), swapoff(), swapon(),
- sync_file_range(), _sysctl(), sysinfo(), timerfd_*(), vhangup(),
- umount(), umount2()
+ splice(), vmsplice(), tee(), signalfd(), statfs(),
+ swapoff(), swapon(), sync_file_range(), _sysctl(),
+ sysinfo(), timerfd_*(), vhangup(), umount(), umount2()
config UCLIBC_HAS_GNU_ERROR
bool "Support GNU extensions for error-reporting"
diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch
index 2338e3c..68e03bf 100644
--- a/extra/Configs/Config.in.arch
+++ b/extra/Configs/Config.in.arch
@@ -191,7 +191,7 @@ config UCLIBC_HAS_FENV
config UCLIBC_HAS_LONG_DOUBLE_MATH
bool "Enable long double support"
depends on DO_C99_MATH
- depends on TARGET_i386 || TARGET_m68k || TARGET_sparc || TARGET_x86_64 || TARGET_powerpc
|| TARGET_sh || TARGET_microblaze
+ depends on TARGET_i386 || TARGET_m68k || TARGET_sparc || TARGET_x86_64 || TARGET_powerpc
|| TARGET_sh || TARGET_microblaze || TARGET_xtensa
default y
help
If you want the uClibc math library to contain the full set of C99
diff --git a/libc/sysdeps/linux/common/statfs.c b/libc/sysdeps/linux/common/statfs.c
index aae4738..3dfeb0b 100644
--- a/libc/sysdeps/linux/common/statfs.c
+++ b/libc/sysdeps/linux/common/statfs.c
@@ -34,6 +34,7 @@ int __libc_statfs(const char *path, struct statfs *buf)
# if defined __UCLIBC_LINUX_SPECIFIC__ || defined __UCLIBC_HAS_THREADS_NATIVE__
/* statfs is used by NPTL, so it must exported in case */
weak_alias(__libc_statfs, statfs)
+libc_hidden_def(statfs)
# endif
/* For systems which have both, prefer the old one */
@@ -45,7 +46,7 @@ _syscall2(int, __libc_statfs, const char *, path, struct statfs *, buf)
# if defined __UCLIBC_LINUX_SPECIFIC__ || defined __UCLIBC_HAS_THREADS_NATIVE__
/* statfs is used by NPTL, so it must exported in case */
weak_alias(__libc_statfs, statfs)
+libc_hidden_def(statfs)
# endif
#endif
-libc_hidden_def(statfs)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems