OSDN Git Service

uclinux-h8/uClibc.git
15 years agoFollow sh asm convention to indent the instruction into the delay slot.
Carmelo Amoroso [Thu, 4 Sep 2008 09:42:02 +0000 (09:42 -0000)]
Follow sh asm convention to indent the instruction into the delay slot.
(glibc community refused to apply a my patch for this :-) )

15 years agoKill off the GOT lookup for init/fini in the sh crti.S. This was
Paul Mundt [Thu, 4 Sep 2008 09:24:12 +0000 (09:24 -0000)]
Kill off the GOT lookup for init/fini in the sh crti.S.  This was
inversely conditional on __HAVE_SHARED__, which has been broken since
the time it was copied in originally. The compiler properly generates
the GOT references on its own, negating the entire purpose for the
init/fini reference.

15 years agoMove ifaddrs.h from uClibc-internal location libc/inet/ to include/, and make
Ricard Wanderlof [Thu, 28 Aug 2008 07:33:17 +0000 (07:33 -0000)]
Move ifaddrs.h from uClibc-internal location libc/inet/ to include/, and make
it conditionally included among the installed header files depending on
UCLIBC_HAS_AI_ADDRCONFIG.

15 years ago- remove a couple of duplicate includes
Bernhard Reutner-Fischer [Wed, 27 Aug 2008 15:06:41 +0000 (15:06 -0000)]
- remove a couple of duplicate includes

15 years ago- flesh out helptext of DOMULTI.
Bernhard Reutner-Fischer [Wed, 27 Aug 2008 14:59:15 +0000 (14:59 -0000)]
- flesh out helptext of DOMULTI.
  Put short, just leave it alone or keep all parts --
  alternatively go help with lto if you have time.

15 years ago- should either be defined or callers should do_t_strip manually afterwards
Bernhard Reutner-Fischer [Wed, 27 Aug 2008 14:42:52 +0000 (14:42 -0000)]
- should either be defined or callers should do_t_strip manually afterwards

15 years agoRemoved redundant includes.
Ricard Wanderlof [Wed, 27 Aug 2008 13:52:12 +0000 (13:52 -0000)]
Removed redundant includes.

15 years ago- pull check-lxdialog.sh from linux-2.6.26
Bernhard Reutner-Fischer [Wed, 27 Aug 2008 07:32:11 +0000 (07:32 -0000)]
- pull check-lxdialog.sh from linux-2.6.26

15 years agoFix up an msync() redefinition for linuxthreads + nommu systems,
Paul Mundt [Thu, 21 Aug 2008 09:01:36 +0000 (09:01 -0000)]
Fix up an msync() redefinition for linuxthreads + nommu systems,
common case depends on __ARCH_USE_MMU__, falling back on the
include/sys/mman.h:msync() stub otherwise.

15 years agoDisable -msoft-float usage on SH, gcc doesn't support it.
Paul Mundt [Thu, 21 Aug 2008 08:59:27 +0000 (08:59 -0000)]
Disable -msoft-float usage on SH, gcc doesn't support it.

15 years ago- Fix powerpc pread/pwrite (Wade Berrier)
Bernhard Reutner-Fischer [Wed, 20 Aug 2008 07:42:33 +0000 (07:42 -0000)]
- Fix powerpc pread/pwrite (Wade Berrier)
  pread/write wanted to send an 8 byte value in the syscall where only 4 bytes
  were allowed.

15 years agoFix SH ldso sequence startup.
Carmelo Amoroso [Fri, 8 Aug 2008 07:28:02 +0000 (07:28 -0000)]
Fix SH ldso sequence startup.

Pass via r4 the rtld finalizer
_dl_fini to the user application. This will be the 6^ arg of
__uClibc_main and will be registered with 'atexit'.
In this way the dynamic linker will be able to call destructors
defined within the loaded DSOs.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Add missing 7th arg "stack_end".
add comment of undocumented usage of r4.
fix comment of expected __uClibc_main() prototype.

Signed-off-by: Yoshii Takashi <yoshii.takashi@renesas.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
15 years ago- some more asm keyword fixes (Yann E. MORIN)
Bernhard Reutner-Fischer [Wed, 6 Aug 2008 08:17:47 +0000 (08:17 -0000)]
- some more asm keyword fixes (Yann E. MORIN)

15 years agoRemove .depend when doing distclean
Carmelo Amoroso [Tue, 29 Jul 2008 09:40:59 +0000 (09:40 -0000)]
Remove .depend when doing distclean

15 years ago- trim any trailing whitespace
Bernhard Reutner-Fischer [Wed, 23 Jul 2008 11:23:36 +0000 (11:23 -0000)]
- trim any trailing whitespace

15 years ago- fix inline keyword
Bernhard Reutner-Fischer [Wed, 23 Jul 2008 11:19:00 +0000 (11:19 -0000)]
- fix inline keyword

15 years ago- fix asm and volatile keywords
Bernhard Reutner-Fischer [Wed, 23 Jul 2008 10:59:18 +0000 (10:59 -0000)]
- fix asm and volatile keywords

15 years agoavr32: Put underscores around asm, inline, etc.
Haavard Skinnemoen [Wed, 23 Jul 2008 08:05:45 +0000 (08:05 -0000)]
avr32: Put underscores around asm, inline, etc.

This fixes build breakage introduced in r22868.

16 years ago- poison non-standard keywords:
Bernhard Reutner-Fischer [Thu, 17 Jul 2008 16:54:31 +0000 (16:54 -0000)]
- poison non-standard keywords:
  Make sure that we can be built with non-C99 compilers, too.
  Use __\1__ instead.

16 years ago- pull fix for unwinding from the NPTL branch (Johannes Stezenbach)
Bernhard Reutner-Fischer [Thu, 17 Jul 2008 15:52:43 +0000 (15:52 -0000)]
- pull fix for unwinding from the NPTL branch (Johannes Stezenbach)
  Repair C89 compliance and severe whitespace-defects while at it.

16 years ago- improve UCLIBC_LINUX_SPECIFIC
Bernhard Reutner-Fischer [Mon, 14 Jul 2008 14:30:48 +0000 (14:30 -0000)]
- improve UCLIBC_LINUX_SPECIFIC
  compile-tested only, fixes
  libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function)

16 years ago- do not force LFS unto x86_64 folks
Bernhard Reutner-Fischer [Mon, 14 Jul 2008 14:16:31 +0000 (14:16 -0000)]
- do not force LFS unto x86_64 folks
  vapier, you added this in r12384. What was the reasoning back then?

16 years ago- remove the error counter
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 18:56:17 +0000 (18:56 -0000)]
- remove the error counter

16 years ago- add error-counter, do not immediately exit if a testcase fails but print
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 17:22:26 +0000 (17:22 -0000)]
- add error-counter, do not immediately exit if a testcase fails but print
  the overall error-counter at the end and exit accordingly.

16 years ago- do not test pthread if threads are not available
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 16:45:19 +0000 (16:45 -0000)]
- do not test pthread if threads are not available

16 years ago- the interp is an order-only prereq of lib-so-y
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 16:23:38 +0000 (16:23 -0000)]
- the interp is an order-only prereq of lib-so-y
- hint vi on the filetype while at it

16 years ago- don't test libcrypt stubs
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 16:16:04 +0000 (16:16 -0000)]
- don't test libcrypt stubs

16 years ago- do not run tests that are not available
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 16:02:24 +0000 (16:02 -0000)]
- do not run tests that are not available

16 years agowow. So why does test/ keep it's own copy of CFLAGS guessing etc?
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 15:55:39 +0000 (15:55 -0000)]
wow. So why does test/ keep it's own copy of CFLAGS guessing etc?

16 years agocheck and test have to depend on test_compile
Bernhard Reutner-Fischer [Fri, 11 Jul 2008 15:54:48 +0000 (15:54 -0000)]
check and test have to depend on test_compile

16 years agoRemoved wrong preprocessed files
Carmelo Amoroso [Thu, 10 Jul 2008 10:40:45 +0000 (10:40 -0000)]
Removed wrong preprocessed files

16 years agoAdded missing tests for locale with multibyte encoding
Carmelo Amoroso [Thu, 10 Jul 2008 10:30:28 +0000 (10:30 -0000)]
Added missing tests for locale with multibyte encoding

16 years agoAdded several tests for locale support (8 bit and multibyte UTF-8)
Carmelo Amoroso [Wed, 9 Jul 2008 15:05:36 +0000 (15:05 -0000)]
Added several tests for locale support (8 bit and multibyte UTF-8)

Basically all tests have been taken from glibc. For testing multibyte encoding
EUC_JP parts have been commented out and added new section for UTF-8
that is the only multibyte  codeset currently supported on uCLibc.

Some tests are still failing due to unsupported/missing features, other have been
fixed.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
16 years agosh4 don't need to cope with older RLIMIT implementation.
Carmelo Amoroso [Tue, 8 Jul 2008 10:37:05 +0000 (10:37 -0000)]
sh4 don't need to cope with older RLIMIT implementation.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
16 years agoFix the test build system by installing headers on a local folder
Carmelo Amoroso [Tue, 8 Jul 2008 08:05:44 +0000 (08:05 -0000)]
Fix the test build system by installing headers on a local folder
instead of using internal headers.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
16 years agoNew .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMU
Denis Vlasenko [Tue, 8 Jul 2008 02:41:21 +0000 (02:41 -0000)]
New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMU

16 years agoInclude errno.h from kernel headers instead of using internal errno_values.h
Carmelo Amoroso [Wed, 2 Jul 2008 16:26:23 +0000 (16:26 -0000)]
Include errno.h from kernel headers instead of using internal errno_values.h
otherwie some errno will be missed (i.e. ENOKEY used in libusb)

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
16 years agoFix makefile target to run test when there are some shell script.
Carmelo Amoroso [Wed, 2 Jul 2008 15:45:57 +0000 (15:45 -0000)]
Fix makefile target to run test when there are some shell script.
SImply do not include SHEL_TESTS among RUNTIME_TESTS, because
shell script have a their own rule to be excuted.
The runtime evaluation by using the $(shell ...) command doesn't work
due to immediate expansion of shell function.
Currently only nptl tests have shell script, so this problem have been never
discovered before.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
16 years agoSimplified check_pf() so it returns a bit vector in an unsigned int,
Ricard Wanderlof [Tue, 1 Jul 2008 12:54:49 +0000 (12:54 -0000)]
Simplified check_pf() so it returns a bit vector in an unsigned int,
instead of modifying the contents of two bools.

16 years ago#include <ifaddrs.h> should be #include "ifaddrs.h"
Denis Vlasenko [Sat, 28 Jun 2008 06:37:30 +0000 (06:37 -0000)]
#include <ifaddrs.h> should be #include "ifaddrs.h"

16 years agoadd test case for argv[0] == null
Mike Frysinger [Fri, 27 Jun 2008 19:13:06 +0000 (19:13 -0000)]
add test case for argv[0] == null

16 years agoif argv[0] is NULL, dont try to parse it and subsequently crash ... found by running...
Mike Frysinger [Fri, 27 Jun 2008 19:12:50 +0000 (19:12 -0000)]
if argv[0] is NULL, dont try to parse it and subsequently crash ... found by running execve05 ltp test on blackfin ([#4194])

16 years agoRemoved include/ifaddrs.h and put contents in libc/inet/ifaddrs.h, as we do not
Ricard Wanderlof [Fri, 27 Jun 2008 15:38:41 +0000 (15:38 -0000)]
Removed include/ifaddrs.h and put contents in libc/inet/ifaddrs.h, as we do not
need the file outside of uClibc anyway.

16 years agoFixed #if -> #if defined.
Ricard Wanderlof [Fri, 27 Jun 2008 15:29:48 +0000 (15:29 -0000)]
Fixed #if -> #if defined.
Take __UCLIBC_HAS_IPV4__ into account.

16 years agoAdded support for the AI_ADDRCONFIG flag in the hints->ai_flags parameter to getaddri...
Ricard Wanderlof [Fri, 27 Jun 2008 09:08:44 +0000 (09:08 -0000)]
Added support for the AI_ADDRCONFIG flag in the hints->ai_flags parameter to getaddrinfo(3).

16 years ago- make sure to build crti and crtn with PICFLAG
Bernhard Reutner-Fischer [Fri, 20 Jun 2008 09:12:42 +0000 (09:12 -0000)]
- make sure to build crti and crtn with PICFLAG

16 years ago- move stripping into do_ar resp compile-m for the sake of simplicity
Bernhard Reutner-Fischer [Tue, 17 Jun 2008 14:20:36 +0000 (14:20 -0000)]
- move stripping into do_ar resp compile-m for the sake of simplicity

16 years ago- remove improper comment
Bernhard Reutner-Fischer [Mon, 16 Jun 2008 17:15:20 +0000 (17:15 -0000)]
- remove improper comment

16 years ago- fix build error
Bernhard Reutner-Fischer [Mon, 16 Jun 2008 16:59:13 +0000 (16:59 -0000)]
- fix build error
  brk.c:(.text.__GI_sysconf+0xd4): undefined reference to `clock_getres'

16 years agodes: des_setkey always returns 0, there is no point
Denis Vlasenko [Fri, 13 Jun 2008 15:19:32 +0000 (15:19 -0000)]
des: des_setkey always returns 0, there is no point
in checking whether it returns 1.

    text           data     bss     dec     hex filename
-   4283              0   70209   74492   122fc libcrypt/des.o
+   4273              0   70209   74482   122f2 libcrypt/des.o

16 years agoInclude sys/syscall.h since we are checking for __NR_clock_getres.
Peter Kjellerstedt [Thu, 12 Jun 2008 22:28:03 +0000 (22:28 -0000)]
Include sys/syscall.h since we are checking for __NR_clock_getres.

16 years agoremove a trivial comment. no code changes
Denis Vlasenko [Thu, 12 Jun 2008 11:06:41 +0000 (11:06 -0000)]
remove a trivial comment. no code changes

16 years agoRevert revision 19347, plus libc_hidden_proto for __uc_malloc.
Bernd Schmidt [Thu, 12 Jun 2008 10:31:17 +0000 (10:31 -0000)]
Revert revision 19347, plus libc_hidden_proto for __uc_malloc.
Some of the code is functionally identical before and after, but for now
I'm just mechanically reverting the entire mess.

16 years agoRevert revision 19345 plus libc_hidden_proto for __uc_malloc.
Bernd Schmidt [Thu, 12 Jun 2008 10:14:14 +0000 (10:14 -0000)]
Revert revision 19345 plus libc_hidden_proto for __uc_malloc.

16 years agoRevert revision 19344 plus the libc_hidden_proto for __uc_malloc.
Bernd Schmidt [Thu, 12 Jun 2008 10:06:21 +0000 (10:06 -0000)]
Revert revision 19344 plus the libc_hidden_proto for __uc_malloc.

16 years agoRevert revision 19343 and also remove libc_hidden_proto for __uc_malloc.
Bernd Schmidt [Thu, 12 Jun 2008 10:00:41 +0000 (10:00 -0000)]
Revert revision 19343 and also remove libc_hidden_proto for __uc_malloc.
For now, a straight revert; we can decide later wheter we want to do something
more.

16 years agoMake locale_headers only when doing pregen and not headers
Carmelo Amoroso [Wed, 11 Jun 2008 18:29:48 +0000 (18:29 -0000)]
Make locale_headers only when doing pregen and not headers
due to dependencies against sysnum.h

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
16 years agolibcrypt/md5.c:
Denis Vlasenko [Wed, 11 Jun 2008 16:11:29 +0000 (16:11 -0000)]
libcrypt/md5.c:
Make sp, ep and p variables automatic.
There is no point in having them static,
they never use their values retained from previous call.
Replace strlen(__md5__magic) etc by compile-time constants.

    text           data     bss     dec     hex filename
-   1957              0     132    2089     829 libcrypt/md5.o
+   1905              0     120    2025     7e9 libcrypt/md5.o

16 years agoFix some compiler warnings
Carmelo Amoroso [Wed, 11 Jun 2008 15:03:31 +0000 (15:03 -0000)]
Fix some compiler warnings

16 years ago- disregard any and all $(top_builddir) in deps.
Bernhard Reutner-Fischer [Wed, 11 Jun 2008 14:25:06 +0000 (14:25 -0000)]
- disregard any and all $(top_builddir) in deps.
  Fixes e.g. make -C ldso rebuilding unneeded stuff

16 years agoFix two more cases where a libc_hidden_proto was added to string.h while
Bernd Schmidt [Wed, 11 Jun 2008 12:12:40 +0000 (12:12 -0000)]
Fix two more cases where a libc_hidden_proto was added to string.h while
no libc_hidden_def exists for the function.

16 years agoxtensa: Fix spill routine.
Chris Zankel [Wed, 11 Jun 2008 07:58:57 +0000 (07:58 -0000)]
xtensa: Fix spill routine.

The spill routine to flush all windowed registers was missing a 'mov'
instruction.

Signed-off-by: Chris Zankel <chris@zankel.net>
16 years ago- no need to export the included dependencies generated by cc
Bernhard Reutner-Fischer [Tue, 10 Jun 2008 18:30:43 +0000 (18:30 -0000)]
- no need to export the included dependencies generated by cc

16 years agoRevert revison 19346, except parts needed by later patches (r19347 also added
Bernd Schmidt [Tue, 10 Jun 2008 11:38:53 +0000 (11:38 -0000)]
Revert revison 19346, except parts needed by later patches (r19347 also added
__uc_malloc calls in getnetent.c, so we must retain the include and
libc_hidden_proto).

16 years agoRevert revision 19342, plus one whitespace fix demanded by the pre-commit
Bernd Schmidt [Tue, 10 Jun 2008 11:21:34 +0000 (11:21 -0000)]
Revert revision 19342, plus one whitespace fix demanded by the pre-commit
hook.

16 years ago- Improve prerequisites and avoid spurious reconfigurations.
Bernhard Reutner-Fischer [Mon, 9 Jun 2008 17:18:53 +0000 (17:18 -0000)]
- Improve prerequisites and avoid spurious reconfigurations.
  More details: http://uclibc.org/lists/uclibc/2008-June/019509.html

16 years agoIn string.h, move libc_hidden_proto next to the corresponding declaration.
Bernd Schmidt [Sun, 8 Jun 2008 20:38:53 +0000 (20:38 -0000)]
In string.h, move libc_hidden_proto next to the corresponding declaration.
Filter them out when installing headers.

Tested by building up bfin-*linux toolchains and building our copy of
uClinux-dist.

16 years ago- if UNIX98PTY_ONLY is not set then we're in legacy land anyway which needs
Bernhard Reutner-Fischer [Sat, 7 Jun 2008 15:19:18 +0000 (15:19 -0000)]
- if UNIX98PTY_ONLY is not set then we're in legacy land anyway which needs
  UCLIBC_HAS_GETPT unconditionally for __libc_ptyname{1,2}[] and related bloat.

16 years ago- revert incorrect parts of r22257 and 22259
Bernhard Reutner-Fischer [Sat, 7 Jun 2008 14:51:43 +0000 (14:51 -0000)]
- revert incorrect parts of r22257 and 22259
  since posix_openpt lives in getpt.c it has to stay there unconditionally.

16 years ago- remove __USE_BSD guard from __bsd_getpt().
Bernhard Reutner-Fischer [Sat, 7 Jun 2008 14:29:19 +0000 (14:29 -0000)]
- remove __USE_BSD guard from __bsd_getpt().
  Fixes compilation error for defined UCLIBC_HAS_PTY && !defined UNIX98PTY_ONLY
  which need both __libc_ptyname1 and __libc_ptyname2 for ptsname_r().

16 years ago- UCLIBC_HAS_GETPT pulls in getpt.
Bernhard Reutner-Fischer [Sat, 7 Jun 2008 13:55:32 +0000 (13:55 -0000)]
- UCLIBC_HAS_GETPT  pulls in getpt.
- ptsname_r depends on UCLIBC_HAS_PTY just like ptsname()

16 years agoRemove superfluous attribute_hidden from function
Denis Vlasenko [Fri, 6 Jun 2008 13:25:09 +0000 (13:25 -0000)]
Remove superfluous attribute_hidden from function
definition. I seems to produce spurious warning:
libc/inet/resolv.c:1549: warning: 'visibility' attribute ignored on non-class types
(seems like gcc bug)
and it is not really needed - attribute_hidden was already
specified in function _declaration_ so it is not necessary here.

No code changes (verified with objdump).

16 years agoDocument the reason why ether tests in testsuite may fail.
Denis Vlasenko [Fri, 6 Jun 2008 08:05:50 +0000 (08:05 -0000)]
Document the reason why ether tests in testsuite may fail.
No code changes.

16 years agoFix hard-to-rigger locking bug in vsyslog():
Denis Vlasenko [Fri, 6 Jun 2008 07:45:08 +0000 (07:45 -0000)]
Fix hard-to-rigger locking bug in vsyslog():
SIGPIPE handler was attempting to re-acquire an already taken lock.
While at it, stop checking for sigaction failure which is not possible here.
Sizes:

    text           data     bss     dec     hex filename
-   1123             13       2    1138     472 libc/misc/syslog/syslog.o
+   1112             13       2    1127     467 libc/misc/syslog/syslog.o

Run tested.

16 years agoUse more natural way to return a value in __read_etc_hosts_r:
Denis Vlasenko [Fri, 6 Jun 2008 07:25:12 +0000 (07:25 -0000)]
Use more natural way to return a value in __read_etc_hosts_r:

    text           data     bss     dec     hex filename
-    230              0       9     239      ef libc/inet/gethostent.o
+    224              0       9     233      e9 libc/inet/gethostent.o
-    782              0       0     782     30e libc/inet/read_etc_hosts_r.o
+    767              0       0     767     2ff libc/inet/read_etc_hosts_r.o

Run tested.

16 years agoFix failure in test/inet/gethost_r-align:
Denis Vlasenko [Fri, 6 Jun 2008 07:23:47 +0000 (07:23 -0000)]
Fix failure in test/inet/gethost_r-align:
we were closing a FILE, but did not record that fact by setting
a variable to NULL, and then we used it for reading!
While at it, small reduction in bss.
Run tested.

    text           data     bss     dec     hex filename
-    210              0      12     222      de libc/inet/gethostent.o
+    230              0       9     239      ef libc/inet/gethostent.o

16 years agoshrink getopt a bit by using smallints. Run tested (busybox testsuite)
Denis Vlasenko [Fri, 6 Jun 2008 03:24:45 +0000 (03:24 -0000)]
shrink getopt a bit by using smallints. Run tested (busybox testsuite)

    text           data     bss     dec     hex filename
-   2403             12      40    2455     997 libc/unistd/getopt.o
+   2388             12      28    2428     97c libc/unistd/getopt.o

16 years agoHeed a warning: "string" was assigned to char*, changing that to const char*
Denis Vlasenko [Fri, 6 Jun 2008 02:44:10 +0000 (02:44 -0000)]
Heed a warning: "string" was assigned to char*, changing that to const char*

16 years agoFix spurious testsuite failure
Denis Vlasenko [Fri, 6 Jun 2008 02:42:57 +0000 (02:42 -0000)]
Fix spurious testsuite failure

16 years agoRevert revision 22027 which totally broke getopt.
Bernd Schmidt [Thu, 5 Jun 2008 17:42:11 +0000 (17:42 -0000)]
Revert revision 22027 which totally broke getopt.

16 years ago- forgot to checkin this s/check/FORCE/
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 16:29:50 +0000 (16:29 -0000)]
- forgot to checkin this s/check/FORCE/

16 years ago- revert r22233
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 13:47:35 +0000 (13:47 -0000)]
- revert r22233

16 years ago- make libcrypt optional. Untested.
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 13:46:47 +0000 (13:46 -0000)]
- make libcrypt optional. Untested.

16 years ago- switching thread impls without makeing clean before left the objs of the
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 12:29:36 +0000 (12:29 -0000)]
- switching thread impls without makeing clean before left the objs of the
  previously selected impl lying around on a distclean. Make sure that this
  does not happen.

16 years ago- do a defconfig for the given arch, not unconditionally for alpha
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 11:48:10 +0000 (11:48 -0000)]
- do a defconfig for the given arch, not unconditionally for alpha

16 years ago- drats. The pre-commit hook is broken. No chance to ci a patch other than obfuscated...
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 11:47:09 +0000 (11:47 -0000)]
- drats. The pre-commit hook is broken. No chance to ci a patch other than obfuscated, sorry.

16 years ago- pull kconfig from 2.6.25.4
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 11:43:44 +0000 (11:43 -0000)]
- pull kconfig from 2.6.25.4
  It has nicer "-*-" etc hints

16 years ago- fix keyword "depends on"
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 10:26:40 +0000 (10:26 -0000)]
- fix keyword "depends on"

16 years ago- linuxthreads and linuxthreads.old need nanosleep()
Bernhard Reutner-Fischer [Thu, 5 Jun 2008 08:10:12 +0000 (08:10 -0000)]
- linuxthreads and linuxthreads.old need nanosleep()

16 years agoFix typo that prevented "make clean" from removing objects in libc/misc/locale.
Bernd Schmidt [Wed, 4 Jun 2008 21:17:40 +0000 (21:17 -0000)]
Fix typo that prevented "make clean" from removing objects in libc/misc/locale.

16 years ago- remove duplicate removing of ustat.h
Bernhard Reutner-Fischer [Wed, 4 Jun 2008 17:34:25 +0000 (17:34 -0000)]
- remove duplicate removing of ustat.h

16 years ago- strip the targets and not prerequisites
Bernhard Reutner-Fischer [Wed, 4 Jun 2008 14:57:16 +0000 (14:57 -0000)]
- strip the targets and not prerequisites
- tidy up PTHREADS_DEBUG_SUPPORT by using per-target STRIP_FLAGS for the few

  This fixes the spurious rebuilds bernd and vda were seeing with libpthreads.

16 years agoUndefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we
Bernd Schmidt [Wed, 4 Jun 2008 14:04:08 +0000 (14:04 -0000)]
Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we
were still defining signal to sysv_signal.

16 years agoThis fixes a problem with the move of libc_hidden_proto to string.h.
Bernd Schmidt [Wed, 4 Jun 2008 14:02:56 +0000 (14:02 -0000)]
This fixes a problem with the move of libc_hidden_proto to string.h.

The obsolete functions bcopy, index, etc. are not supposed to be used within
uClibc itself.  Hence, there is no libc_hidden_def for them, but the previous
patch did not just move libc_hidden_protos, it also added new ones for the
legacy functions.  As a result, programs which use these functions can no
longer link with uClibc.

This fixes it by removing the unnecessary libc_hidden_protos.  I've also
removed all inclusions of <strings.h> from uClibc source files: since we
define _GNU_SOURCE, it is sufficient to include <string.h>.  We then do not
need to duplicate the libc_hidden_proto block in <strings.h>.

16 years ago- fix typo (have to check the content, not if true)
Bernhard Reutner-Fischer [Wed, 4 Jun 2008 08:57:14 +0000 (08:57 -0000)]
- fix typo (have to check the content, not if true)

16 years agoFix merge error: mmap.c no longer exists in bfin/.
Bernd Schmidt [Tue, 3 Jun 2008 23:28:43 +0000 (23:28 -0000)]
Fix merge error: mmap.c no longer exists in bfin/.

16 years agoclose bug 473:
Denis Vlasenko [Tue, 3 Jun 2008 19:05:04 +0000 (19:05 -0000)]
close bug 473:
1. names with two consecutive dots are not valid
2. if name ends with a dot, dont try appending search domain(s)
alos a few small optimisations are here.

16 years ago- Revert _dl_exit touch-up.
Bernhard Reutner-Fischer [Tue, 3 Jun 2008 14:56:45 +0000 (14:56 -0000)]
- Revert _dl_exit touch-up.
  It breaks on arches that don't define proper/complete/nice syscall facilities.

16 years ago- add libpthread-nonshared-y to files.dep
Bernhard Reutner-Fischer [Tue, 3 Jun 2008 14:38:18 +0000 (14:38 -0000)]
- add libpthread-nonshared-y to files.dep
  Fixes superfluous rebuild of pthread_atfork.oS.

16 years agosyslog.c: fix a buglet in prev-last commit: logic inversion in closelog
Denis Vlasenko [Tue, 3 Jun 2008 14:37:36 +0000 (14:37 -0000)]
syslog.c: fix a buglet in prev-last commit: logic inversion in closelog