OSDN Git Service
Carmelo Amoroso [Wed, 10 Feb 2010 14:18:26 +0000 (15:18 +0100)]
libc_sh: Add a sysdep header for sh
A new sysdep header for sh (ported from NPTL branch) to provide some
useful macros in asm code:
ENTRY: an entry point visible from C
PSEUDO: a wrapper for syscall with proper errno checking
SYSCALL_ERROR_HANDLER: errno check (suitable for TLS)
This will help in NPTL integration.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Wed, 10 Feb 2010 14:14:14 +0000 (15:14 +0100)]
libc: Add a common sysdep header
Add a common header file to provide macros useful in asm code:
C_LABEL to construct the asm name for a C symbol
cfi_xxx to generate eh_frame unwind information.
Ported from NPTL branch.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Mon, 8 Feb 2010 15:24:06 +0000 (16:24 +0100)]
libc: Fix typo in include/rpc
s/GNU_SOUCE/GNU_SOURCE/ in include/rcp/
Signed-off-by: Jason Woodward <jason.woodward@timesys.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Atsushi Nemoto [Fri, 29 Jan 2010 15:24:37 +0000 (00:24 +0900)]
getdents: Fix mips64 build
On Wed, 27 Jan 2010 07:14:08 +0100, Carmelo AMOROSO <carmelo.amoroso@st.com> wrote:
> I would re-write your patch in a simpler way.
>
> We already have the following
>
> 136 #if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64
> 137 attribute_hidden strong_alias(__getdents,__getdents64)
> 138 #endif
>
> I think that it's simpler to move in the proper place this statement.
Thanks, indeed. If we came into "#elif WORDSIZE == 32" block, above
condition never be true. So we can just move this statement out of
"#if...#elif...#elif...#endif" block. Here is a revised patch.
------------------------------------------------------
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: [PATCH] getdents: Fix mips64 build
Some archs (such as mips64) do not have getdents64 syscall but have
getdents syscall. Define alias for it.
This fixes regression from 0.9.30.1.
Backgrounds:
This is once done by commit
e8b1c674. But after the commit
33bcf733
("Use getdents syscall if kernel provide supports for this instead of
relying upon getdents64."), if __ASSUME_GETDENTS32_D_TYPE was defined
the alias for getdents64 is not defined. The macro
__ASSUME_GETDENTS32_D_TYPE had been effectively ignored until 0.9.30.1
but the commit
0f0f20ab ("Move kernel-features.h header from the
linuxthread directory to a common one...") really enables it.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 18:19:08 +0000 (19:19 +0100)]
prctl: silence shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 18:15:46 +0000 (19:15 +0100)]
ldso: add missing prototypes
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 10:58:47 +0000 (11:58 +0100)]
Revert "ftw.h installation: fix inverted logic"
The logic was fine previously.
Thanks to Peter Kjellerstedt for pointing out my confusion.
This reverts commit
d75f980f379dfbbe70ae8fb0956693a95af2fca2.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 4 Feb 2010 22:36:29 +0000 (23:36 +0100)]
libm: explain why some funcs are not implemented (yet)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Aurelien Jacobs [Thu, 4 Feb 2010 17:26:08 +0000 (09:26 -0800)]
libm: enable log2f and exp2f
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Wed, 3 Feb 2010 20:12:10 +0000 (12:12 -0800)]
Unbreak build for sparc on some config's
Thanks to rob@landley.net
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Wed, 3 Feb 2010 19:15:24 +0000 (20:15 +0100)]
__uClibc_main: use __pagesize to protect against recursion
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 3 Feb 2010 14:56:24 +0000 (15:56 +0100)]
add gethostid() testcase
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Filippo Arcidiacono [Wed, 3 Feb 2010 12:14:18 +0000 (07:14 -0500)]
libc: Fix l64a to return the correct buffer pointer
l64a was returning the pointer to the end of the internal
buffer instead of the start. This caused an infinite loop
in passwd application.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Denys Vlasenko [Wed, 3 Feb 2010 10:44:11 +0000 (11:44 +0100)]
powerpc/bits/sysdep.h: move confusingly placed #undef
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 2 Feb 2010 23:11:34 +0000 (00:11 +0100)]
/etc/resolv.conf: support "timeout:n" and "attempts:n" options
text data bss dec hex filename
- 1745 2 4 1751 6d7 libc/inet/dnslookup.o
+ 1760 2 4 1766 6e6 libc/inet/dnslookup.o
- 962 0 4 966 3c6 libc/inet/opennameservers.o
+ 1099 0 4 1103 44f libc/inet/opennameservers.o
- 462 4 472 938 3aa libc/inet/res_init.o
+ 454 4 468 926 39e libc/inet/res_init.o
- 870 0 0 870 366 libc/inet/res_query.o
+ 867 0 0 867 363 libc/inet/res_query.o
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 2 Feb 2010 22:09:16 +0000 (23:09 +0100)]
remove two checks for gettimeofday error
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 2 Feb 2010 22:07:24 +0000 (23:07 +0100)]
time,times: stop interpreting negative return values ar errors
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Tue, 2 Feb 2010 09:38:42 +0000 (10:38 +0100)]
lxdialog: remove objectfiles on clean
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Khem Raj [Mon, 25 Jan 2010 23:11:05 +0000 (15:11 -0800)]
errno: hide __libc_resp, __libc_errno, and __libc_h_errno
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bernhard Reutner-Fischer [Tue, 26 Jan 2010 17:00:52 +0000 (18:00 +0100)]
document UCLIBC_EXTRA_CFLAGS
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 26 Jan 2010 12:54:26 +0000 (13:54 +0100)]
convert to foo-y kbuild style
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Khem Raj [Mon, 25 Jan 2010 22:24:26 +0000 (14:24 -0800)]
mips/ldso: Check for TLS relocation in elf_machine_type_class.
* Store the symbol adress received from _dl_find_hash
and do not recompute it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Henning Heinold [Sun, 24 Jan 2010 05:29:42 +0000 (21:29 -0800)]
Makefile.in: Make install_dev depend on install_runtime.
* Helps in parallel build.
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Denys Vlasenko [Sun, 24 Jan 2010 01:26:26 +0000 (02:26 +0100)]
wchar.c: fix indentation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 23:39:57 +0000 (00:39 +0100)]
gethostid: switch to getaddrinfo and shrink
text data bss dec hex filename
382 0 0 382 17e libc/inet/hostid.os.old
326 0 0 326 146 libc/inet/hostid.os
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 22:25:01 +0000 (23:25 +0100)]
getprotoent_r: use correct define for return value
Doesn't correctly set result=NULL on error or EOF.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 21:41:25 +0000 (22:41 +0100)]
fix typo in previous commit
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 21:37:01 +0000 (22:37 +0100)]
silence some warnings about unused params
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 21:36:27 +0000 (22:36 +0100)]
ftw.h installation: fix inverted logic
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 20:29:19 +0000 (21:29 +0100)]
libc/inet: mark other odd /etc/conf/ spot
and wrap it in FALLBACK_TO_CONFIG_RESOLVCONF too. -24b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 20:22:32 +0000 (21:22 +0100)]
libc/inet: set path to resolver file via CPP
No objcode changes.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 20:11:47 +0000 (21:11 +0100)]
libc/inet: convert to foo-y kbuild style
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 22 Jan 2010 12:57:32 +0000 (13:57 +0100)]
silence warning about implicit decl of sysctl
... and reinstate comment explaining the gory details
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Hans-Christian Egtvedt [Wed, 16 Dec 2009 12:16:08 +0000 (13:16 +0100)]
avr32: add varargs handling of prctl syscall
prctl is defined to use varargs in the header file, hence it needs varargs
specific handling in the source. This patch properly handles the variodic
argument before the syscall is passed to the kernel for the AVR32 architecture.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Bernhard Reutner-Fischer [Thu, 21 Jan 2010 09:42:02 +0000 (10:42 +0100)]
wordexp: silence shadow warning
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 21 Jan 2010 09:36:13 +0000 (10:36 +0100)]
fix typo in version mismatch msg
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:33:14 +0000 (17:33 +0100)]
ldso: tweak shadow warning with preload file support
The stat buffer is already declared at the top of the function.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:26:11 +0000 (17:26 +0100)]
rename exp(onent) to _exp
to avoid shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:21:52 +0000 (17:21 +0100)]
ether_line: fix build for socket && !ip
The internal __ether_line helper needs ether_ntoa_r()
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 20 Jan 2010 22:42:57 +0000 (23:42 +0100)]
test commit
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 16 Jan 2010 18:18:38 +0000 (19:18 +0100)]
futimens: add missing local prototype
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 16 Jan 2010 18:14:12 +0000 (19:14 +0100)]
rename exp(onent) to ex
to avoid shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 15 Jan 2010 14:59:56 +0000 (15:59 +0100)]
randconfig.sh: set number of make jobs
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Yoshinori Sato [Sat, 16 Jan 2010 18:14:29 +0000 (19:14 +0100)]
include unistd.h for smallint
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Khem Raj [Wed, 13 Jan 2010 01:51:32 +0000 (17:51 -0800)]
mips/nptl: Pass correct parameters to dl_find_hash when resolving TLS relocations.
Make use of macros from sys/asm.h in crt1.S
These two changes are needed for mips nptl to boot once again.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Denys Vlasenko [Sat, 9 Jan 2010 20:58:50 +0000 (21:58 +0100)]
ctime: do not use static struct tm buffer
text data bss dec hex filename
- 19 0 0 19 13 libc/misc/time/ctime.o
+ 25 0 0 25 19 libc/misc/time/ctime.o
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Austin Foxley [Sun, 27 Dec 2009 20:13:52 +0000 (12:13 -0800)]
test/math: put scalbf test under susv3 legacy define
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Chris Metcalf [Wed, 23 Dec 2009 20:00:55 +0000 (15:00 -0500)]
Make _dl_dprintf buf non-static to avoid multithreading bugs.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Freeman Wang [Sat, 19 Dec 2009 21:43:00 +0000 (13:43 -0800)]
malloc: fix race condition and other bugs in the no-mmu malloc
Fixes multiple race conditions on mmb list. This was done by
making the mmb_heap_lock into a recursive lock and making the
regular heap_lock extend to cover the mmb heap handling.
Also move the new_mmb allocation up to before the mmb list is
iterated through to find the insertion point. When the mmb_heap
also runs out and needs to be extended when the regular heap is
just extended, the mmb list could be messed up.
Signed-off-by: Freeman Wang <xwang@ubicom.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 19 Dec 2009 21:35:52 +0000 (13:35 -0800)]
x86_64: fix multiple definition of chk functions
also enable __chk_fail and only try to call it when SSP is on
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Hans-Christian Egtvedt [Wed, 16 Dec 2009 12:12:00 +0000 (13:12 +0100)]
check if USE_TLS is defined before use
This patch will convert all the #ifdef USE_TLS and #if USE_TLS to
#if defined(USE_TLS) && USE_TLS.
By checking if the USE_TLS is defined before checking its value will result in
correct behavior for architectures not defining this config symbol.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Acked-by: Carmelo AMOROSO <carmelo.amoroso@st.com>
Carmelo Amoroso [Wed, 16 Dec 2009 11:37:07 +0000 (12:37 +0100)]
libc: Remove pointless header string.h
It is already include from the internal header sigset-cvt-mask.h
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Wed, 16 Dec 2009 11:07:43 +0000 (12:07 +0100)]
libc: Add missing header for memset
Silence compiler warning by adding the missing string.h header
to include memset prototype.
Do some code tidy-up removing commented out libc_hidden_proto macros
in the meanwhile.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Wed, 16 Dec 2009 08:09:38 +0000 (09:09 +0100)]
build: Get rids of PIC macro using compiler flag __PIC__ instead
Based on Peter Mazinger's comments on a recent commit, I decided
to get rids of all occurrences of PIC changing them to __PIC__
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Giuseppe Cavallaro [Mon, 14 Dec 2009 15:45:49 +0000 (16:45 +0100)]
sh: fix endianess and optimise the SH4 memcpy
This patch fixes the big-endian code and adds a new optimization
only for little endian mode.
This optimization is based on prefetching and 64bit data transfer via FPU.
Tests shows that
----------------------------------------
Memory bandwidth | Gain
| sh4-300 | sh4-200
----------------------------------------
512 bytes to 16KiB | ~20% | ~25%
from 32KiB to 16MiB | ~190% | ~5%
----------------------------------------
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Denys Vlasenko [Sun, 13 Dec 2009 04:47:19 +0000 (05:47 +0100)]
syslog: use send(MSG_NOSIGNAL) instead of write, thus no need to handle SIGPIPE
Size changes by this and previous change:
text data bss dec hex filename
1151 13 2 1166 48e libc/misc/syslog/syslog.o
1093 10 2 1105 451 libc/misc/syslog/syslog.o
1047 10 2 1059 423 libc/misc/syslog/syslog.o
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Sun, 13 Dec 2009 03:00:52 +0000 (04:00 +0100)]
syslog: fix openlog(xx, LOG_KERN) and optimize a bit
The fix:
logfac == 0 in openlog(xx, logfac) is allowed now.
Corresponding internal openlog() call in vsyslog()
uses explicit LOG_USER in order to set it as a default
facility.
Optimizations:
mylock is not recursive now, since a single intenal call
of openlog is converted to a call to openlog_internal
which assumes that lock is already taken. No recursive
locking is possible now.
LogFacility is reduced to byte.
cache static LogFile in auto variable fd (smaller code).
vsyslog with bogus pri parameter wouldn't lock/unlock
and mess with signals - it will just return at once.
pass NULL as ident string in internal openlog call
- same effect as passing LogTag but smaller code.
comment out "if (LogTag)" checks - it is never NULL.
use the same struct sigaction for setting new sigaction
and for saving old one - saves ~32 bytes of stack.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Khem Raj [Fri, 11 Dec 2009 17:40:05 +0000 (09:40 -0800)]
Include bits/libc-lock.h to get __libc_once_define
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Austin Foxley <austinf@cetoncorp.com>
Filippo Arcidiacono [Wed, 9 Dec 2009 15:24:46 +0000 (16:24 +0100)]
test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}
dltest and dltest2 do not refer any symbols implemented
in pthread library, so do not explicitly link them with pthread.
It is required only for the shared objects that are loaded
via dlopen by those tests.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Thu, 3 Dec 2009 07:06:10 +0000 (08:06 +0100)]
sh: Add a prototype for the gcc __set_fpscr internal function
The sh port uses the gcc __set_fpscr internal function, but neither gcc
nor glibc creates a prototype for it. This leads to a bunch of random
warnings about implicit decls during the build.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Austin Foxley [Tue, 1 Dec 2009 04:43:56 +0000 (20:43 -0800)]
uClibc_ctype.h: fix inverted check for susv4 macro
Was causing build failures if ctype tables were disabled and susv4 was on
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Mon, 30 Nov 2009 04:54:10 +0000 (20:54 -0800)]
test/.gitignore: Ignore a few more test binaries
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Mon, 30 Nov 2009 01:20:11 +0000 (17:20 -0800)]
test/dlopen: fix build for libtest.so
needs -lpthread, recent addition of -z,defs and -z,now exposed this
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Mon, 30 Nov 2009 01:02:43 +0000 (17:02 -0800)]
test/dlopen: Match the function name that libtest actually sets
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Mon, 30 Nov 2009 01:00:38 +0000 (17:00 -0800)]
test/pthread: fix build of cancellation-points test
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Mon, 30 Nov 2009 00:49:11 +0000 (16:49 -0800)]
test/stat: fix compiling the memcmp-stat test when __USE_MISC is defined
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Fri, 27 Nov 2009 09:03:24 +0000 (10:03 +0100)]
Add update instructions for x86_64 WRT utmp format
Commit
983c4d5188f8a7eb00766e3b3e89b218899a3a08 changed the utmp format
on x86_64 hosts to be 32bit compatible. Mention this fact and hint
x86_64 users that they will have to wipe their utmp file upon upgrade.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Denys Vlasenko [Thu, 26 Nov 2009 23:31:25 +0000 (00:31 +0100)]
make x86_64 struct utmp glibc-compatible
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Thu, 26 Nov 2009 17:52:29 +0000 (18:52 +0100)]
try to probe if stat.t_mtim.tv_nsec is available
Do not treat tv_nsec mismatches as errors on filesystems without support for it.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 26 Nov 2009 17:51:13 +0000 (18:51 +0100)]
correct comment
and disable built-in rules
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 26 Nov 2009 17:50:36 +0000 (18:50 +0100)]
Robustify setting silent mode
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 25 Nov 2009 14:56:28 +0000 (15:56 +0100)]
sync confname, environments with glibc
Plus related synch.
Add a testcase for the sysconf variables based on the one from glibc
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 25 Nov 2009 14:55:47 +0000 (15:55 +0100)]
ignore some more testcase binaries
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 25 Nov 2009 14:42:50 +0000 (15:42 +0100)]
call nanosleep directly
usleep is a SUSv3 function.
TODO: nanosleep moved from SUSv3 Timers to SUSv4 Base
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 25 Nov 2009 14:41:50 +0000 (15:41 +0100)]
conditional cancellation-point test of usleep
usleep is a SUSv3 function
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 25 Nov 2009 14:40:35 +0000 (15:40 +0100)]
pass more ld flags
add -z defs,now
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 25 Nov 2009 14:39:36 +0000 (15:39 +0100)]
ether_*() depend on socket or IP support
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 25 Nov 2009 09:59:31 +0000 (10:59 +0100)]
avoid warning about unused variable
If LDSO_SEARCH_INTERP_PATH is off then ptmp wasn't used.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 19:40:41 +0000 (20:40 +0100)]
in6_{pktinfo,mtuinfo}: provide type if IPV6 is on
Disable some IPv6 header defines if IPv6 is off.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mike Frysinger [Tue, 24 Nov 2009 02:35:34 +0000 (21:35 -0500)]
nommu: use MAP_UNINITIALIZE for mallocs
Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use
it to get real uninitialized memory on no-mmu systems. This avoids a lot
of normally useless overhead involved in zeroing out all of the memory
(sometimes multiple times).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 24 Nov 2009 01:48:50 +0000 (20:48 -0500)]
bits/mmap.h: unify ala linux asm-generic efforts
Most ports have the same exact mman bit defines, so let's unify things
like the linux kernel has with the asm-generic efforts.
A few ports are left behind as they are non-trivial to merge -- the arch
maintainers can tackle it if they care.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Bernhard Reutner-Fischer [Mon, 23 Nov 2009 08:43:58 +0000 (09:43 +0100)]
futimens: Ducument why we need manual hidden_proto
Also, remove unneeded __need_timespec (It cuts off a tiny bit of
work for CPP but is of course not strictly needed).
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mike Frysinger [Mon, 23 Nov 2009 04:54:40 +0000 (23:54 -0500)]
ldso: let people disable the implicit path search
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Austin Foxley [Mon, 23 Nov 2009 03:20:56 +0000 (19:20 -0800)]
Revert "libc: add hidden calls to pthread cleanup funcs"
This reverts commit
e0ac4efbdb498319f03a2a95d75d061ab6c68491.
Was causing segfaults on every pthread linked executable
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Mike Frysinger [Sun, 22 Nov 2009 08:37:56 +0000 (03:37 -0500)]
install_headers.sh: make more user friendly
Make it easier to run this by hand and don't abort when recursive chown
and chmod fail as these often aren't due to uClibc settings.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 22 Nov 2009 08:17:46 +0000 (03:17 -0500)]
remove incorrect text from abspath option
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 22 Nov 2009 01:09:42 +0000 (20:09 -0500)]
install shared libs with +x perms
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 19:30:02 +0000 (20:30 +0100)]
realclean: wipe kconfig objects
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 19:28:49 +0000 (20:28 +0100)]
silence rule overriding
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 19:05:07 +0000 (20:05 +0100)]
futimens: add function
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 18:38:53 +0000 (19:38 +0100)]
make test-skeleton C89 compliant
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 09:13:16 +0000 (10:13 +0100)]
remove superfluous extra semicolons
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 08:41:04 +0000 (09:41 +0100)]
ppoll: get NULL from stddef.h
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 20 Nov 2009 08:37:56 +0000 (09:37 +0100)]
__assert: include unistd.h for smallint
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 02:27:18 +0000 (04:27 +0200)]
features.h: reorganize
Reorganize so uClibc related changes are better seen when syncing with glibc.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 02:17:57 +0000 (04:17 +0200)]
limits.h: update
Should we care about compilers not defining __LONG_LONG_MAX__?
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 02:16:12 +0000 (04:16 +0200)]
help broken apps to detect __GLIBC__ headers
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 02:07:01 +0000 (04:07 +0200)]
update headers and disable prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 01:51:49 +0000 (03:51 +0200)]
protocols.h: remove
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 01:45:53 +0000 (03:45 +0200)]
sync some headers and disable unused prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>