OSDN Git Service

uclinux-h8/uClibc.git
22 years agoAdjust function naming and make sure everything is properly
Eric Andersen [Tue, 26 Feb 2002 02:28:55 +0000 (02:28 -0000)]
Adjust function naming and make sure everything is properly
static to avoid symbol leakage.
 -Erik

22 years agoRemove elimination of __BEGIN_DECLS/__END_DECLS
Eric Andersen [Tue, 26 Feb 2002 01:54:18 +0000 (01:54 -0000)]
Remove elimination of __BEGIN_DECLS/__END_DECLS

22 years agoI shouldn't try to program when sleepy, since I totally botched
Eric Andersen [Mon, 25 Feb 2002 23:50:51 +0000 (23:50 -0000)]
I shouldn't try to program when sleepy, since I totally botched
the fcntl interface...
 -Erik

22 years agoWhen messing with fd NONBLOCK status, put things back the way we found
Eric Andersen [Mon, 25 Feb 2002 15:06:10 +0000 (15:06 -0000)]
When messing with fd NONBLOCK status, put things back the way we found
them afterwards.  As was, this hosed things up for fds shared with a
parent process.  Very bad for shells...  Oops.
 -Erik

22 years agoTry this version instead...
Eric Andersen [Mon, 25 Feb 2002 13:00:39 +0000 (13:00 -0000)]
Try this version instead...

22 years agoJoerg Schmitz-Linneweber recommends using tar -f - instead of -O
Eric Andersen [Mon, 25 Feb 2002 11:16:15 +0000 (11:16 -0000)]
Joerg Schmitz-Linneweber recommends using tar -f - instead of -O
to prevent interference with the TAPE env var

22 years agoYet another iteration...
Eric Andersen [Mon, 25 Feb 2002 09:40:37 +0000 (09:40 -0000)]
Yet another iteration...

22 years agoBoth Miles and Manuel complained about this one. I was silently
Eric Andersen [Mon, 25 Feb 2002 09:02:57 +0000 (09:02 -0000)]
Both Miles and Manuel complained about this one.  I was silently
losing all -Wl calls...

22 years agoAdded locale and lastlog
David McCullough [Mon, 25 Feb 2002 00:35:17 +0000 (00:35 -0000)]
Added locale and lastlog

22 years agoSupport isblank()
Eric Andersen [Sat, 23 Feb 2002 13:42:45 +0000 (13:42 -0000)]
Support isblank()

22 years agoFix the compiler wrapper yet more...
Eric Andersen [Sat, 23 Feb 2002 13:27:35 +0000 (13:27 -0000)]
Fix the compiler wrapper yet more...

22 years agoIEEE Std 1003.1-2001 says that the "fclose() function shall fail [with]
Eric Andersen [Sat, 23 Feb 2002 12:35:19 +0000 (12:35 -0000)]
IEEE Std 1003.1-2001 says that the "fclose() function shall fail [with]
EINTR [when] the fclose() function was interrupted by a signal".  But
looking in the current uClibc stdio.c for some bizarre reason we had a
special case where when errno was EINTR, we would keep on trying
instead.  Doh!  Fix that,
 -Erik

22 years agoSeveral naming cleanups so threads work properly again
Eric Andersen [Sat, 23 Feb 2002 10:22:27 +0000 (10:22 -0000)]
Several naming cleanups so threads work properly again

22 years agoFix a corner case which I had botched.
Eric Andersen [Sat, 23 Feb 2002 08:48:46 +0000 (08:48 -0000)]
Fix a corner case which I had botched.
 -Erik

22 years agoAdd a better error msg
Eric Andersen [Sat, 23 Feb 2002 06:17:59 +0000 (06:17 -0000)]
Add a better error msg

22 years agoPer discussion with Manuel, when we call __stdio_flush_buffers
Eric Andersen [Sat, 23 Feb 2002 06:02:02 +0000 (06:02 -0000)]
Per discussion with Manuel, when we call __stdio_flush_buffers
from abort() and from _exit(), we need to ensure that flushing
will not cause us to block.  So use fcntl to set the fd's to
non-block mode...

22 years agoUpdate todo list
Eric Andersen [Sat, 23 Feb 2002 05:42:18 +0000 (05:42 -0000)]
Update todo list

22 years agoTest for libcrypt (which is partly broken ATM)
Eric Andersen [Sat, 23 Feb 2002 02:19:37 +0000 (02:19 -0000)]
Test for libcrypt (which is partly broken ATM)

22 years agoThis should be a little better...
Eric Andersen [Sat, 23 Feb 2002 01:40:58 +0000 (01:40 -0000)]
This should be a little better...

22 years agoI was confusing the effects of _LARGEFILE_SOURCE with those of
Manuel Novoa III [Fri, 22 Feb 2002 19:36:47 +0000 (19:36 -0000)]
I was confusing the effects of _LARGEFILE_SOURCE with those of
_FILE_OFFSET_BITS regarding aliasing of the *64 funcs.  :-(
Hopefully, this version is correct...

22 years agoBuild fix for arm
David Schleef [Fri, 22 Feb 2002 07:34:44 +0000 (07:34 -0000)]
Build fix for arm

22 years agoSpecial rules for mipsel. Force some variables in Config, in
David Schleef [Fri, 22 Feb 2002 07:28:41 +0000 (07:28 -0000)]
Special rules for mipsel.  Force some variables in Config, in
case they're wrong (they are.)  Remove Config during clean.

22 years agoSeveral mips fixes from Geoffrey Espin. With these, busybox with
Eric Andersen [Fri, 22 Feb 2002 00:10:00 +0000 (00:10 -0000)]
Several mips fixes from Geoffrey Espin.  With these, busybox with
ash/vi/etc now works just fine with uClibc on mips.

22 years agoLet the large file stuff be cancelable
Eric Andersen [Thu, 21 Feb 2002 22:49:04 +0000 (22:49 -0000)]
Let the large file stuff be cancelable

22 years agoUpdate string tests per glibc 2.2.5's string tester. Looks like
Eric Andersen [Thu, 21 Feb 2002 21:30:32 +0000 (21:30 -0000)]
Update string tests per glibc 2.2.5's string tester.  Looks like
our stpncpy is flunking...
 -Erik

22 years agoOops. I forgot to commit this file...
Eric Andersen [Thu, 21 Feb 2002 21:25:19 +0000 (21:25 -0000)]
Oops.  I forgot to commit this file...

22 years agoWhen vfork is not available and we have an MMU, then use fork()
Eric Andersen [Thu, 21 Feb 2002 18:11:47 +0000 (18:11 -0000)]
When vfork is not available and we have an MMU, then use fork()
 -Erik

22 years agoLose the _GNU_SOURCE and just add __USE_GNU to the one file that needs
Eric Andersen [Thu, 21 Feb 2002 12:39:48 +0000 (12:39 -0000)]
Lose the _GNU_SOURCE and just add __USE_GNU to the one file that needs
it, since we definately do not want silent remapping of functions to
their large-file counterparts.
 -Erik

22 years agoAdd ldexp to the !C99 list, since it is defined in POSIX as
Eric Andersen [Thu, 21 Feb 2002 11:11:01 +0000 (11:11 -0000)]
Add ldexp to the !C99 list, since it is defined in POSIX as
being part of the classic math lib stuff.
 -Erik

22 years agoMiles Bader noticed that I'd messed up by always pulling
Eric Andersen [Thu, 21 Feb 2002 08:30:07 +0000 (08:30 -0000)]
Miles Bader noticed that I'd messed up by always pulling
errno in, regardless of whether it is being used...
 -Erik

22 years agoFix from John Rigby to fix stat() so it actually works.
Eric Andersen [Wed, 20 Feb 2002 22:51:25 +0000 (22:51 -0000)]
Fix from John Rigby to fix stat() so it actually works.

22 years agooops. I had accidentally typed in "clean" when I meant "clone".
Eric Andersen [Wed, 20 Feb 2002 09:58:19 +0000 (09:58 -0000)]
oops.  I had accidentally typed in "clean" when I meant "clone".
This fix makes pthreads actaully work on powerpc.
 -Erik

22 years agoThis is a bit less messy
Eric Andersen [Wed, 20 Feb 2002 09:50:24 +0000 (09:50 -0000)]
This is a bit less messy

22 years agoEnable thread support
Eric Andersen [Wed, 20 Feb 2002 09:29:55 +0000 (09:29 -0000)]
Enable thread support

22 years agoSeveral needed cleanups to the gcc wrapper.
Eric Andersen [Wed, 20 Feb 2002 09:28:25 +0000 (09:28 -0000)]
Several needed cleanups to the gcc wrapper.
 -Erik

22 years agoMerge in the pthread library. This is the linuxthreads library taken from
Eric Andersen [Wed, 20 Feb 2002 09:18:50 +0000 (09:18 -0000)]
Merge in the pthread library.  This is the linuxthreads library taken from
glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen
(me).  Stefan has hacked things up such that linuxthreads runs on MMU-less
systems (tested only on arm-nommu).  Erik cleaned things up and made it work
properly as a shared library.
 -Erik

22 years agoAdd a test from Stefan Soucek for pthread_cond_timedwait(). On
Eric Andersen [Wed, 20 Feb 2002 05:16:09 +0000 (05:16 -0000)]
Add a test from Stefan Soucek for pthread_cond_timedwait().  On
mmu-less ARM perhaps sigsetjmp() isn't working?

22 years agoOutput an error if uClibc's and app's largefile configuration are incompatible.
Manuel Novoa III [Tue, 19 Feb 2002 19:27:12 +0000 (19:27 -0000)]
Output an error if uClibc's and app's largefile configuration are incompatible.

22 years agoDoh! Miles Bader noticed a couple of spots where I forgot
Eric Andersen [Tue, 19 Feb 2002 05:29:35 +0000 (05:29 -0000)]
Doh! Miles Bader noticed a couple of spots where I forgot
to mark __stdio_flush_buffers with weak_function. Oops!

22 years agoRename __stdio_close_all to __stdio_flush_buffers. Eliminate an
Eric Andersen [Mon, 18 Feb 2002 10:12:45 +0000 (10:12 -0000)]
Rename __stdio_close_all to __stdio_flush_buffers.  Eliminate an
unnecessary variable

22 years agoDoh!
Eric Andersen [Mon, 18 Feb 2002 09:05:01 +0000 (09:05 -0000)]
Doh!

22 years agoMiles Bader writes:
Eric Andersen [Mon, 18 Feb 2002 08:50:08 +0000 (08:50 -0000)]
Miles Bader writes:
    Programs that don't use stdio crash in the `exit' function, because
    they call through the pointer__uClibc_cleanup, which has a value of 0.
    It has a value of 0 because __uClibc_main.c initializes it to the
    address of `__stdio_close_all', which is a weak symbol (and so is 0 if
    stdio is not used).
This patch from Miles fixes it, though we need to audit
__stdio_close_all usage to be sure...

22 years agoMake shared libs properly list the correct ld.so in the interp
Eric Andersen [Mon, 18 Feb 2002 08:45:53 +0000 (08:45 -0000)]
Make shared libs properly list the correct ld.so in the interp
field by being sneaky.

22 years agoSupport strong_alias and begin merging usage of weak_function
Eric Andersen [Mon, 18 Feb 2002 08:34:59 +0000 (08:34 -0000)]
Support strong_alias and begin merging usage of weak_function

22 years agoWhine and exit if people link against GNU libc or
Eric Andersen [Mon, 18 Feb 2002 07:34:44 +0000 (07:34 -0000)]
Whine and exit if people link against GNU libc or
GNU libc linked shared libraries.

22 years agoFix defines so debugging works as expected
Eric Andersen [Sun, 17 Feb 2002 11:58:14 +0000 (11:58 -0000)]
Fix defines so debugging works as expected

22 years agoSome more updates. Darn -- arm needs the mprotect hack
Eric Andersen [Sun, 17 Feb 2002 11:50:18 +0000 (11:50 -0000)]
Some more updates.  Darn -- arm needs the mprotect hack

22 years agoA few more little fixups
Eric Andersen [Sun, 17 Feb 2002 11:05:02 +0000 (11:05 -0000)]
A few more little fixups

22 years agoEliminate circular dependancy
Eric Andersen [Sun, 17 Feb 2002 10:54:03 +0000 (10:54 -0000)]
Eliminate circular dependancy

22 years agoA ton of cleanups. Eliminate some useless code. Much better
Eric Andersen [Sun, 17 Feb 2002 10:36:37 +0000 (10:36 -0000)]
A ton of cleanups.  Eliminate some useless code.  Much better
debugging code now.
 -Erik

22 years agoUse sizeof(sa_mask) instaed of sizeof(sigset_t) since sa_mask is
Eric Andersen [Sat, 16 Feb 2002 20:19:35 +0000 (20:19 -0000)]
Use sizeof(sa_mask) instaed of sizeof(sigset_t) since sa_mask is
not always a sigset_t...  Fix from Geoffrey Espin.

22 years agoSeveral mips cleanups/additons from Geoffrey Espin.
Eric Andersen [Sat, 16 Feb 2002 20:16:20 +0000 (20:16 -0000)]
Several mips cleanups/additons from Geoffrey Espin.

22 years agoPatch from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix up
Eric Andersen [Sat, 16 Feb 2002 20:03:25 +0000 (20:03 -0000)]
Patch from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix up
ptrace for the Hitachi h8300

22 years agoAdditionally remove libc/tmp
David Schleef [Sat, 16 Feb 2002 02:41:59 +0000 (02:41 -0000)]
Additionally remove libc/tmp

22 years agoTry adding mipsel to the architectures
David Schleef [Fri, 15 Feb 2002 23:12:53 +0000 (23:12 -0000)]
Try adding mipsel to the architectures

22 years agoGeoffrey Espin noticed a $ that should have been a double $$
Eric Andersen [Fri, 15 Feb 2002 04:24:57 +0000 (04:24 -0000)]
Geoffrey Espin noticed a $ that should have been a double $$
since Make make eats $'s.

22 years agoDisable a lingering bit of wide char junk
Eric Andersen [Thu, 14 Feb 2002 09:28:28 +0000 (09:28 -0000)]
Disable a lingering bit of wide char junk

22 years agoFix missing longjmp symbol
Eric Andersen [Wed, 13 Feb 2002 20:03:59 +0000 (20:03 -0000)]
Fix missing longjmp symbol

22 years agoFix copyright message
Eric Andersen [Wed, 13 Feb 2002 10:22:54 +0000 (10:22 -0000)]
Fix copyright message

22 years agoA number of naming updates in preparation for adding in
Eric Andersen [Wed, 13 Feb 2002 09:47:04 +0000 (09:47 -0000)]
A number of naming updates in preparation for adding in
proper threading.  Most of this is from Stefan Soucek,
with additions and changes as needed from me.

22 years agoSeveral test suite updates. The testatexit, teston_exit, and
Eric Andersen [Wed, 13 Feb 2002 09:32:52 +0000 (09:32 -0000)]
Several test suite updates.  The testatexit, teston_exit, and
pthread tests were contributed by Stefan Soucek

22 years agoFix silly buffer overflow
Eric Andersen [Wed, 13 Feb 2002 07:25:03 +0000 (07:25 -0000)]
Fix silly buffer overflow

22 years agoMark Robson noticed that our strcasecmp() behaviour was not
Eric Andersen [Tue, 12 Feb 2002 20:28:12 +0000 (20:28 -0000)]
Mark Robson noticed that our strcasecmp() behaviour was not
standards compliant.  Brian Stafford then provided these new
implementations, which apprear to properly follow SUSv2.
 -Erik

22 years agoHAVE_SA_RESTORER is supposed to be true, not false, on most arches.
Eric Andersen [Mon, 11 Feb 2002 07:58:27 +0000 (07:58 -0000)]
HAVE_SA_RESTORER is supposed to be true, not false, on most arches.
 -Erik

22 years agoFix typo
David Schleef [Mon, 11 Feb 2002 03:13:27 +0000 (03:13 -0000)]
Fix typo

22 years agomksnapshot: updated version and filenames. control.in: changed
David Schleef [Mon, 11 Feb 2002 03:10:32 +0000 (03:10 -0000)]
mksnapshot: updated version and filenames.  control.in: changed
dependency from kernel-headers to kernel-source packages.  rules:
force HAS_MMU=true, change mipsel to mips, untar kernel-source
package include directory and use that as kernel source

22 years agoUpdate version
David Schleef [Mon, 11 Feb 2002 01:09:03 +0000 (01:09 -0000)]
Update version

22 years agoDont choke when chown fails. Try to be more portable...
Eric Andersen [Fri, 8 Feb 2002 15:55:04 +0000 (15:55 -0000)]
Dont choke when chown fails.  Try to be more portable...

22 years agoAdd in clone (untested)
David McCullough [Wed, 6 Feb 2002 14:35:12 +0000 (14:35 -0000)]
Add in clone (untested)

Fix up setjmp/longjmp which were quite broken not withstanding
all the new versions.

Needs a little more test time before I'll trust this code totally.

22 years agoUpdates from Martin Sieper
Eric Andersen [Tue, 5 Feb 2002 23:03:08 +0000 (23:03 -0000)]
Updates from Martin Sieper

22 years agoFix __adjtimex symbol
Eric Andersen [Tue, 5 Feb 2002 20:48:16 +0000 (20:48 -0000)]
Fix __adjtimex symbol

22 years agoOOps.
Eric Andersen [Tue, 5 Feb 2002 20:30:45 +0000 (20:30 -0000)]
OOps.

22 years agouse X/Open __sysv_signal name, then use the weak name for sysv_signal
Eric Andersen [Tue, 5 Feb 2002 06:04:17 +0000 (06:04 -0000)]
use X/Open __sysv_signal name, then use the weak name for sysv_signal
 -Erik

22 years agoUpdate text for release
Eric Andersen [Mon, 4 Feb 2002 15:15:46 +0000 (15:15 -0000)]
Update text for release

22 years agoUpdate changelog
Eric Andersen [Mon, 4 Feb 2002 14:37:22 +0000 (14:37 -0000)]
Update changelog

22 years agoMake powerpc default to faster malloc
Eric Andersen [Mon, 4 Feb 2002 14:03:51 +0000 (14:03 -0000)]
Make powerpc default to faster malloc

22 years agoFix naming error in brk.c, enable faster malloc by default
Eric Andersen [Mon, 4 Feb 2002 14:02:15 +0000 (14:02 -0000)]
Fix naming error in brk.c, enable faster malloc by default

22 years agoFixup mips so it now works and provides basic functionality
Eric Andersen [Mon, 4 Feb 2002 13:51:21 +0000 (13:51 -0000)]
Fixup mips so it now works and provides basic functionality

22 years agoRework powerpc to be consistant with the other arches.
Eric Andersen [Mon, 4 Feb 2002 12:34:00 +0000 (12:34 -0000)]
Rework powerpc to be consistant with the other arches.
 -Erik

22 years agoMinor cleanups
Eric Andersen [Mon, 4 Feb 2002 11:12:58 +0000 (11:12 -0000)]
Minor cleanups

22 years agoFix headers
Eric Andersen [Mon, 4 Feb 2002 11:10:10 +0000 (11:10 -0000)]
Fix headers

22 years agoFixup arch substitution
Eric Andersen [Mon, 4 Feb 2002 10:52:28 +0000 (10:52 -0000)]
Fixup arch substitution

22 years agoFix path
Eric Andersen [Mon, 4 Feb 2002 10:37:33 +0000 (10:37 -0000)]
Fix path

22 years agoAdjust sparc port do it now actually works.
Eric Andersen [Mon, 4 Feb 2002 10:07:51 +0000 (10:07 -0000)]
Adjust sparc port do it now actually works.
 -Erik

22 years agoA few more little cleanups
Eric Andersen [Mon, 4 Feb 2002 08:38:33 +0000 (08:38 -0000)]
A few more little cleanups

22 years agoBe consistant about the ways in which asm/unistd.h might
Eric Andersen [Mon, 4 Feb 2002 08:30:23 +0000 (08:30 -0000)]
Be consistant about the ways in which asm/unistd.h might
be included to avoid gratuitous conflicts...  This is
a hack till we have proper _syscall macros for all archs.
 -Erik

22 years agoAdd include guards
Eric Andersen [Mon, 4 Feb 2002 08:24:07 +0000 (08:24 -0000)]
Add include guards

22 years agoAdd a config file for sparc
Eric Andersen [Mon, 4 Feb 2002 07:31:02 +0000 (07:31 -0000)]
Add a config file for sparc

22 years agoOops.
Eric Andersen [Mon, 4 Feb 2002 07:29:39 +0000 (07:29 -0000)]
Oops.

22 years agoAllow sparc code to at least compile
Eric Andersen [Sun, 3 Feb 2002 06:57:16 +0000 (06:57 -0000)]
Allow sparc code to at least compile

22 years agoAdd in support for the Hitach H8/300H architecture,
Eric Andersen [Sat, 2 Feb 2002 19:03:57 +0000 (19:03 -0000)]
Add in support for the Hitach H8/300H architecture,
contributed by Yoshinori Sato <qzb04471@nifty.ne.jp>

22 years agoOops. Fixup the defaults
Eric Andersen [Sat, 2 Feb 2002 15:01:46 +0000 (15:01 -0000)]
Oops.  Fixup the defaults

22 years agoDo not expose the weak_alias() junk to the world. Wrap it
Eric Andersen [Sat, 2 Feb 2002 13:53:32 +0000 (13:53 -0000)]
Do not expose the weak_alias() junk to the world.  Wrap it
inside an #if defined _LIBC
 -Erik

22 years agoAdd in a weak __mempcpy for mempcpy to make certain GNU
Eric Andersen [Sat, 2 Feb 2002 13:52:16 +0000 (13:52 -0000)]
Add in a weak __mempcpy for mempcpy to make certain GNU
programs happy.  bother...

22 years agoI just wrote up gethostent(), sethostent(), and endhostent()
Eric Andersen [Sat, 2 Feb 2002 13:51:19 +0000 (13:51 -0000)]
I just wrote up gethostent(), sethostent(), and endhostent()
 -Erik

22 years agoprocmail now works
Eric Andersen [Sat, 2 Feb 2002 13:49:24 +0000 (13:49 -0000)]
procmail now works

22 years agoGrr. I should learn to compile stuff before committing
Eric Andersen [Sat, 2 Feb 2002 11:00:37 +0000 (11:00 -0000)]
Grr.  I should learn to compile stuff before committing

22 years agoOops
Eric Andersen [Sat, 2 Feb 2002 10:54:48 +0000 (10:54 -0000)]
Oops

22 years agoAdd in a weak for __adjtime
Eric Andersen [Sat, 2 Feb 2002 10:50:22 +0000 (10:50 -0000)]
Add in a weak for __adjtime

22 years agoFix some typos...
Eric Andersen [Sat, 2 Feb 2002 10:38:53 +0000 (10:38 -0000)]
Fix some typos...