OSDN Git Service
Bernhard Reutner-Fischer [Wed, 15 Oct 2008 08:29:37 +0000 (08:29 -0000)]
- bump version to 0.9.30-rc2
Bernhard Reutner-Fischer [Tue, 14 Oct 2008 15:16:20 +0000 (15:16 -0000)]
- fix locale dependencies and make default locale generation less verbose.
The verbosity can be set to the previous level by passing V=2 to make.
Khem Raj [Sat, 11 Oct 2008 08:52:58 +0000 (08:52 -0000)]
Fix bug 4994 hangs on read(). I have tested the patch extensibly on ARM/LT.old.
Thank you Chase Douglas for reporting it and for the patch.
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 20:22:28 +0000 (20:22 -0000)]
- fix copy'n paste error
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 18:06:58 +0000 (18:06 -0000)]
- fix return value
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 17:10:26 +0000 (17:10 -0000)]
- add signalfd()
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 13:50:38 +0000 (13:50 -0000)]
- .. and don't install the config dir, too
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 13:46:01 +0000 (13:46 -0000)]
- remove bashism; don't install config/* to the target
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 13:14:15 +0000 (13:14 -0000)]
- pull kconfig from linux-2.6.27
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 13:10:57 +0000 (13:10 -0000)]
- make sure to match the start of the MAKE_VERSION
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 13:09:59 +0000 (13:09 -0000)]
- remove suspicious_dependency
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 07:53:52 +0000 (07:53 -0000)]
- add and use EXTRA_DIRS to wipe the test/locale/C directory
Bernhard Reutner-Fischer [Fri, 10 Oct 2008 07:19:34 +0000 (07:19 -0000)]
- Include stdio.h for the perror prototype, use constants from stdlib.h,
tidy up old-style function definition.
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 13:22:20 +0000 (13:22 -0000)]
- prevent spurious rebuilds
Previously this led to superfluous re-stripping and the re-ar'ing
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 12:59:45 +0000 (12:59 -0000)]
- cut down on attempted pattern rule matches
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 12:24:37 +0000 (12:24 -0000)]
- reinstate hostutils target
TODO: utils/* should be pulled in again to live in the normal buildsys..
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 12:23:29 +0000 (12:23 -0000)]
- tidy up utils_install
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 12:22:48 +0000 (12:22 -0000)]
- beautify hcompile.u
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 12:21:41 +0000 (12:21 -0000)]
- standardize fopen error message a bit
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 12:19:05 +0000 (12:19 -0000)]
- fix errno setting (we're outside of libc here)
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 12:18:24 +0000 (12:18 -0000)]
- mention a FIXME for some make guru :)
Bernhard Reutner-Fischer [Thu, 9 Oct 2008 10:46:42 +0000 (10:46 -0000)]
- fix test. Tests are normal userspace and are _not_ part of the libc itself
Thanks to Tobias Poschwatta for pointing out this error.
Bernhard Reutner-Fischer [Wed, 8 Oct 2008 23:22:11 +0000 (23:22 -0000)]
- sync comment to rule as pointed out by psm.
Bernhard Reutner-Fischer [Wed, 8 Oct 2008 21:22:38 +0000 (21:22 -0000)]
- fix bad r23573 from egtvedt
Bernhard Reutner-Fischer [Wed, 8 Oct 2008 18:40:40 +0000 (18:40 -0000)]
- fix building locale (pre- and generated, even parallel)
Bernhard Reutner-Fischer [Wed, 8 Oct 2008 16:30:43 +0000 (16:30 -0000)]
- revert bad hunk from (my) r22403
CRT need config too
Bernhard Reutner-Fischer [Wed, 8 Oct 2008 14:06:07 +0000 (14:06 -0000)]
- Fix strtol*() with xlocale (on e.g. x86_64) (closes #2544)
Bernhard Reutner-Fischer [Wed, 8 Oct 2008 14:05:03 +0000 (14:05 -0000)]
- add/use variables to make build-tools configurable
Carmelo Amoroso [Mon, 6 Oct 2008 15:04:46 +0000 (15:04 -0000)]
Fix scandir function to reset the errno when the
selector returns zero(no entries) modifying the errno.
The attached test case implements a dummy filter that returns
alway no entries, but change the errno. scandir is not expected
to fail, just returning 0 entries.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 14:54:09 +0000 (14:54 -0000)]
- fix typo in previous commit
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 14:46:37 +0000 (14:46 -0000)]
- add libc_hidden_def(clock_getres) as spotted by Ned Ludd
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 10:24:41 +0000 (10:24 -0000)]
- implement log2()
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 09:54:03 +0000 (09:54 -0000)]
- mention the architectures that currently support fenv(3).
i387 works (could be that it works on x86_64, untested), sse code disabled.
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 09:16:43 +0000 (09:16 -0000)]
- wrap overlong lines
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 09:15:39 +0000 (09:15 -0000)]
- move helptexts to their config symbols so that they are actually displayed
TODO: trick kconfig into displaying choice help properly
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 09:13:43 +0000 (09:13 -0000)]
- sync obstack.{c,h} with glibc (Peter S. Mazinger)
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 08:56:48 +0000 (08:56 -0000)]
- Fallback waitid impl (Peter S. Mazinger)
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 08:56:16 +0000 (08:56 -0000)]
- hide relocation (Peter S. Mazinger)
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 08:55:46 +0000 (08:55 -0000)]
- silence warning
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 08:55:23 +0000 (08:55 -0000)]
- disentangle REALTIME from ADVANCED_REALTIME (Peter S. Mazinger)
Bernhard Reutner-Fischer [Mon, 6 Oct 2008 08:54:40 +0000 (08:54 -0000)]
- tweak inclusion of asm/socket.h for linux-2.4 (Peter S. Mazinger)
Bernhard Reutner-Fischer [Fri, 3 Oct 2008 14:24:28 +0000 (14:24 -0000)]
- add long double math wrappers (Ned Ludd)
Bernhard Reutner-Fischer [Fri, 3 Oct 2008 13:59:52 +0000 (13:59 -0000)]
- use c89-style comments
Closes issue #5194
Hans-Christian Egtvedt [Thu, 2 Oct 2008 14:15:05 +0000 (14:15 -0000)]
Fix bad commit 23574 for io redirecting when running the test suite
This patch fixes the previous r23574 and uses a correct syntax for redirecting.
./foo > bar.out 2>&1
Hans-Christian Egtvedt [Thu, 2 Oct 2008 12:54:43 +0000 (12:54 -0000)]
Use more generic redirecting of output in the test suite
This patch replaces the "&> file" with "> file 2>> file". The latter is
compatible with Busybox ash shell, which makes it easier to run the test suite
on target.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt [Thu, 2 Oct 2008 05:21:27 +0000 (05:21 -0000)]
Ensure that headers are generated before libs
This patch makes libs: rule depend on pregen, that way all generated headers
are available before starting to compile. This makes the build process parallel
safe.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Carmelo Amoroso [Wed, 1 Oct 2008 14:58:13 +0000 (14:58 -0000)]
Fix compilation problem whit the following config options:
UCLIBC_HAS_STRING_GENERIC_OPT=y
UCLIBC_HAS_STRING_ARCH_OPT is not set
by making WORD_COPY_FWD macros visible.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Tue, 30 Sep 2008 12:17:04 +0000 (12:17 -0000)]
- fix whitespace
Bernhard Reutner-Fischer [Tue, 30 Sep 2008 12:09:55 +0000 (12:09 -0000)]
- avoid warning about undefined preprocessor token
Bernhard Reutner-Fischer [Tue, 30 Sep 2008 11:58:17 +0000 (11:58 -0000)]
- add missing const qualifier for !__NR_sched_setaffinity && HAVE_STUBS
Bernhard Reutner-Fischer [Tue, 30 Sep 2008 11:50:50 +0000 (11:50 -0000)]
- remove some duplicate includes
Bernhard Reutner-Fischer [Tue, 30 Sep 2008 11:36:18 +0000 (11:36 -0000)]
- fix compilation of UCLIBC_HAS_PTY && !ASSUME_DEVPTS && !LINUX_SPECIFIC
Bernhard Reutner-Fischer [Tue, 30 Sep 2008 11:28:52 +0000 (11:28 -0000)]
- tweak helptext
Bernhard Reutner-Fischer [Tue, 30 Sep 2008 11:26:24 +0000 (11:26 -0000)]
- remove shadows declaration of struct st (already declared in function scope)
Bernhard Reutner-Fischer [Mon, 29 Sep 2008 16:57:31 +0000 (16:57 -0000)]
- add a copy of user_regs
Bernhard Reutner-Fischer [Mon, 29 Sep 2008 14:34:40 +0000 (14:34 -0000)]
- do not pass bitwise-or to the assembler. Closes #3164
Carmelo Amoroso [Mon, 29 Sep 2008 13:19:35 +0000 (13:19 -0000)]
sh_ldso: Fix typo: missing semi-colon.
Bernhard Reutner-Fischer [Mon, 29 Sep 2008 13:04:10 +0000 (13:04 -0000)]
- honour UCLIBC_HAS_SYSLOG
Carmelo Amoroso [Mon, 29 Sep 2008 12:59:45 +0000 (12:59 -0000)]
Fix comment.
Carmelo Amoroso [Mon, 29 Sep 2008 12:09:52 +0000 (12:09 -0000)]
ldso: allow undefined references to weak symbols
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Mon, 29 Sep 2008 11:58:15 +0000 (11:58 -0000)]
libdl: use stderr consistently.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Mon, 29 Sep 2008 11:56:03 +0000 (11:56 -0000)]
ldso: do not use hard-coded fd in _dl_dprintf. Use dl_debug_file consinstently.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Mon, 29 Sep 2008 11:36:48 +0000 (11:36 -0000)]
- now passes all LTP tests
Carmelo Amoroso [Mon, 29 Sep 2008 08:51:31 +0000 (08:51 -0000)]
i18n: Fix mbrtowc function to handle 0xc0 and 0xc1 sequence.
When the first byte of the multibyte sequence start with 0xc0
or 0xc1, the whole sequence is invalid, so the return value must
be -1 (instead of -2).
Fix bug #686.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Mon, 29 Sep 2008 08:16:51 +0000 (08:16 -0000)]
- fix ISO C keywords
Denis Vlasenko [Sat, 27 Sep 2008 23:38:26 +0000 (23:38 -0000)]
getgrouplist(): ...add files which I forgot to add.
Denis Vlasenko [Sat, 27 Sep 2008 23:36:50 +0000 (23:36 -0000)]
implement getgrouplist()
Rob Landley [Sat, 27 Sep 2008 22:00:34 +0000 (22:00 -0000)]
Dependencies tweak: make install should depend on all, or
"make -j 3 all install" can't work without two separate invocations of make.
Mike Frysinger [Fri, 26 Sep 2008 23:54:59 +0000 (23:54 -0000)]
use __UCLIBC_HAS_STUBS__
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 15:33:27 +0000 (15:33 -0000)]
- revert r23469. If gnu getopt is disabled, then there is no getopt.h.
In these cases the getopt stuff comes from unistd.h (which includes bits/getopt.h for us)
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 14:50:16 +0000 (14:50 -0000)]
- move libm_hidden_proto to the corresponding headers. Remove from callsites.
Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 14:46:41 +0000 (14:46 -0000)]
- remove all *_hidden_proto(...) on install_headers
Peter Kjellerstedt [Fri, 26 Sep 2008 14:37:08 +0000 (14:37 -0000)]
Rebased the memcpy() and memset() implementations for CRIS on the versions
found in newlib rather than the ones found in glibc. This should make them
smaller and (hopefully) make them compile with newer versions of gcc.
Peter Kjellerstedt [Fri, 26 Sep 2008 14:00:26 +0000 (14:00 -0000)]
Correct _init()/_fini() for CRISv32 as suggested by Stefan de Konink.
Bernhard Reutner-Fischer [Fri, 26 Sep 2008 08:05:23 +0000 (08:05 -0000)]
- revert inappropriate part of r23478
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 19:07:18 +0000 (19:07 -0000)]
- add some more math functions (patch from gentoo/solar)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 18:57:11 +0000 (18:57 -0000)]
- add __ieee754_log2()
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 17:49:20 +0000 (17:49 -0000)]
- fix typo
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 17:43:58 +0000 (17:43 -0000)]
- remove files that are not either LGPL or Public Domain.
- pull replacement funcs for fpmacros.c from glibc
This removes the powerpc/classic implementation which did not state any
license but read:
Copyright © 1991 Apple Computer, Inc. All rights reserved.
and thus was dubious (and not needed).
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 16:12:29 +0000 (16:12 -0000)]
- cast both times to double for consistency
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 15:07:27 +0000 (15:07 -0000)]
- add CONFIG_MIPS_ISA_MIPS32R2 (Julian Brown)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 14:36:11 +0000 (14:36 -0000)]
- also clean .oS
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 13:56:40 +0000 (13:56 -0000)]
- disable gettext support in obstack.
In function `print_and_abort':
obstack.c:(.text.print_and_abort+0x1b): undefined reference to `__dcgettext'
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 13:55:14 +0000 (13:55 -0000)]
- add prototypes
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 13:23:05 +0000 (13:23 -0000)]
- fix compilation of legacy mode
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 13:04:05 +0000 (13:04 -0000)]
- add missing hidden_def
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 12:59:13 +0000 (12:59 -0000)]
- fix !LFS case for i386
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 12:51:24 +0000 (12:51 -0000)]
- RPC support currently requires either IPv4 and/or IPv6 support
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 12:23:21 +0000 (12:23 -0000)]
- if we only have socket support then there is no resolver state:
In function `__pthread_reset_main_thread': undefined reference to `_res'
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 11:48:42 +0000 (11:48 -0000)]
- add missing dependency on lt_defines.h
- retry with some different locale if en_US happens not to be there
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 09:13:21 +0000 (09:13 -0000)]
- expand documentation
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 09:03:14 +0000 (09:03 -0000)]
- adjust helptext
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 08:50:56 +0000 (08:50 -0000)]
- arm eabi needs __UCLIBC_TRUNCATE64_HAS_4_ARGS__
(75_all_uClibc-arm-ftruncate64.patch from gentoo)
Bernhard Reutner-Fischer [Thu, 25 Sep 2008 08:35:20 +0000 (08:35 -0000)]
- ARMV5 can use STRD and LDRD access instructions but these accesses need to be
8 byte aligned. The dynamic linker's malloc needs to match this so structures
become 8 byte aligned to void unaligned accesses.
(71_all_uClibc-arm_fix_alignment.patch from gentoo)
Carmelo Amoroso [Thu, 25 Sep 2008 06:58:20 +0000 (06:58 -0000)]
sh: Fix SYSCALL_INST_STRx to work for SH-2[A] core by using the
__SH_SYSCALL_TRAP_BASE macro.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Thu, 25 Sep 2008 06:38:21 +0000 (06:38 -0000)]
Add globally __stringify macro in libc-symbols.h.
Remove all other duplicated definitions.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Mike Frysinger [Thu, 25 Sep 2008 01:21:34 +0000 (01:21 -0000)]
delete/init module functions are not 2.4 specific
Bernhard Reutner-Fischer [Wed, 24 Sep 2008 16:31:29 +0000 (16:31 -0000)]
- only compile them if the respective syscalls are available
Bernhard Reutner-Fischer [Wed, 24 Sep 2008 16:15:01 +0000 (16:15 -0000)]
- silence warning about possibly undefined preprocessor token
Bernhard Reutner-Fischer [Wed, 24 Sep 2008 15:30:59 +0000 (15:30 -0000)]
- Fix arguments to compare function. Closes #1081