OSDN Git Service
Eric Andersen [Wed, 5 Mar 2003 10:28:53 +0000 (10:28 -0000)]
Default to using fork() for vfork() when no arch specific
implementation of vfork is present.
Eric Andersen [Tue, 4 Mar 2003 20:56:01 +0000 (20:56 -0000)]
Seperate pthread debugging from uClibc debugging. They are used
for different things.
Eric Andersen [Tue, 4 Mar 2003 10:47:50 +0000 (10:47 -0000)]
Patch from Stefan Allius adding the function 'thread_self_stack'
from glibc 2.3 that is needed for pthreads to compile for SuperH.
Eric Andersen [Tue, 4 Mar 2003 10:39:05 +0000 (10:39 -0000)]
Patch from Stefan Allius to make ldd.c compile under Solaris
Eric Andersen [Tue, 4 Mar 2003 10:13:01 +0000 (10:13 -0000)]
Teach ldd to be a bit more helpful by telling you specifically
what the problem library is that is linked vs glibc.
-Erik
Eric Andersen [Tue, 4 Mar 2003 07:05:33 +0000 (07:05 -0000)]
Fix compile when profiling is disabled
Eric Andersen [Mon, 3 Mar 2003 22:01:09 +0000 (22:01 -0000)]
Fix grammar
Eric Andersen [Mon, 3 Mar 2003 20:58:42 +0000 (20:58 -0000)]
Initial effort at adding profiling support.
Eric Andersen [Mon, 3 Mar 2003 20:01:26 +0000 (20:01 -0000)]
Updates for release
Eric Andersen [Mon, 3 Mar 2003 19:31:21 +0000 (19:31 -0000)]
Update version
Eric Andersen [Mon, 3 Mar 2003 19:30:35 +0000 (19:30 -0000)]
Fix location of cvs
Eric Andersen [Mon, 3 Mar 2003 19:09:47 +0000 (19:09 -0000)]
begin preparing for release
Manuel Novoa III [Mon, 3 Mar 2003 14:32:22 +0000 (14:32 -0000)]
Remove bogus link_warning. It is meaningless and stupid. While the
previous committed patch was well-meaning, the #warning it replaced
was simply a reminder I accidently left in when implementing strcoll/wcscoll.
Besides, strcmp is completely locale invariant.
David McCullough [Mon, 3 Mar 2003 06:47:56 +0000 (06:47 -0000)]
more uClinux shared libs fixups
David McCullough [Mon, 3 Mar 2003 06:32:21 +0000 (06:32 -0000)]
fix coldfire/68000 support properly this time, ifdef logic was back to
front.
David McCullough [Mon, 3 Mar 2003 00:05:15 +0000 (00:05 -0000)]
Fix the double sub #48, should have been an add :-)
Eric Andersen [Sun, 2 Mar 2003 10:41:06 +0000 (10:41 -0000)]
cut-n-paste strikes again
Eric Andersen [Sun, 2 Mar 2003 10:32:32 +0000 (10:32 -0000)]
Add missing alias __modify_ldt
Eric Andersen [Sat, 1 Mar 2003 11:02:44 +0000 (11:02 -0000)]
Teach ldd to act just the glibc provided one (relying on the
shared lib loader to do the work) when it is possible to do
so, and only go poking about through the ELF headers when that
fails so we can still use 'ldd' on cross compiled stuff.
-Erik
Eric Andersen [Sat, 1 Mar 2003 09:12:15 +0000 (09:12 -0000)]
Patch from Jeffrey Damick:
With glibc if you do a res_init() that forces a reread of the nameservers file,
but in uClibc the res_init will not force a reread if it has already read the
file because then the nameservers value is greater than 0.
So res_init must call close_nameservers() before calling open_nameservers().
Eric Andersen [Sat, 1 Mar 2003 09:04:55 +0000 (09:04 -0000)]
Use a funky version in a probably vein attempt at preventing gdb
from dlopen()'ing glibc's libthread_db library...
Eric Andersen [Sat, 1 Mar 2003 07:49:07 +0000 (07:49 -0000)]
doh. I forgot mips can't talk to globals that early on in the
process. Fix that up too.
Eric Andersen [Sat, 1 Mar 2003 07:47:08 +0000 (07:47 -0000)]
doh. I forgot mips can't talk to globals that early on in the
process. Fix that up too.
-Erik
Eric Andersen [Sat, 1 Mar 2003 07:11:39 +0000 (07:11 -0000)]
Fix the shared library loader so we can properly debug things like pthreads.
Mips gdb support for pthreads and similar complex stuff is broken, but then it
couldn't have worked before either...
-Erik
Eric Andersen [Fri, 28 Feb 2003 15:29:47 +0000 (15:29 -0000)]
Fix a potential compile error
Eric Andersen [Fri, 28 Feb 2003 08:20:00 +0000 (08:20 -0000)]
Fixup mips pthreads
David McCullough [Fri, 28 Feb 2003 04:12:09 +0000 (04:12 -0000)]
restore the coldfire changes
Eric Andersen [Thu, 27 Feb 2003 18:13:05 +0000 (18:13 -0000)]
Major update for pthreads, based in large part on improvements
from glibc 2.3. This should make threads much more efficient.
-Erik
Eric Andersen [Thu, 27 Feb 2003 17:04:22 +0000 (17:04 -0000)]
Fix a silly bug
Eric Andersen [Thu, 27 Feb 2003 03:59:33 +0000 (03:59 -0000)]
Patch from David Airlie to fix handling of ctor/dtor stuff when used in
combination with and w/o both the nostdinc and nostdlib options.
Eric Andersen [Wed, 26 Feb 2003 02:13:56 +0000 (02:13 -0000)]
Prefer mmap2 for mips when available. Fix the mmap test.
-Erik
Eric Andersen [Wed, 26 Feb 2003 02:05:41 +0000 (02:05 -0000)]
Fixup a really stupid and terribly obvious bug that was causing
the shared lib loader on mips to puke...
-Erik
Eric Andersen [Wed, 26 Feb 2003 01:58:43 +0000 (01:58 -0000)]
Add a bunch of additional early debugg messages into the shared
lib loader to make it more obvious what is wrong when things puke
early on in the process.
-Erik
Eric Andersen [Tue, 25 Feb 2003 19:49:08 +0000 (19:49 -0000)]
Add a toolchain section. Mention Steven J. Hill's mips RPMs.
Eric Andersen [Mon, 24 Feb 2003 12:54:11 +0000 (12:54 -0000)]
Fixup some small issues that show up when large file support is disabled
David McCullough [Sun, 23 Feb 2003 23:24:44 +0000 (23:24 -0000)]
Fix FP handling alignment problems on ARM platforms without an FPU,
patch from Vadim Lebedev <vadim@7chips.com>.
Eric Andersen [Sun, 23 Feb 2003 05:39:26 +0000 (05:39 -0000)]
Some stuff I forgot to check in about a month ago...
-Erik
Miles Bader [Fri, 21 Feb 2003 10:17:43 +0000 (10:17 -0000)]
Reserve stack space for args we pass to __uClibc_main.
Miles Bader [Thu, 20 Feb 2003 09:55:34 +0000 (09:55 -0000)]
Add back in PTRACE_SINGLESTEP.
Use decimal instead of hex to agree with common/sys/ptrace.h.
Eric Andersen [Tue, 18 Feb 2003 05:48:08 +0000 (05:48 -0000)]
Fixup ioctl so we can special case powerpc silliness
Eric Andersen [Mon, 17 Feb 2003 14:40:26 +0000 (14:40 -0000)]
Mention latest update
Eric Andersen [Mon, 17 Feb 2003 14:39:48 +0000 (14:39 -0000)]
Fixup bui
Eric Andersen [Mon, 17 Feb 2003 14:19:21 +0000 (14:19 -0000)]
Patch from Stefan Allius
And at last I fixed a warning in test's Makefile. (ldso was first
added to the ALL_SUBDIRS variable in line 25):
Eric Andersen [Mon, 17 Feb 2003 14:17:30 +0000 (14:17 -0000)]
Patch from Stefan Allius:
In libc/string/wstring I replaced a '#warning ..' statement by the
link_warning macro.
Eric Andersen [Mon, 17 Feb 2003 14:16:14 +0000 (14:16 -0000)]
Patch from Stefan Allius:
I patched the link_warning macro in features.h to fix warnings like:
locale.c:358: warning: `__evoke_link_warning_localeconv' defined but not used
David McCullough [Mon, 17 Feb 2003 13:03:21 +0000 (13:03 -0000)]
updates to the uClinux-dist romfs and uClinux shared library targets.
David McCullough [Mon, 17 Feb 2003 12:59:06 +0000 (12:59 -0000)]
Use a define for the path to /etc/TZ
David McCullough [Mon, 17 Feb 2003 12:55:57 +0000 (12:55 -0000)]
Using -g when doing the initfini compilation breaks the SH4 case pretty
badly. I have removed -g for all platforms as I suspect no one wants it for
the initfini creation process.
David McCullough [Mon, 17 Feb 2003 12:20:42 +0000 (12:20 -0000)]
If floating point was enabled, setjmp would write to memory well past the
end of the buffer.
Eric Andersen [Sun, 16 Feb 2003 01:22:41 +0000 (01:22 -0000)]
Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fix
some other minor warnings.
Eric Andersen [Sat, 15 Feb 2003 23:49:41 +0000 (23:49 -0000)]
Add missing ';'s so powerpc will compile
Eric Andersen [Sat, 15 Feb 2003 21:17:10 +0000 (21:17 -0000)]
Don't just tune, use -march which implies -mcpu as well
Eric Andersen [Sat, 15 Feb 2003 09:40:16 +0000 (09:40 -0000)]
Fix a _ton_ of system call user type/kernel type translation
problems, causing user space to get scrambled hosed up results.
-Erik
David Schleef [Wed, 12 Feb 2003 22:07:38 +0000 (22:07 -0000)]
Update CVS to Debian 0.9.18-1 package
Eric Andersen [Wed, 12 Feb 2003 19:35:55 +0000 (19:35 -0000)]
Oops. Point to .18 not .17
Eric Andersen [Wed, 12 Feb 2003 15:48:15 +0000 (15:48 -0000)]
Move dev system comment
Eric Andersen [Wed, 12 Feb 2003 15:47:32 +0000 (15:47 -0000)]
Update to note dev system
Eric Andersen [Wed, 12 Feb 2003 13:15:03 +0000 (13:15 -0000)]
Minor update regarding binutils
Eric Andersen [Wed, 12 Feb 2003 13:10:00 +0000 (13:10 -0000)]
Some minor doc updates
Eric Andersen [Wed, 12 Feb 2003 12:59:52 +0000 (12:59 -0000)]
Remove now obsolete note about dirent
Eric Andersen [Wed, 12 Feb 2003 12:58:13 +0000 (12:58 -0000)]
update website for release
Eric Andersen [Wed, 12 Feb 2003 12:45:11 +0000 (12:45 -0000)]
Eliminate a needless extern
Eric Andersen [Wed, 12 Feb 2003 11:33:57 +0000 (11:33 -0000)]
Update changelog
Eric Andersen [Wed, 12 Feb 2003 11:07:56 +0000 (11:07 -0000)]
Bump version number
Eric Andersen [Wed, 12 Feb 2003 11:06:26 +0000 (11:06 -0000)]
Somewhat pointless naming pedantry
Eric Andersen [Wed, 12 Feb 2003 09:53:46 +0000 (09:53 -0000)]
Use http not ftp
Eric Andersen [Tue, 11 Feb 2003 08:16:52 +0000 (08:16 -0000)]
Per suggestion from Peter Lassahn, fix the install_dev target
Eric Andersen [Mon, 10 Feb 2003 21:15:20 +0000 (21:15 -0000)]
We need to have the size of struct dirent equal to the size of struct dirent64
so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64
bit interfaces), we will not lose an unsigned char from d_name which silently
becomes the d_type field instead. oops.
-Erik
Eric Andersen [Mon, 10 Feb 2003 20:28:12 +0000 (20:28 -0000)]
A few minor little changes
Eric Andersen [Mon, 10 Feb 2003 09:45:34 +0000 (09:45 -0000)]
Mention the dev systems have been updated
Miles Bader [Mon, 10 Feb 2003 08:12:47 +0000 (08:12 -0000)]
Don't use -O0 when DODEBUG is turned on.
Miles Bader [Mon, 10 Feb 2003 07:40:05 +0000 (07:40 -0000)]
Pass CHILD_STACK argument to system call (it possibly worked before `by
accident', as the function argument is in the same register).
Eric Andersen [Sun, 9 Feb 2003 08:33:49 +0000 (08:33 -0000)]
Fix a warning
Eric Andersen [Sun, 9 Feb 2003 08:33:36 +0000 (08:33 -0000)]
Fix a compile error
Eric Andersen [Sat, 8 Feb 2003 10:12:24 +0000 (10:12 -0000)]
Fixup handling of the .note.ABI-tag section so that it is ARM only,
and so it actually works as intended allowing binaries on ARM to be
debugged.
-Erik
Eric Andersen [Wed, 5 Feb 2003 18:17:22 +0000 (18:17 -0000)]
mention penguru
David McCullough [Wed, 5 Feb 2003 12:50:23 +0000 (12:50 -0000)]
add brk for m68k
NOTE: on uClinux-2.[45] kernels, brk works but is limited to slack space in
the memory allocated to the process.
Eric Andersen [Wed, 5 Feb 2003 07:45:35 +0000 (07:45 -0000)]
Patch from Stefan Allius to make adding libgcc functions to the library an
option, to avoid the possibility of adding non PIC code into the shared PIC
uClibc library, thereby making the .text segment unshareable.
Eric Andersen [Tue, 4 Feb 2003 05:54:33 +0000 (05:54 -0000)]
Patch from Stefan Allius to fix a compiler warning
Eric Andersen [Mon, 3 Feb 2003 22:00:46 +0000 (22:00 -0000)]
Fixup compile on 2.2.x kernels when UCLIBC_HAS_LFS is enabled
Eric Andersen [Mon, 3 Feb 2003 21:38:09 +0000 (21:38 -0000)]
Oops. I'd left an extra invocation of sigaction in there...
Eric Andersen [Fri, 31 Jan 2003 15:26:18 +0000 (15:26 -0000)]
heh
Eric Andersen [Fri, 31 Jan 2003 15:25:26 +0000 (15:25 -0000)]
Fix copyright
Miles Bader [Fri, 31 Jan 2003 09:20:25 +0000 (09:20 -0000)]
Correct license.
Eric Andersen [Thu, 30 Jan 2003 23:46:32 +0000 (23:46 -0000)]
Patch from Marshall M. Midden @ brecis.com:
pipe.c for mips was broken with freeswan. No error checking.
Eric Andersen [Thu, 30 Jan 2003 18:17:55 +0000 (18:17 -0000)]
Per discussion with Nick Fedchik, restore original LGPL
licensing to libc/inet/ether_addr.c
Eric Andersen [Thu, 30 Jan 2003 17:23:56 +0000 (17:23 -0000)]
Patch from Christophe Massiot:
Hello,
When using uClibc to compile the modutils for a MIPS target, the linker
outputs an "undefined symbol: _flush_cache". After some digging, it's
a syscall only available on the MIPS architecture, and the _flush_cache
symbol is in the GNU libc.
Attached patch defines it in uClibc as well. I'm not sure if I made it
the right way, though, but it works for me.
Eric Andersen [Thu, 30 Jan 2003 17:19:22 +0000 (17:19 -0000)]
Patch from Christian Krause:
I found a problem in uClibc in libpthread/linuxthres/condvar.c:
pthread_cond_timedwait never uses rt singals
uClibc has two implementations of pthread_cond_timewait -
pthread_cond_timedwait_relative_old using the "normal" signals and
pthread_cond_timedwait_relative_new usign the rt signals
(for kernels >= 2.2).
The function pointer pthread_cond_tw_rel is initialised with the old
function. In "__pthread_init_condvar(int)" this pointer is set to the new
function using rt signals, but "__pthread_init_condvar" is never called in
the uClibc.
The following patch solves this issue, so that __pthread_init_condvars
is called and the function pointer is always initialised with the correct
function.
regards,
christian
Eric Andersen [Thu, 30 Jan 2003 16:40:26 +0000 (16:40 -0000)]
The original glibc sysdeps/mips/dl-machine.h source from Kazumoto Kojima was
under the LGPL. I noticed Steven J. Hill has accidentally changed the license
to be GPL. Per email with him, change it back to LGPL.
Erik Andersen wrote:
>I just noticed that uClibc/ldso/ldso/mips/resolve.S is
>listed as licensed under the GPL, rather than the LGPL
>like the rest of uClibc. Accident?
>
Yes. Feel free to change it.
Miles Bader [Thu, 30 Jan 2003 08:59:43 +0000 (08:59 -0000)]
Use correct names for dummy crti.o/crtn.o files.
Miles Bader [Thu, 30 Jan 2003 08:44:40 +0000 (08:44 -0000)]
Initial checkin.
Eric Andersen [Wed, 29 Jan 2003 10:26:25 +0000 (10:26 -0000)]
Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabled
-Erik
Eric Andersen [Tue, 28 Jan 2003 11:06:03 +0000 (11:06 -0000)]
Fix scandir64 to not free the wrong pieces of memory (which could
and did cause segfaults) by adjusting the working scandir.c to
the the 64 thing. Fix up potential for mismatches between the
libc and kernel dirent structures, which could also cause ugly
problems.
-Erik
Eric Andersen [Tue, 28 Jan 2003 10:59:43 +0000 (10:59 -0000)]
Add a couple of tests
Eric Andersen [Tue, 28 Jan 2003 08:38:26 +0000 (08:38 -0000)]
Stefan Allius noticed dlib_pic.o was not using XXFLAGS as it should
Eric Andersen [Tue, 28 Jan 2003 08:34:57 +0000 (08:34 -0000)]
Patch from Stefan Allius to fix the build when
large file support is disabled
Miles Bader [Mon, 27 Jan 2003 02:18:26 +0000 (02:18 -0000)]
Add multiple-include protection.
Eric Andersen [Sat, 25 Jan 2003 15:39:29 +0000 (15:39 -0000)]
bah
Eric Andersen [Sat, 25 Jan 2003 15:38:50 +0000 (15:38 -0000)]
Cleaner
Eric Andersen [Sat, 25 Jan 2003 14:33:03 +0000 (14:33 -0000)]
Fix the 'make release' target