OSDN Git Service

uclinux-h8/uClibc.git
22 years agoRemove source files that, well, no longer exist :).
"Steven J. Hill" [Wed, 24 Jul 2002 17:29:35 +0000 (17:29 -0000)]
Remove source files that, well, no longer exist :).

22 years agoThis rule is only necessary for little endian MIPS.
"Steven J. Hill" [Wed, 24 Jul 2002 16:34:31 +0000 (16:34 -0000)]
This rule is only necessary for little endian MIPS.

22 years agoFactor out some common code sequences into inline functions.
Miles Bader [Wed, 24 Jul 2002 06:48:48 +0000 (06:48 -0000)]
Factor out some common code sequences into inline functions.

22 years agoMisc small cleanups.
Miles Bader [Wed, 24 Jul 2002 06:07:17 +0000 (06:07 -0000)]
Misc small cleanups.

22 years agoRemove, since it's entirely incorrect
Miles Bader [Wed, 24 Jul 2002 05:01:38 +0000 (05:01 -0000)]
Remove, since it's entirely incorrect

22 years ago(__ASMNAME): Use C_SYMBOL_PREFIX.
Miles Bader [Wed, 24 Jul 2002 02:16:28 +0000 (02:16 -0000)]
(__ASMNAME): Use C_SYMBOL_PREFIX.
(__ASMNAME2): Macro removed.

22 years ago* Automatically try to unmap heap free-areas when they get very big.
Miles Bader [Tue, 23 Jul 2002 06:50:40 +0000 (06:50 -0000)]
* Automatically try to unmap heap free-areas when they get very big.

* Instead of using mmap/munmap directly for large allocations, just use
  the heap for everything (this is reasonable now that heap memory can
  be unmapped).

* Use sbrk instead of mmap/munmap on systems with an MMU.

22 years agoAdd some syscalls which I moved out of syscalls.c
Eric Andersen [Mon, 22 Jul 2002 17:11:58 +0000 (17:11 -0000)]
Add some syscalls which I moved out of syscalls.c
 -Erik

22 years agoRework syscall handling. Rewrite syscall handlers for x86 and ARM.
Eric Andersen [Mon, 22 Jul 2002 17:10:30 +0000 (17:10 -0000)]
Rework syscall handling.  Rewrite syscall handlers for x86 and ARM.
Prepare to kill the UNIFIED_SYSCALL option and instead have it be
a per arch thing that is either enabled or not for that arch.
 -Erik

22 years agoFix spelling
Eric Andersen [Fri, 19 Jul 2002 08:09:17 +0000 (08:09 -0000)]
Fix spelling

22 years agoDoc fix.
Miles Bader [Fri, 19 Jul 2002 04:27:30 +0000 (04:27 -0000)]
Doc fix.

22 years agoRename mutex stuff to use heap-specific names.
Miles Bader [Fri, 19 Jul 2002 04:26:41 +0000 (04:26 -0000)]
Rename mutex stuff to use heap-specific names.
Doc fix.

22 years agoMiles Bader implemented a new mmap based malloc which is much
Eric Andersen [Thu, 18 Jul 2002 15:00:07 +0000 (15:00 -0000)]
Miles Bader implemented a new mmap based malloc which is much
smarter than the old "malloc-simple", and actually works, unlike
the old "malloc".  So kill the old "malloc-simple" and the old
"malloc" and replace them with Miles' new malloc implementation.
Update Config files to match.  Thanks Miles!

22 years agoFix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> so
Eric Andersen [Tue, 16 Jul 2002 15:02:01 +0000 (15:02 -0000)]
Fix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> so
that cfsetspeed would actually be compiled in.

22 years agoWe don't need the debug versions
Eric Andersen [Tue, 16 Jul 2002 12:34:42 +0000 (12:34 -0000)]
We don't need the debug versions

22 years ago__morecore need not be a function pointer
Eric Andersen [Tue, 16 Jul 2002 12:33:48 +0000 (12:33 -0000)]
__morecore need not be a function pointer

22 years agoDisable debug stuff by default
Eric Andersen [Tue, 16 Jul 2002 12:27:00 +0000 (12:27 -0000)]
Disable debug stuff by default

22 years agoOdd. Got a copy of junk in here.
Eric Andersen [Tue, 16 Jul 2002 12:20:40 +0000 (12:20 -0000)]
Odd.  Got a copy of junk in here.

22 years agoDo not assume NULL termination on the ut_id field. Thanks
Eric Andersen [Tue, 16 Jul 2002 10:56:19 +0000 (10:56 -0000)]
Do not assume NULL termination on the ut_id field.  Thanks
to mac12@po.cwru.edu for spotting this one.

22 years agoClean up CLK_TCK situation. clock() and sysconf() now use an
Manuel Novoa III [Mon, 15 Jul 2002 16:26:52 +0000 (16:26 -0000)]
Clean up CLK_TCK situation.  clock() and sysconf() now use an
arch-specific constant value defined in bits/uClibc_clk_tck.h.
Default is 100 (common/bits) but alpha uses 1024 following glibc.
Override per arch as necessary.

22 years agostupid cut-n-paste bug
Eric Andersen [Mon, 15 Jul 2002 12:16:05 +0000 (12:16 -0000)]
stupid cut-n-paste bug
 -Erik

22 years agoPatch for a silly bug from David Blythe
Eric Andersen [Mon, 15 Jul 2002 10:15:07 +0000 (10:15 -0000)]
Patch for a silly bug from David Blythe

22 years agoSilence a couple of silly warnings
Eric Andersen [Mon, 15 Jul 2002 10:03:12 +0000 (10:03 -0000)]
Silence a couple of silly warnings
 -Erik

22 years agoRework pread and pwrite support so it should actually work.
Eric Andersen [Mon, 15 Jul 2002 09:59:46 +0000 (09:59 -0000)]
Rework pread and pwrite support so it should actually work.
Add support for pread64 and pwrite64.  Fixup llseek a bit.
 -Erik

22 years agoAdd both pthread_mutexattr_setpshared() and
Eric Andersen [Sun, 14 Jul 2002 07:01:41 +0000 (07:01 -0000)]
Add both pthread_mutexattr_setpshared() and
pthread_mutexattr_getpshared(), which were
missing
 -Erik

22 years agoAdd missing pthread_condattr_getpshared and pthread_condattr_setpshared
Eric Andersen [Sun, 14 Jul 2002 06:52:23 +0000 (06:52 -0000)]
Add missing pthread_condattr_getpshared and pthread_condattr_setpshared
 -Erik

22 years agoKill this stale file
Eric Andersen [Thu, 11 Jul 2002 14:06:06 +0000 (14:06 -0000)]
Kill this stale file

22 years agoNote updated toolchains are available
Eric Andersen [Thu, 11 Jul 2002 10:14:26 +0000 (10:14 -0000)]
Note updated toolchains are available
 -Erik

22 years agoGrumble...
Miles Bader [Thu, 11 Jul 2002 07:15:29 +0000 (07:15 -0000)]
Grumble...

22 years agoThe mips config files were broken, and failed to define NM
Eric Andersen [Wed, 10 Jul 2002 05:40:19 +0000 (05:40 -0000)]
The mips config files were broken, and failed to define NM
for some reason...

22 years agoTobias Anderberg <tobias.anderberg@axis.com> noticed that
Eric Andersen [Wed, 10 Jul 2002 04:38:37 +0000 (04:38 -0000)]
Tobias Anderberg <tobias.anderberg@axis.com> noticed that
we were opening the socket() as SOCK_STREAM instead of
using SOCK_DGRAM like we should have done.

22 years agoPer bug report from Ronald Wahl <rwa@peppercon.com>:
Eric Andersen [Wed, 10 Jul 2002 04:32:03 +0000 (04:32 -0000)]
Per bug report from Ronald Wahl <rwa@peppercon.com>:
    ...inet_pton breaks since tolower is implemented as
    a macro and its argument is evaluated more than once:

while ((ch = tolower (*src++)) != '\0') {

So I fixed it by just undefining tolower() so we use the
function version, not the macro.
 -Erik

22 years agoAdd missing stropts.h
Eric Andersen [Wed, 10 Jul 2002 04:15:31 +0000 (04:15 -0000)]
Add missing stropts.h

22 years agoPatch from Ronald Wahl <rwa@peppercon.com> to fix a memory leak
Eric Andersen [Wed, 10 Jul 2002 04:09:18 +0000 (04:09 -0000)]
Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leak

22 years agoFix a typo
Eric Andersen [Mon, 8 Jul 2002 22:02:34 +0000 (22:02 -0000)]
Fix a typo

22 years agoRemove obsolete code.
Manuel Novoa III [Mon, 8 Jul 2002 17:57:11 +0000 (17:57 -0000)]
Remove obsolete code.

22 years agoFix a preprocessor buglet. Redo sys_siglist/strsignal/psignal.
Manuel Novoa III [Mon, 8 Jul 2002 17:56:36 +0000 (17:56 -0000)]
Fix a preprocessor buglet.  Redo sys_siglist/strsignal/psignal.

22 years agoFiner grained locking in __connect_dns() so we don't hold the
Eric Andersen [Mon, 8 Jul 2002 01:38:22 +0000 (01:38 -0000)]
Finer grained locking in __connect_dns() so we don't hold the
lock while sending packets out onto the wire.
 -Erik

22 years agoObligatory forgotten file.
Manuel Novoa III [Sun, 7 Jul 2002 20:14:55 +0000 (20:14 -0000)]
Obligatory forgotten file.

22 years agoAttempt to clean up the strerror_r situation.
Manuel Novoa III [Sun, 7 Jul 2002 20:13:41 +0000 (20:13 -0000)]
Attempt to clean up the strerror_r situation.

22 years agoDoh! search-n-replace strikes again
Eric Andersen [Sun, 7 Jul 2002 07:52:28 +0000 (07:52 -0000)]
Doh!  search-n-replace strikes again
 -Erik

22 years agoFix namespace pollution by hiding statfix and statfix64 by
Eric Andersen [Sun, 7 Jul 2002 07:30:24 +0000 (07:30 -0000)]
Fix namespace pollution by hiding statfix and statfix64 by
prepending an __ to the name.  Not perfect but better.
 -Erik

22 years agoCleanup namespace leaks by prepending __ to global stuff to
Eric Andersen [Sun, 7 Jul 2002 07:27:44 +0000 (07:27 -0000)]
Cleanup namespace leaks by prepending __ to global stuff to
indicate it is (alledgedly) private.
 -Erik

22 years agoKill namespace pollution in getrpcent.c. Silence other rpc warnings
Eric Andersen [Sun, 7 Jul 2002 07:25:57 +0000 (07:25 -0000)]
Kill namespace pollution in getrpcent.c.  Silence other rpc warnings
by fixing prototypes.  Fix global stuff so it should behave itself
properly now,
 -Erik

22 years agoPatch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanup
Eric Andersen [Sun, 7 Jul 2002 06:45:04 +0000 (06:45 -0000)]
Patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanup
connect_dns() and simplify IPV6 support by reducing the number of
ifdefs sprinkled about.

22 years agoStupid filesystems like cramfs fail to guarantee that st_ino and st_dev
Eric Andersen [Sat, 6 Jul 2002 00:00:40 +0000 (00:00 -0000)]
Stupid filesystems like cramfs fail to guarantee that st_ino and st_dev
uniquely identify a file, contrary to SuSv3, so we cannot be quite so
precise as to require an exact match.  Settle for something less...
Grumble...
 -Erik

22 years agoOnly enable elf2flt support when using elf toolchains
Eric Andersen [Fri, 5 Jul 2002 22:47:07 +0000 (22:47 -0000)]
Only enable elf2flt support when using elf toolchains
 -Erik

22 years agoAdd copyright message and remove dead code.
Manuel Novoa III [Fri, 5 Jul 2002 17:38:49 +0000 (17:38 -0000)]
Add copyright message and remove dead code.

22 years agoUpdate header for strlcat and strlcpy.
Manuel Novoa III [Fri, 5 Jul 2002 17:37:04 +0000 (17:37 -0000)]
Update header for strlcat and strlcpy.

22 years agoAdd two missing glibc wide string funcs as well as OpenBSD string funcs
Manuel Novoa III [Fri, 5 Jul 2002 17:35:40 +0000 (17:35 -0000)]
Add two missing glibc wide string funcs as well as OpenBSD string funcs
strlcat and strlcpy.

22 years agoOnly define __uwchar_t if wide char support is enabled.
Manuel Novoa III [Fri, 5 Jul 2002 13:56:48 +0000 (13:56 -0000)]
Only define __uwchar_t if wide char support is enabled.

22 years agoUpdate my todo list entries.
Manuel Novoa III [Thu, 4 Jul 2002 15:10:04 +0000 (15:10 -0000)]
Update my todo list entries.

22 years agoAdd a weak to make apache happy
Eric Andersen [Wed, 3 Jul 2002 21:29:43 +0000 (21:29 -0000)]
Add a weak to make apache happy
 -Erik

22 years agoFor now, have locale support automaticly enable wide char support.
Manuel Novoa III [Wed, 3 Jul 2002 18:04:54 +0000 (18:04 -0000)]
For now, have locale support automaticly enable wide char support.
Things currently won't build otherwise.

22 years agoUpdate Config files for current locale and wide char configuration options.
Manuel Novoa III [Wed, 3 Jul 2002 17:35:42 +0000 (17:35 -0000)]
Update Config files for current locale and wide char configuration options.

22 years agoEnable WCHAR support for C/POSIX stub locales.
Manuel Novoa III [Wed, 3 Jul 2002 17:24:17 +0000 (17:24 -0000)]
Enable WCHAR support for C/POSIX stub locales.
Implemented unformatted wide i/o functions. (ungetwc still needs testing)
Fix a few bugs in wchar.c.
Modifications for bcc/elks support.

22 years agoChange default config files for MIPS platforms. Nothing major.
"Steven J. Hill" [Wed, 3 Jul 2002 17:18:19 +0000 (17:18 -0000)]
Change default config files for MIPS platforms. Nothing major.

22 years agoMake clone work, part 2.
Eric Andersen [Wed, 3 Jul 2002 03:38:10 +0000 (03:38 -0000)]
Make clone work, part 2.
 -Erik

22 years agoFix clone so it compiles
Eric Andersen [Wed, 3 Jul 2002 03:23:20 +0000 (03:23 -0000)]
Fix clone so it compiles
 -Erik

22 years agoOops. missed a spot
Eric Andersen [Tue, 2 Jul 2002 09:07:53 +0000 (09:07 -0000)]
Oops.  missed a spot
 -Erik

22 years agoopenlog could deadlock when called from vsyslog, so
Eric Andersen [Tue, 2 Jul 2002 09:05:05 +0000 (09:05 -0000)]
openlog could deadlock when called from vsyslog, so
allow recursive locking,
 -Erik

22 years agoDisable ldconfig.target for now
Eric Andersen [Tue, 2 Jul 2002 07:37:16 +0000 (07:37 -0000)]
Disable ldconfig.target for now
 -Erik

22 years agoAdd a bunch of extra pedantic annoyingly strict checks
Eric Andersen [Tue, 2 Jul 2002 06:16:30 +0000 (06:16 -0000)]
Add a bunch of extra pedantic annoyingly strict checks
 -Erik

22 years agoResync the install defines
Eric Andersen [Tue, 2 Jul 2002 06:15:23 +0000 (06:15 -0000)]
Resync the install defines
 -Erik

22 years agoFixup where locals shadowed globals
Eric Andersen [Tue, 2 Jul 2002 05:45:54 +0000 (05:45 -0000)]
Fixup where locals shadowed globals
 -Erik

22 years agofix this header so it behaves itself
Eric Andersen [Tue, 2 Jul 2002 05:23:33 +0000 (05:23 -0000)]
fix this header so it behaves itself
 -Erik

22 years agoChange the default structure of the installed toolchain
Eric Andersen [Tue, 2 Jul 2002 05:00:07 +0000 (05:00 -0000)]
Change the default structure of the installed toolchain
 -Erik

22 years agoPatch from Ronald Wahl <rwa@peppercon.com> -- kill references to
Eric Andersen [Mon, 1 Jul 2002 16:58:28 +0000 (16:58 -0000)]
Patch from Ronald Wahl <rwa@peppercon.com> -- kill references to
the obsolete PTHREAD_MUTEX_FAST_NP, and change the default mutex
type to adaptive

22 years agoThis patch, from Ronald Wahl <rwa@peppercon.com>, fixes the
Eric Andersen [Mon, 1 Jul 2002 16:36:20 +0000 (16:36 -0000)]
This patch, from Ronald Wahl <rwa@peppercon.com>, fixes the
spots where I screwed up and forgot to fix realloc to use
free_unlocked() instead of free().  Thanks Ronald!

22 years agoSeveral cleanups/fixes from Marshall M. Midden <m4@brecis.com>
Eric Andersen [Wed, 26 Jun 2002 09:10:52 +0000 (09:10 -0000)]
Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>

22 years agoPer "Marshall M. Midden" <m4@brecis.com>, remove double
Eric Andersen [Mon, 24 Jun 2002 18:05:13 +0000 (18:05 -0000)]
Per "Marshall M. Midden" <m4@brecis.com>, remove double
define of _PATH_LOCALE.

22 years agoFixup target util handling
Eric Andersen [Sun, 23 Jun 2002 05:18:22 +0000 (05:18 -0000)]
Fixup target util handling
 -Erik

22 years agoDon't try to compile the target utils unless told to do so.
Eric Andersen [Sun, 23 Jun 2002 05:14:04 +0000 (05:14 -0000)]
Don't try to compile the target utils unless told to do so.
 -Erik

22 years agoRework compiler optimization code to be smarter
Eric Andersen [Sun, 23 Jun 2002 04:57:20 +0000 (04:57 -0000)]
Rework compiler optimization code to be smarter
 -Erik

22 years agoFix spelling
Eric Andersen [Fri, 21 Jun 2002 21:35:24 +0000 (21:35 -0000)]
Fix spelling

22 years agoFix silly spelling error
Eric Andersen [Fri, 21 Jun 2002 21:34:44 +0000 (21:34 -0000)]
Fix silly spelling error

22 years agoFix support for 2.0.x linux kernels. Oops.
Eric Andersen [Fri, 21 Jun 2002 21:32:00 +0000 (21:32 -0000)]
Fix support for 2.0.x linux kernels.  Oops.
 -Erik

22 years agoFix spelling
Eric Andersen [Thu, 20 Jun 2002 17:39:11 +0000 (17:39 -0000)]
Fix spelling

22 years agoRemove noise
Eric Andersen [Thu, 20 Jun 2002 17:29:00 +0000 (17:29 -0000)]
Remove noise

22 years agoLast Changelog update
Eric Andersen [Thu, 20 Jun 2002 17:01:51 +0000 (17:01 -0000)]
Last Changelog update

22 years agoUpdate my todo list.
Manuel Novoa III [Thu, 20 Jun 2002 16:49:51 +0000 (16:49 -0000)]
Update my todo list.

22 years agoUpdate my TODO stuff
Eric Andersen [Thu, 20 Jun 2002 16:27:44 +0000 (16:27 -0000)]
Update my TODO stuff

22 years agoKill this file. Don't need it.
Eric Andersen [Thu, 20 Jun 2002 16:23:36 +0000 (16:23 -0000)]
Kill this file.  Don't need it.
 -Erik

22 years agoUpdate the README a bit
Eric Andersen [Thu, 20 Jun 2002 16:22:35 +0000 (16:22 -0000)]
Update the README a bit
 -Erik

22 years agoSome release notes
Eric Andersen [Thu, 20 Jun 2002 16:14:15 +0000 (16:14 -0000)]
Some release notes
 -Erik

22 years agoCommit the full changelog since the last release
Eric Andersen [Thu, 20 Jun 2002 15:53:48 +0000 (15:53 -0000)]
Commit the full changelog since the last release
 -Erik

22 years agoUpdate the webpage for release
Eric Andersen [Thu, 20 Jun 2002 15:48:58 +0000 (15:48 -0000)]
Update the webpage for release
 -Erik

22 years agoAdd support for doing the mmu-less thing
Eric Andersen [Thu, 20 Jun 2002 14:35:19 +0000 (14:35 -0000)]
Add support for doing the mmu-less thing
 -Erik

22 years agoCleanup the function pointer comparisions
Eric Andersen [Thu, 20 Jun 2002 14:28:03 +0000 (14:28 -0000)]
Cleanup the function pointer comparisions
 -Erik

22 years agoSome Rules cleanups, better gcc-3.1 support.
Eric Andersen [Thu, 20 Jun 2002 10:29:09 +0000 (10:29 -0000)]
Some Rules cleanups, better gcc-3.1 support.
 -Erik

22 years agoFix a bug reported by Michael Weiser <michael@weiser.saale-net.de>
Eric Andersen [Thu, 20 Jun 2002 10:25:10 +0000 (10:25 -0000)]
Fix a bug reported by Michael Weiser <michael@weiser.saale-net.de>
which could cause incorrect invocations of g++.  Cleanup a few things.
Add a new --uclibc-ctors flag allowing one to apply ctor/dtor support
to regular C code.
 -Erik

22 years agoSeveral test case cleanups
Eric Andersen [Thu, 20 Jun 2002 10:19:50 +0000 (10:19 -0000)]
Several test case cleanups
 -Erik

22 years agoFix DNS resolution so that it once again works. I'd broken it
Eric Andersen [Thu, 20 Jun 2002 05:22:17 +0000 (05:22 -0000)]
Fix DNS resolution so that it once again works.  I'd broken it
when adding some locking code.
 -Erik

22 years agoFix incorrect comment re malloc-930716
Eric Andersen [Wed, 19 Jun 2002 17:25:06 +0000 (17:25 -0000)]
Fix incorrect comment re malloc-930716
 -Erik

22 years agoOops. Looks like I broke ttyname. Fix it.
Eric Andersen [Wed, 19 Jun 2002 03:44:02 +0000 (03:44 -0000)]
Oops.  Looks like I broke ttyname.  Fix it.
 -Erik

22 years agoA simple test for getcwd
Eric Andersen [Tue, 18 Jun 2002 20:46:40 +0000 (20:46 -0000)]
A simple test for getcwd
 -Erik

22 years agoCleanup the getcwd implementation (again) since I broke it
Eric Andersen [Tue, 18 Jun 2002 20:43:49 +0000 (20:43 -0000)]
Cleanup the getcwd implementation (again) since I broke it
last night.  Restore malloc-ing when buf=NULL for the syscall
version...  Move getcwd to libc/sysdeps/linux/common and out
of syscalls.c so there is just one getcwd.o object present.
 -Erik

22 years agoMake sure the sccsid tags never get compiled in.
Eric Andersen [Tue, 18 Jun 2002 10:32:26 +0000 (10:32 -0000)]
Make sure the sccsid tags never get compiled in.
 -Erik

22 years agoEliminate all the pointless globals from getcwd(). Default
Eric Andersen [Tue, 18 Jun 2002 10:27:16 +0000 (10:27 -0000)]
Eliminate all the pointless globals from getcwd().  Default
to using the getcwd syscall instead, when it is present.
 -Erik

22 years agoupdate as far as i've double checked things thus far
Eric Andersen [Tue, 18 Jun 2002 10:12:17 +0000 (10:12 -0000)]
update as far as i've double checked things thus far
 -Erik