OSDN Git Service

uclinux-h8/uclibc-ng.git
22 years agoDoh! A silly typo broke select...
Eric Andersen [Thu, 30 May 2002 12:08:10 +0000 (12:08 -0000)]
Doh!  A silly typo broke select...
 -Erik

22 years agoAnd with this, the alpha port is not basically working.
Eric Andersen [Thu, 30 May 2002 10:07:53 +0000 (10:07 -0000)]
And with this, the alpha port is not basically working.
 -Erik

22 years agodon't include the linux dir. Pointless and broken.
Eric Andersen [Thu, 30 May 2002 09:29:36 +0000 (09:29 -0000)]
don't include the linux dir.  Pointless and broken.
 -Erik

22 years agoPut GCCINCDIR here, which is the only place it is needed.
Eric Andersen [Thu, 30 May 2002 09:20:50 +0000 (09:20 -0000)]
Put GCCINCDIR here, which is the only place it is needed.
 -Erik

22 years agoCool. An even better way to get the gcc include dir which eliminates
Eric Andersen [Thu, 30 May 2002 09:16:54 +0000 (09:16 -0000)]
Cool.  An even better way to get the gcc include dir which eliminates
several external program calls, thanks to a suggestion from rmk.
 -Erik

22 years agoMake these properly cope with 64bit systems
Eric Andersen [Thu, 30 May 2002 08:51:13 +0000 (08:51 -0000)]
Make these properly cope with 64bit systems
 -Erik

22 years agoFixup some silly bugs I added earlier
Eric Andersen [Thu, 30 May 2002 07:53:59 +0000 (07:53 -0000)]
Fixup some silly bugs I added earlier
 -Erik

22 years agoNeeded for the alpha port
Eric Andersen [Thu, 30 May 2002 03:04:12 +0000 (03:04 -0000)]
Needed for the alpha port
 -Erik

22 years agoMake syscalls.c way more generic. Now works on alpha...
Eric Andersen [Thu, 30 May 2002 02:05:42 +0000 (02:05 -0000)]
Make syscalls.c way more generic.  Now works on alpha...
 -Erik

22 years agoCope with systems that don't glob all these together, but use
Eric Andersen [Thu, 30 May 2002 00:41:03 +0000 (00:41 -0000)]
Cope with systems that don't glob all these together, but use
separate syscalls.
 -Erik

22 years agoSilly me. ldd.target is for the target system, so don't
Eric Andersen [Wed, 29 May 2002 15:14:06 +0000 (15:14 -0000)]
Silly me.  ldd.target is for the target system, so don't
use-build-dir when compiling...
 -Erik

22 years agoNow that was silly
Eric Andersen [Wed, 29 May 2002 10:08:41 +0000 (10:08 -0000)]
Now that was silly

22 years agoUpdate content a bit
Eric Andersen [Wed, 29 May 2002 01:47:43 +0000 (01:47 -0000)]
Update content a bit

22 years agoPatch from Yoshinori Sato <qzb04471@nifty.ne.jp> to use
Eric Andersen [Tue, 28 May 2002 23:35:18 +0000 (23:35 -0000)]
Patch from Yoshinori Sato <qzb04471@nifty.ne.jp> to use
C_SYMBOL_PREFIX for confused compilers, such as for v850
and h8300, per suggestion from Miles Bader.

22 years agoFixup and unifiy version numbering. Automate versioning updates.
Eric Andersen [Tue, 28 May 2002 23:21:57 +0000 (23:21 -0000)]
Fixup and unifiy version numbering.  Automate versioning updates.
Propagate fixes across makefiles.
 -Erik

22 years agoPatch from Tobias Anderberg <tobias.anderberg@axis.com> to abstract
Eric Andersen [Tue, 28 May 2002 21:33:41 +0000 (21:33 -0000)]
Patch from Tobias Anderberg <tobias.anderberg@axis.com> to abstract
out page alignment issues.  As we we were assuming 4k pages, which
need not be the case...

22 years agoFix a couple of silly bugs I'd left in while fixing things
Eric Andersen [Fri, 24 May 2002 14:30:15 +0000 (14:30 -0000)]
Fix a couple of silly bugs I'd left in while fixing things
 -Erik

22 years agoFix libcrypt, thanks to Vadim Berkgaut <berk@rc.ru>
Eric Andersen [Fri, 24 May 2002 05:41:22 +0000 (05:41 -0000)]
Fix libcrypt, thanks to Vadim Berkgaut <berk@rc.ru>

22 years agoFix ldd so it correctly handles search paths of just one entry
Eric Andersen [Fri, 24 May 2002 05:32:40 +0000 (05:32 -0000)]
Fix ldd so it correctly handles search paths of just one entry
(per fix in ldso a while back), and correctly matches the search
order in the shared lib loader.
 -Erik

22 years agoPass the -s to the linker
Eric Andersen [Fri, 24 May 2002 04:35:54 +0000 (04:35 -0000)]
Pass the -s to the linker

22 years agoSend the -s to the linker
Eric Andersen [Fri, 24 May 2002 04:02:41 +0000 (04:02 -0000)]
Send the -s to the linker

22 years agoObligatory forgotten file during commit...
Manuel Novoa III [Thu, 23 May 2002 21:54:01 +0000 (21:54 -0000)]
Obligatory forgotten file during commit...

22 years agoMultibyte and wide char conversion functions. Some work still to do, but
Manuel Novoa III [Thu, 23 May 2002 20:33:53 +0000 (20:33 -0000)]
Multibyte and wide char conversion functions.  Some work still to do, but
they're quite solid now and Erik needs them for the gcc port.  Comments at
the head of wchar.c.

22 years agoSeveral h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>
Eric Andersen [Thu, 23 May 2002 19:09:03 +0000 (19:09 -0000)]
Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>

22 years agoCleanup slightly
Eric Andersen [Thu, 23 May 2002 18:54:59 +0000 (18:54 -0000)]
Cleanup slightly

22 years agoChanged path where cross development tools are installed.
"Steven J. Hill" [Tue, 21 May 2002 19:42:03 +0000 (19:42 -0000)]
Changed path where cross development tools are installed.

22 years agoAdded more debug code.
"Steven J. Hill" [Mon, 20 May 2002 21:53:30 +0000 (21:53 -0000)]
Added more debug code.

22 years agoChanges needed for MIPS with regards to the .init and .fini sections.
"Steven J. Hill" [Mon, 20 May 2002 18:35:43 +0000 (18:35 -0000)]
Changes needed for MIPS with regards to the .init and .fini sections.

22 years agoFixed MIPS dynamic linker by removing link order dependency bug.
"Steven J. Hill" [Mon, 20 May 2002 18:30:17 +0000 (18:30 -0000)]
Fixed MIPS dynamic linker by removing link order dependency bug.

22 years agoRevert Erik's previous patch and fix what I believe he was trying to, while
Manuel Novoa III [Sun, 12 May 2002 16:58:16 +0000 (16:58 -0000)]
Revert Erik's previous patch and fix what I believe he was trying to, while
preserving the space-saving aliases.

22 years agoAdd a missing #include
Eric Andersen [Sun, 12 May 2002 00:49:32 +0000 (00:49 -0000)]
Add a missing #include

22 years agoUse the default version in include/sys instead
Eric Andersen [Sun, 12 May 2002 00:37:03 +0000 (00:37 -0000)]
Use the default version in include/sys instead

22 years agoFixes for 64 bit arches
Eric Andersen [Sun, 12 May 2002 00:33:22 +0000 (00:33 -0000)]
Fixes for 64 bit arches

22 years agoSeveral bugfixes for problems that showed up on alpha
Eric Andersen [Sun, 12 May 2002 00:32:39 +0000 (00:32 -0000)]
Several bugfixes for problems that showed up on alpha
 -Erik

22 years agoFix some silly bugs and type problems
Eric Andersen [Sun, 12 May 2002 00:28:24 +0000 (00:28 -0000)]
Fix some silly bugs and type problems

22 years agoSmall cleanups for alpha
Eric Andersen [Sun, 12 May 2002 00:27:48 +0000 (00:27 -0000)]
Small cleanups for alpha

22 years agoFix this one up so it works
Eric Andersen [Sun, 12 May 2002 00:26:48 +0000 (00:26 -0000)]
Fix this one up so it works

22 years agoAdd a config file for alpha
Eric Andersen [Sun, 12 May 2002 00:24:09 +0000 (00:24 -0000)]
Add a config file for alpha

22 years agoAdd a default syscalls.h that will just error out.
Eric Andersen [Sun, 12 May 2002 00:23:39 +0000 (00:23 -0000)]
Add a default syscalls.h that will just error out.
Add in syscalls.h for alpha.

22 years agoFix the defines which I had backwards
Eric Andersen [Sat, 11 May 2002 22:50:22 +0000 (22:50 -0000)]
Fix the defines which I had backwards

22 years agoFixup for architectures that do not supply the ipc system
Eric Andersen [Sat, 11 May 2002 22:45:03 +0000 (22:45 -0000)]
Fixup for architectures that do not supply the ipc system
call, but implement the ipc functions as separate system calls.
 -Erik

22 years agoMajorly rework to also cope with architectures which do not use
Eric Andersen [Sat, 11 May 2002 22:26:04 +0000 (22:26 -0000)]
Majorly rework to also cope with architectures which do not use
the socketcall system call, but instead implement each fundamental
networking function directly as a system call.
 -Erik

22 years agoOops. Stupid typo.
Eric Andersen [Sat, 11 May 2002 20:01:09 +0000 (20:01 -0000)]
Oops.  Stupid typo.

22 years agoAdjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alpha
Manuel Novoa III [Sat, 11 May 2002 14:50:18 +0000 (14:50 -0000)]
Adjust preprocessor logic to initialize QUAL_CHARS correctly for Erik's alpha
port.  Also, explicitly use the macro versions of isdigit and isspace in the
printf and scanf code.

22 years agoBegin the process of reworking the time functions for proper
Eric Andersen [Sat, 11 May 2002 05:40:55 +0000 (05:40 -0000)]
Begin the process of reworking the time functions for proper
time zone and locale support (in theory).  More work is
still needed.
 -Erik

22 years agoImplement readdir_r. Audit for proper thread safety and locking.
Eric Andersen [Sat, 11 May 2002 00:26:15 +0000 (00:26 -0000)]
Implement readdir_r.  Audit for proper thread safety and locking.
 -Erik

22 years agoProtect against ctype macros.
Manuel Novoa III [Fri, 10 May 2002 20:58:35 +0000 (20:58 -0000)]
Protect against ctype macros.

22 years agoFirst pass attempt at an alpha port
Eric Andersen [Fri, 10 May 2002 08:28:15 +0000 (08:28 -0000)]
First pass attempt at an alpha port

22 years agoAnother mips patch from Steven J. Hill:
Eric Andersen [Thu, 9 May 2002 08:34:43 +0000 (08:34 -0000)]
Another mips patch from Steven J. Hill:

    Uh, this patch fixes a few bugs that I overlooked. Shoot, even BusyBox
    wouldn't work until these are applied. Erik, plop this into CVS please.
    Thanks.

22 years agoFill a few little holes in the math library
Eric Andersen [Thu, 9 May 2002 08:15:21 +0000 (08:15 -0000)]
Fill a few little holes in the math library

22 years agoRework the math library tests per the glibc math test code, with
Eric Andersen [Thu, 9 May 2002 04:43:18 +0000 (04:43 -0000)]
Rework the math library tests per the glibc math test code, with
many unsupported tests disabled for the moment.
 -Erik

22 years agoAdd missing braces
Eric Andersen [Thu, 9 May 2002 03:51:24 +0000 (03:51 -0000)]
Add missing braces

22 years agoFix funky use of brackets
Eric Andersen [Thu, 9 May 2002 00:25:55 +0000 (00:25 -0000)]
Fix funky use of brackets

22 years agoFixup build a bit more
Eric Andersen [Tue, 7 May 2002 02:07:58 +0000 (02:07 -0000)]
Fixup build a bit more

22 years agoWhen it is going to fail silently anyways, whine loudly and
Eric Andersen [Tue, 7 May 2002 01:30:56 +0000 (01:30 -0000)]
When it is going to fail silently anyways, whine loudly and
abort early with instructions on what to do...
 -Erik

22 years agoForgot to change the Config templates. Changed one... the others are
Manuel Novoa III [Mon, 6 May 2002 12:43:43 +0000 (12:43 -0000)]
Forgot to change the Config templates.  Changed one... the others are
similar, but don't have time to take care of them.

22 years agoUpdate my TODO entries.
Manuel Novoa III [Mon, 6 May 2002 07:42:01 +0000 (07:42 -0000)]
Update my TODO entries.

22 years agoThe obligatory forgotten files...
Manuel Novoa III [Mon, 6 May 2002 07:39:15 +0000 (07:39 -0000)]
The obligatory forgotten files...

22 years agoNew locale support (in development). Supports LC_CTYPE, LC_NUMERIC,
Manuel Novoa III [Mon, 6 May 2002 07:37:32 +0000 (07:37 -0000)]
New locale support (in development).  Supports LC_CTYPE, LC_NUMERIC,
  LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items.  Also,
  nl_langinfo() when real locale support is enabled.
New implementation of ctype.h.
New implementation of wctype.h.
New implementation of most of the string functions (smaller).
New implementation of the wcs/wmem functions.  These are untested, but
  they're also just preprocessor-modified versions ot the corresponding
  str/mem functions.
Tweaked qsort and new bsearch.

Stuff still pending:
stdlib.h and wchar.h  mb<->wc functions.  I actually have working
   versions of the stdlib ones, but the reentrant versions from
   wchar.h require some reworking.
Basic replacement and translit support for wc->mb conversions.
   (groundwork laid).
Simple-minded collate support such as was provided by the previous
   locale implementation.  (mostly done -- 8-bit codesets only)
Shared mmaping of the locale data and strerror message text.

22 years agoNo real need to make ldd.target and readelf.target be static...
Eric Andersen [Fri, 3 May 2002 11:07:58 +0000 (11:07 -0000)]
No real need to make ldd.target and readelf.target be static...

22 years agoSpeed things up by eliminating lots of needless exec calls
Eric Andersen [Fri, 3 May 2002 04:04:54 +0000 (04:04 -0000)]
Speed things up by eliminating lots of needless exec calls
 -Erik

22 years agoEnsure that make clean really cleans up after itself
Eric Andersen [Thu, 2 May 2002 14:07:33 +0000 (14:07 -0000)]
Ensure that make clean really cleans up after itself

22 years agoAdd missing sysctl.h and queue.h
Eric Andersen [Thu, 2 May 2002 13:41:43 +0000 (13:41 -0000)]
Add missing sysctl.h and queue.h

22 years agoPatch from Tobias Anderberg <tobias.anderberg@axis.com> to
Eric Andersen [Thu, 2 May 2002 13:39:44 +0000 (13:39 -0000)]
Patch from Tobias Anderberg <tobias.anderberg@axis.com> to
remove the .asm calls

22 years agoPatch from Steven J. Hill <sjhill@realitydiluted.com>:
Eric Andersen [Thu, 2 May 2002 13:36:53 +0000 (13:36 -0000)]
Patch from Steven J. Hill <sjhill@realitydiluted.com>:

    I am very pleased to announce that the MIPS dynamic linker/loader
    for uClibc is now working. It works on big and little endian
    platforms.

A few minor changes were needed to avoid breaking ldd, and since this
makes some non-trivial changes, I have tested on x86, arm, and powerpc
to be sure thoese arches didn't get broken.  Excellent work Steven!

22 years agoMake ldd and readelf work even with byte swapped binaries
Eric Andersen [Thu, 2 May 2002 13:20:59 +0000 (13:20 -0000)]
Make ldd and readelf work even with byte swapped binaries

22 years agoUse __off64_t instead of off64_t.
Miles Bader [Thu, 25 Apr 2002 07:18:12 +0000 (07:18 -0000)]
Use __off64_t instead of off64_t.

22 years agoStupid libgcc.a from gcc 2.95.x uses __write in pure.o
Eric Andersen [Thu, 25 Apr 2002 06:49:08 +0000 (06:49 -0000)]
Stupid libgcc.a from gcc 2.95.x uses __write in pure.o
which is a blatent GNU libc-ism...  Cope.
 -Erik

22 years agoDon't bother zeroing BSS, since actually we _can_ rely on the loader to do it.
Miles Bader [Thu, 25 Apr 2002 04:40:06 +0000 (04:40 -0000)]
Don't bother zeroing BSS, since actually we _can_ rely on the loader to do it.

22 years agoRework libcrypt based on the openbsd crypt implementation so that it passes the
Eric Andersen [Thu, 25 Apr 2002 01:39:08 +0000 (01:39 -0000)]
Rework libcrypt based on the openbsd crypt implementation so that it passes the
DES validation suite.  setkey_r, encrypt_r, and __des_crypt_r are not really
reentrant now, and that should be fixed (or we should drop crypt_r and friends
which are not supported by SuSv3).
 -Erik

22 years agoBah. Fix (non)password issue.
Eric Andersen [Wed, 24 Apr 2002 19:52:39 +0000 (19:52 -0000)]
Bah.  Fix (non)password issue.

22 years agoDon't use $(PWD), use $(shell pwd) instead
Eric Andersen [Wed, 24 Apr 2002 18:51:38 +0000 (18:51 -0000)]
Don't use $(PWD), use $(shell pwd) instead

22 years agoAdd support for mmap64
Eric Andersen [Wed, 24 Apr 2002 18:43:48 +0000 (18:43 -0000)]
Add support for mmap64
 -Erik

22 years agoMinor updates.
Eric Andersen [Mon, 22 Apr 2002 16:50:52 +0000 (16:50 -0000)]
Minor updates.

22 years agoMoved old README to INSTALL, and wrote a new README that is much more
David Schleef [Sat, 20 Apr 2002 23:26:32 +0000 (23:26 -0000)]
Moved old README to INSTALL, and wrote a new README that is much more
like an introduction to the project.

22 years agoMake sure that CROSS="" for native building.
David Schleef [Sat, 20 Apr 2002 22:43:27 +0000 (22:43 -0000)]
Make sure that CROSS="" for native building.

22 years agouploading new snapshot
David Schleef [Fri, 19 Apr 2002 17:25:02 +0000 (17:25 -0000)]
uploading new snapshot

22 years agoupdated kernel source package to 2.4.18
David Schleef [Fri, 19 Apr 2002 17:24:35 +0000 (17:24 -0000)]
updated kernel source package to 2.4.18

22 years agoupdated to 0.9.11
David Schleef [Fri, 19 Apr 2002 17:24:15 +0000 (17:24 -0000)]
updated to 0.9.11

22 years agoPatch from Axel Barnitzke <barney@xkontor.com> to fix handling
Eric Andersen [Wed, 17 Apr 2002 12:56:57 +0000 (12:56 -0000)]
Patch from Axel Barnitzke <barney@xkontor.com> to fix handling
of the isinf() macro, which was a casulty of my grafting the
glibc header onto out math library.

22 years agoPatch from Axel Barnitzke <barney@xkontor.com> to add basic
Eric Andersen [Wed, 17 Apr 2002 12:41:10 +0000 (12:41 -0000)]
Patch from Axel Barnitzke <barney@xkontor.com> to add basic
support for struct _res.  This is a minimalist implementation,
but should work for most anything out there.

22 years agoPatch from Mike McDonald to make gethostbyname_r() not fail for things like
Eric Andersen [Wed, 17 Apr 2002 12:34:36 +0000 (12:34 -0000)]
Patch from Mike McDonald to make gethostbyname_r() not fail for things like
gethostbyname("192.168.0.1"), which should work even when the /etc/hosts and
/etc/config/hosts files do not exist.

22 years agoPatch from Martin Proulx to not do ELFish things when not ELF.
Eric Andersen [Wed, 17 Apr 2002 11:32:37 +0000 (11:32 -0000)]
Patch from Martin Proulx to not do ELFish things when not ELF.

22 years agoPatch from Martin Proulx to remove weak_aliases for non ELF compilers in
Eric Andersen [Wed, 17 Apr 2002 11:31:08 +0000 (11:31 -0000)]
Patch from Martin Proulx to remove weak_aliases for non ELF compilers in
__uClibc_main for the _stdio_init and _stdio_term functions.  Since
weak_aliases are defined as hard aliases for non ELF compilers, these 2 symbols
ended up to be multiply defined, as those two are defined in stdio.c.

22 years agoStub out pread and pwrite when not available
Eric Andersen [Wed, 17 Apr 2002 11:27:15 +0000 (11:27 -0000)]
Stub out pread and pwrite when not available

22 years agoChange branch to fallthrough. Unclean, but it removes last R_PPC_REL24.
David Schleef [Wed, 17 Apr 2002 07:29:12 +0000 (07:29 -0000)]
Change branch to fallthrough.  Unclean, but it removes last R_PPC_REL24.

22 years agoJust tail-call __uClibc_main. There's no real point to calling abort if
Miles Bader [Wed, 17 Apr 2002 06:30:14 +0000 (06:30 -0000)]
Just tail-call __uClibc_main.  There's no real point to calling abort if
exit failed, and abort drags in some unecessary grot.

22 years agoRemove strong aliases to symbols that we don't define in uClibc
Eric Andersen [Wed, 17 Apr 2002 02:59:22 +0000 (02:59 -0000)]
Remove strong aliases to symbols that we don't define in uClibc

22 years ago(L_dummy_main_reference): Reference the C symbol `main', not the linker
Miles Bader [Mon, 15 Apr 2002 07:32:29 +0000 (07:32 -0000)]
(L_dummy_main_reference): Reference the C symbol `main', not the linker
symbol `main'.

22 years agoFix dummy main reference so it works...
Eric Andersen [Sun, 14 Apr 2002 03:42:45 +0000 (03:42 -0000)]
Fix dummy main reference so it works...

22 years agoManuel and I were looking into a problem with applications failing to link
Eric Andersen [Sun, 14 Apr 2002 03:32:14 +0000 (03:32 -0000)]
Manuel and I were looking into a problem with applications failing to link
(undefined reference to `main') when the .o file containing main was contained
in an static library(a '.a' ar archive).  It turns out that due to its single
pass nature, GNU ld was failing to pull it into the build.  This sticks a dummy
reference to main() into crt0.o, so that when an application is linked with the
main() function in a static library, we can be sure that main() actually gets
linked in.
 -Erik

22 years agouse uClibc_config_fix.pl for configuration
David Schleef [Sat, 13 Apr 2002 20:58:16 +0000 (20:58 -0000)]
use uClibc_config_fix.pl for configuration

22 years agouse ds account on cvs.uclibc.org
David Schleef [Sat, 13 Apr 2002 20:57:30 +0000 (20:57 -0000)]
use ds account on cvs.uclibc.org

22 years agoFixed stpncpy() implementation from Manuel
Eric Andersen [Sat, 13 Apr 2002 15:44:56 +0000 (15:44 -0000)]
Fixed stpncpy() implementation from Manuel

22 years agoPatch from Jim Treadway <jim@stardot-tech.com>:
Eric Andersen [Sat, 13 Apr 2002 15:13:59 +0000 (15:13 -0000)]
Patch from Jim Treadway <jim@stardot-tech.com>:
    The internal __getgrent function doesn't allocate enough memory to hold
    the trailing NULL pointer in the gr_mem member of the returned 'struct
    group *'.

22 years agoUpdate TODO list
Eric Andersen [Thu, 11 Apr 2002 18:34:45 +0000 (18:34 -0000)]
Update TODO list

22 years agoFixed broken shell syntax.
David McCullough [Thu, 11 Apr 2002 06:23:34 +0000 (06:23 -0000)]
Fixed broken shell syntax.

22 years agoAdded a dummy romfs target so this stuff slots nicely into the
David McCullough [Thu, 11 Apr 2002 04:26:32 +0000 (04:26 -0000)]
Added a dummy romfs target so this stuff slots nicely into the
uClinux distro.

22 years agoMinor doc update
Eric Andersen [Wed, 10 Apr 2002 17:05:18 +0000 (17:05 -0000)]
Minor doc update

22 years agoA last minute addition
Eric Andersen [Wed, 10 Apr 2002 13:01:33 +0000 (13:01 -0000)]
A last minute addition