OSDN Git Service
David Schleef [Sat, 10 Nov 2001 00:17:21 +0000 (00:17 -0000)]
Add missing <errno.h>
Eric Andersen [Wed, 7 Nov 2001 22:02:57 +0000 (22:02 -0000)]
Patch from Jari Korva <jpkorva@iki.fi>
I found some support in uClibc for IPv6 but I needed some more...
Enclosed
is the patch containing following modifications:
- getnameinfo port from lates glibc
- IPv6 support for gethostbyaddr()
- IPv6 support for get_hosts_byname and read_etc_hosts (among other
things this fixed a bug in gethostbyname2 in a case when user asked for
an IPv6 but got a v4 address if it was present in /etc/hosts)
- defined ip6addr_any and in6addr_loopback (though the place where I
defined these isn't correct, I guess)
What is still missing:
- getaddrinfo (this could be ported also from glibc but it won't be as
easy as porting getnameinfo, I guess)
I have tested the patch using enclosed test program and boa web server.
Seems to work ;)
Eric Andersen [Wed, 7 Nov 2001 21:58:25 +0000 (21:58 -0000)]
Add statfs64
Eric Andersen [Mon, 5 Nov 2001 19:24:06 +0000 (19:24 -0000)]
Patch from Jari Korva <jari.korva@vtt.fi> to fix a memory leak
in dns_lookup.
Eric Andersen [Mon, 5 Nov 2001 19:21:58 +0000 (19:21 -0000)]
Disable fast search by default (doesn't work on coda for example)
Eric Andersen [Wed, 17 Oct 2001 06:07:07 +0000 (06:07 -0000)]
Oops. Forgot this one....
Eric Andersen [Wed, 17 Oct 2001 06:04:44 +0000 (06:04 -0000)]
These are now obsolete
Eric Andersen [Wed, 17 Oct 2001 06:02:35 +0000 (06:02 -0000)]
Fix up sig handling so it is more in sync with glibc behavior
Eric Andersen [Wed, 17 Oct 2001 06:01:24 +0000 (06:01 -0000)]
Bring these into line with glibc 2.2.4
Eric Andersen [Wed, 17 Oct 2001 05:54:39 +0000 (05:54 -0000)]
This header file was broken, breaking signal handling on ARM.
This update fixes it...
-Erik
Eric Andersen [Wed, 17 Oct 2001 03:17:15 +0000 (03:17 -0000)]
In theory, this adds readdir64 and friends. Dunno if they
work yet or not....
-Erik
Eric Andersen [Wed, 17 Oct 2001 01:10:29 +0000 (01:10 -0000)]
This commit makes large file support actually work (when enabled in
the config file). I've tested this and it works for me.
-Erik
Eric Andersen [Tue, 16 Oct 2001 04:48:42 +0000 (04:48 -0000)]
Fix comment
Eric Andersen [Tue, 16 Oct 2001 04:36:26 +0000 (04:36 -0000)]
Geez, I really screwed that one up. Lets try that one again...
Revert mmap to where it was in rev 1.41 of this file,
-Erik
Eric Andersen [Tue, 16 Oct 2001 04:34:10 +0000 (04:34 -0000)]
Oops. I merged things backwards. Lets try that again...
Eric Andersen [Tue, 16 Oct 2001 03:10:39 +0000 (03:10 -0000)]
Revert global old mmap usage, and do it per arch
David Schleef [Mon, 15 Oct 2001 22:47:38 +0000 (22:47 -0000)]
Disable posix threads support
David Schleef [Mon, 15 Oct 2001 22:35:45 +0000 (22:35 -0000)]
depend on kernel-headers, not kernel-headers-2.4
David Schleef [Mon, 15 Oct 2001 22:22:32 +0000 (22:22 -0000)]
Merged patch from pre-glibc-2.2.4 files
David Schleef [Mon, 15 Oct 2001 22:07:58 +0000 (22:07 -0000)]
include/bits from glibc-2.2.4-1
Eric Andersen [Mon, 15 Oct 2001 16:56:14 +0000 (16:56 -0000)]
Turn off program_invocation_name and friend
Eric Andersen [Sun, 14 Oct 2001 04:50:39 +0000 (04:50 -0000)]
Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE is
supposed to be a number
Eric Andersen [Fri, 12 Oct 2001 22:01:07 +0000 (22:01 -0000)]
Beef up the fork test, checking for proper SIGCHLD behavior
Eric Andersen [Fri, 12 Oct 2001 19:21:40 +0000 (19:21 -0000)]
A small patch from Erwin Authried <eauth@softsys.co.at>
*) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now.
*) Minor tweek to syscall definitions
David Schleef [Thu, 11 Oct 2001 23:06:20 +0000 (23:06 -0000)]
Fix problem with version naming
David Schleef [Thu, 11 Oct 2001 22:56:29 +0000 (22:56 -0000)]
Little script to create a properly-named snapshot for Debian packaging
David Schleef [Thu, 11 Oct 2001 22:55:24 +0000 (22:55 -0000)]
Fixes for finding appropriate kernel headers, changelog entry
Eric Andersen [Thu, 11 Oct 2001 18:50:26 +0000 (18:50 -0000)]
Add missing values.h
Eric Andersen [Thu, 11 Oct 2001 08:36:33 +0000 (08:36 -0000)]
Add strndup, written by Stefan Soucek <ssoucek@coactive.com>
Eric Andersen [Thu, 11 Oct 2001 08:29:22 +0000 (08:29 -0000)]
Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.
He sent this patch to me a month ago, but I forgot to apply it...
Eric Andersen [Fri, 5 Oct 2001 19:59:12 +0000 (19:59 -0000)]
Minor update
Eric Andersen [Fri, 5 Oct 2001 11:31:48 +0000 (11:31 -0000)]
Wohoo! David McCullough found the bug! His comments follow:
I had a look at it and you won't believe it was always broken.
I'll try and explain it, let me know if it doesn't make sense.
* ash calls setjmp, which messes with the stack to look like it has
two args instead of one and then jmps (actually falls) into
sigsetjmp.
BUG
* sigsetjmp then saves the registers and "jumps" to __sigset_save, a C
function.
BUG1 - because the caller pops its args off the stack, a program that
changes it's number of args is broken because the caller will
not
pop the correct number of args.
I think that jumping from the sigsetjmp asm to the 'C' code is unsafe
but I can't think of an example. Anyway, I have attached what I think
is
a working fix.
The reason this worked without -fomit-frame-pointer is that the
_sigset_save 'C' code would restore the stack pointer from %ebp (the
frame
pointer) and because none of the asm had moded it, when we returned
from
__sigset_save the stack was back to it's correct position for 1
argument
despite our best attempts to stuff it up ;-)
Eric Andersen [Thu, 4 Oct 2001 10:08:51 +0000 (10:08 -0000)]
Yet more minor cleanups
Eric Andersen [Thu, 4 Oct 2001 07:38:56 +0000 (07:38 -0000)]
Patch from David McCullough <davidm@lineo.com>:
* reduce the sigset types to 32 bits (I've mentioned this before)
I think I saw this change go in for another platform anyway ;-)
* Do not use _IO_FILE as it clashes with the C++ libraries which know
too much about how glibc workds :-(
* Do not use _G_va_list for the same reason.
* remove the CTORS/DTORS from crt0.S for ARM as the compiler provided
crtbegin.o and crtend.o have these (and only these) already in them and
you get multiple defined errs :-(
David McCullough [Thu, 4 Oct 2001 03:44:35 +0000 (03:44 -0000)]
With all the headerfile changes, some functions didn't get there arg types
fixed up.
Eric Andersen [Wed, 3 Oct 2001 09:26:48 +0000 (09:26 -0000)]
Minor cleanups
Eric Andersen [Wed, 3 Oct 2001 09:15:04 +0000 (09:15 -0000)]
Silly little changes
Eric Andersen [Wed, 3 Oct 2001 09:12:28 +0000 (09:12 -0000)]
Cleanup brk/sbrk
Eric Andersen [Tue, 2 Oct 2001 19:18:58 +0000 (19:18 -0000)]
termcap.h is supposed to be part of ncurses, and has no place in the C
library includes.
Eric Andersen [Tue, 2 Oct 2001 10:45:16 +0000 (10:45 -0000)]
Add in some math lib tests
Eric Andersen [Tue, 2 Oct 2001 09:25:58 +0000 (09:25 -0000)]
Turn off optimization when debugging
Eric Andersen [Sun, 30 Sep 2001 04:55:22 +0000 (04:55 -0000)]
Fix nasty behavior difference from glibc -- also fixes getline()
-Erik
Eric Andersen [Sat, 29 Sep 2001 21:35:08 +0000 (21:35 -0000)]
Minor cleanup
Eric Andersen [Sat, 29 Sep 2001 21:11:36 +0000 (21:11 -0000)]
Fix prototype
Eric Andersen [Sat, 29 Sep 2001 21:08:09 +0000 (21:08 -0000)]
Fix a stupid typo...
Eric Andersen [Sat, 29 Sep 2001 07:53:25 +0000 (07:53 -0000)]
Add in gcvt()
Eric Andersen [Thu, 27 Sep 2001 07:48:05 +0000 (07:48 -0000)]
Sigh. Erik mucks it up again...
Eric Andersen [Thu, 27 Sep 2001 07:40:15 +0000 (07:40 -0000)]
Make iopl and ioperm work
Eric Andersen [Thu, 27 Sep 2001 07:23:46 +0000 (07:23 -0000)]
Duh.
Eric Andersen [Thu, 27 Sep 2001 07:22:21 +0000 (07:22 -0000)]
Be more careful about not redefining stuf
Eric Andersen [Thu, 27 Sep 2001 07:20:27 +0000 (07:20 -0000)]
Add inb, outb and friends,
Eric Andersen [Thu, 27 Sep 2001 07:02:33 +0000 (07:02 -0000)]
re-enable ntohl and friends
Eric Andersen [Thu, 27 Sep 2001 06:48:46 +0000 (06:48 -0000)]
Silence a silly warning
Eric Andersen [Thu, 27 Sep 2001 06:31:38 +0000 (06:31 -0000)]
Silence stupid warnings caused by bad kernel network includes
Eric Andersen [Thu, 27 Sep 2001 06:17:21 +0000 (06:17 -0000)]
Gut this file, and quit referrng to _IO_* junk
Eric Andersen [Thu, 27 Sep 2001 06:09:37 +0000 (06:09 -0000)]
Optimize for size, and disable expensive inlining
Eric Andersen [Thu, 27 Sep 2001 05:29:22 +0000 (05:29 -0000)]
Add in missing file
Eric Andersen [Thu, 27 Sep 2001 05:27:43 +0000 (05:27 -0000)]
Scrub up a few test things
Eric Andersen [Thu, 27 Sep 2001 05:25:55 +0000 (05:25 -0000)]
Finish syncing up arm
Eric Andersen [Thu, 27 Sep 2001 05:24:26 +0000 (05:24 -0000)]
Update to accomodate the header file changes
Eric Andersen [Thu, 27 Sep 2001 05:21:15 +0000 (05:21 -0000)]
Rev all the header files to sync things with glibc 2.2.4
Manuel Novoa III [Tue, 25 Sep 2001 19:39:46 +0000 (19:39 -0000)]
Fix fseek behavior.
Eric Andersen [Fri, 21 Sep 2001 05:52:27 +0000 (05:52 -0000)]
Fix the vfork test so it actually works this time.
-Erik
Eric Andersen [Fri, 21 Sep 2001 05:25:52 +0000 (05:25 -0000)]
Add in a simple vfork test
Eric Andersen [Sat, 15 Sep 2001 08:49:46 +0000 (08:49 -0000)]
Oops
Eric Andersen [Sat, 15 Sep 2001 08:38:12 +0000 (08:38 -0000)]
Recurse into 'file'
Eric Andersen [Sat, 15 Sep 2001 08:31:43 +0000 (08:31 -0000)]
Add lockf
Eric Andersen [Thu, 13 Sep 2001 21:48:48 +0000 (21:48 -0000)]
Patch from John Tyner <jtyner@cs.ucr.edu> to avoid redefined
symbols by piping results through uniq
Eric Andersen [Thu, 6 Sep 2001 19:42:48 +0000 (19:42 -0000)]
Patch from Andrew Ip <aip@cwlinux.com> to add ftime,
allowing openssl to be built.
Eric Andersen [Fri, 31 Aug 2001 06:09:13 +0000 (06:09 -0000)]
Preevaluate some stuff so it only gets run once, speeding the compile
Eric Andersen [Thu, 30 Aug 2001 17:38:27 +0000 (17:38 -0000)]
"Kim B. Heino" <Kim.Heino@bluegiga.com> reports
In the libc/stdlib/bsd_getpt.c file you have line:
memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1);
It really should be:
memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) );
The last nul character must be copied too because the next line uses
strlen() to get buf's length.
Eric Andersen [Wed, 29 Aug 2001 16:47:35 +0000 (16:47 -0000)]
Wrap up some long long stuff in __UCLIBC_HAS_LONG_LONG__
Eric Andersen [Wed, 29 Aug 2001 00:07:05 +0000 (00:07 -0000)]
Minor update
Eric Andersen [Tue, 28 Aug 2001 21:16:12 +0000 (21:16 -0000)]
Fix goofy formatting
Eric Andersen [Tue, 28 Aug 2001 17:15:53 +0000 (17:15 -0000)]
This will hopefully make global constructors and destructors work
Eric Andersen [Tue, 28 Aug 2001 17:04:13 +0000 (17:04 -0000)]
Add "__write" as a weak alias for "write"
Eric Andersen [Mon, 27 Aug 2001 22:09:41 +0000 (22:09 -0000)]
elide some debug noise
Eric Andersen [Mon, 27 Aug 2001 20:03:52 +0000 (20:03 -0000)]
Make gdb/gcc/binutils happy
Eric Andersen [Fri, 24 Aug 2001 23:24:43 +0000 (23:24 -0000)]
Use "stdin", "stdout", and "stderr", not "_stdin", "_stdout", and
"_stderr", since this is what gcc and libgcc expect...
-Erik
Eric Andersen [Fri, 24 Aug 2001 22:40:48 +0000 (22:40 -0000)]
Add the __fopen prototype, since I pulled it from stdio.h
Eric Andersen [Fri, 24 Aug 2001 22:23:24 +0000 (22:23 -0000)]
Get rid of non standard macros for things that are functions
Eric Andersen [Fri, 24 Aug 2001 21:05:39 +0000 (21:05 -0000)]
atoi, atol, atoll, and atof are supposed to be functions, not macros.
-Erik
Eric Andersen [Tue, 21 Aug 2001 23:27:53 +0000 (23:27 -0000)]
Add missing shadow.h
Eric Andersen [Tue, 21 Aug 2001 04:24:24 +0000 (04:24 -0000)]
Add byteswap.h, per glibc
Eric Andersen [Sat, 18 Aug 2001 19:52:41 +0000 (19:52 -0000)]
Fix problem with possible redundant entries.
Eric Andersen [Fri, 17 Aug 2001 19:51:36 +0000 (19:51 -0000)]
Fix a silly bug with the header file
Eric Andersen [Fri, 17 Aug 2001 19:50:34 +0000 (19:50 -0000)]
Fix a stupid bug causing the ld-uClibc entry to be lost.
Eric Andersen [Tue, 14 Aug 2001 23:13:33 +0000 (23:13 -0000)]
Don't use --uclibc-use-build-dir for the tests unless BUILD_UCLIBC_LDSO=true
Eric Andersen [Tue, 14 Aug 2001 21:49:20 +0000 (21:49 -0000)]
powerpc doesn't have sbrk yet, so use "malloc", not "malloc-930716"
Eric Andersen [Tue, 14 Aug 2001 21:17:30 +0000 (21:17 -0000)]
Put a bandaid on getpgrp behavior
Eric Andersen [Tue, 14 Aug 2001 21:11:24 +0000 (21:11 -0000)]
Proper support for tests spannint multiple .o files
-Erik
Eric Andersen [Tue, 14 Aug 2001 21:08:48 +0000 (21:08 -0000)]
use some #defines internal to the ctype functions to eliminate them
calling other tiny ctype functions. Now all ctype funcs will end up
with no extern references, which ends up shrinking both the uClibc
shared lib and shrinking client code.
-Erik
Eric Andersen [Tue, 14 Aug 2001 20:40:36 +0000 (20:40 -0000)]
Fix the "install_target" target to install to $(PREFIX)$(TARGET_PREFIX)
Eric Andersen [Mon, 13 Aug 2001 22:20:28 +0000 (22:20 -0000)]
A few more (final?) cleanups for the installer behavior. I now think
things are working perfectly (perhaps I shouln't think so much)
Eric Andersen [Mon, 13 Aug 2001 20:40:30 +0000 (20:40 -0000)]
Add in a make release target
Eric Andersen [Mon, 13 Aug 2001 20:00:34 +0000 (20:00 -0000)]
Fix SYSTEM_DEVEL_PREFIX to allow install of the <arch>-uclibc- spoofer
toolchain to any arbitrary directory...
Eric Andersen [Mon, 13 Aug 2001 18:52:28 +0000 (18:52 -0000)]
Add in TARGET_PREFIX, which was still used in a few spots (and
appropriately so). Leave this hidden and set to a sane default
since nobody should really need to change it...
Eric Andersen [Sat, 11 Aug 2001 04:21:52 +0000 (04:21 -0000)]
Use malloc on arm (since I've never bothered to write sbrk)
Eric Andersen [Sat, 11 Aug 2001 04:17:52 +0000 (04:17 -0000)]
I just wrote a stpncpy() since someone wanted it
Eric Andersen [Sat, 11 Aug 2001 04:11:46 +0000 (04:11 -0000)]
I rewrote strcat without any function calls.