OSDN Git Service

uclinux-h8/uClibc.git
23 years agoUpdate networking includes.
Eric Andersen [Mon, 5 Feb 2001 03:05:26 +0000 (03:05 -0000)]
Update networking includes.

23 years agoBring into sync with a fairly current glibc header file.
Eric Andersen [Sat, 3 Feb 2001 00:26:28 +0000 (00:26 -0000)]
Bring into sync with a fairly current glibc header file.
 -Erik

23 years agoFix up the set of include files pulled into resolv.h
Eric Andersen [Sat, 3 Feb 2001 00:25:44 +0000 (00:25 -0000)]
Fix up the set of include files pulled into resolv.h

23 years agoI hereby commit a sin. features.h is now going to _lie_
Eric Andersen [Sat, 3 Feb 2001 00:25:14 +0000 (00:25 -0000)]
I hereby commit a sin.  features.h is now going to _lie_
and claim that this is GNU libc.  Too many pieces of code
look for GNU libc version numbers.  So uClibc is now going
to lie and claim it is GNU libc.  This makes, for example,
networking apps work much better since /usr/include/linux/socket.h
does the wrong thing otherwise.  There are lots of other examples.
 -Erik

23 years agoAdded some notes. Removed some dead code.
Manuel Novoa III [Tue, 30 Jan 2001 16:00:13 +0000 (16:00 -0000)]
Added some notes.  Removed some dead code.

23 years agoFix a couple of bugs in printf. Add floating pt output for doubles. Yeah!
Manuel Novoa III [Tue, 30 Jan 2001 11:36:12 +0000 (11:36 -0000)]
Fix a couple of bugs in printf.  Add floating pt output for doubles.  Yeah!
Modified stdio/Makefile to build printf.c according to Config values for
HAS_FLOATS and HAS_LONG_LONG.

23 years agoCommit a pointless change to test more updates to the logging script.
Eric Andersen [Tue, 30 Jan 2001 01:44:38 +0000 (01:44 -0000)]
Commit a pointless change to test more updates to the logging script.
 -Erik

23 years agoHide some unnecessary output. Check cvs logging script.
Manuel Novoa III [Tue, 30 Jan 2001 00:21:56 +0000 (00:21 -0000)]
Hide some unnecessary output.  Check cvs logging script.

23 years agoThe rules to build sysconf_$(TARGET_ARCH).c were broken when cross
David McCullough [Mon, 29 Jan 2001 15:51:44 +0000 (15:51 -0000)]
The rules to build sysconf_$(TARGET_ARCH).c were broken when cross
compiling.

23 years agouClinux 2.0 doesn't have the poll system call, just check for the
David McCullough [Mon, 29 Jan 2001 15:24:57 +0000 (15:24 -0000)]
uClinux 2.0 doesn't have the poll system call,  just check for the
definition before using it.

23 years agoptrace for m68k debugging.
David McCullough [Mon, 29 Jan 2001 15:03:09 +0000 (15:03 -0000)]
ptrace for m68k debugging.

23 years agouClibc working with 2.0.x and 2.4.x m68k uClinux kernels, the PIC
David McCullough [Mon, 29 Jan 2001 15:02:05 +0000 (15:02 -0000)]
uClibc working with 2.0.x and 2.4.x m68k uClinux kernels,  the PIC
stuff in crt0.S may not be quite right yet.

23 years agoAllow Config to override OPTIMIZATION flags.
David McCullough [Mon, 29 Jan 2001 14:58:05 +0000 (14:58 -0000)]
Allow Config to override OPTIMIZATION flags.

23 years agoDIRS was not set in this makefile and could be inherited from the
David McCullough [Mon, 29 Jan 2001 14:36:00 +0000 (14:36 -0000)]
DIRS was not set in this makefile and could be inherited from the
environment.

23 years agoReduced code size; fixed ANSI bug for day -- 5 not 05; mode days and mons const.
Manuel Novoa III [Sun, 28 Jan 2001 19:30:44 +0000 (19:30 -0000)]
Reduced code size; fixed ANSI bug for day -- 5 not 05; mode days and mons const.

23 years agoReally fixed 0-pad bug this time. ;-) Code-size reductions if sizeof(int) and
Manuel Novoa III [Sun, 28 Jan 2001 19:28:46 +0000 (19:28 -0000)]
Really fixed 0-pad bug this time.  ;-)  Code-size reductions if sizeof(int) and
sizeof(long) equal.  printf # flag now works for b (binary) specifier.

23 years agoFixed (hopefully) 0-pad bug in printf. Added asprintf function. Reworked
Manuel Novoa III [Sat, 27 Jan 2001 23:50:02 +0000 (23:50 -0000)]
Fixed (hopefully) 0-pad bug in printf.  Added asprintf function.  Reworked
the *s*printf functions to no longer use a static fake file.

23 years agoEnable auto-generation of a size-optimized sysconf function (saves .5k on i386).
Manuel Novoa III [Sat, 27 Jan 2001 18:51:26 +0000 (18:51 -0000)]
Enable auto-generation of a size-optimized sysconf function (saves .5k on i386).

23 years agoClean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.a
Manuel Novoa III [Thu, 25 Jan 2001 21:19:46 +0000 (21:19 -0000)]
Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.a
objects with shared uClibc; allow disabling long long support.

23 years agoDon't trash regs r0-r2, fix thanks to Michiel Thuys <michiel.thuys@intersil.com>.
Eric Andersen [Thu, 25 Jan 2001 15:36:06 +0000 (15:36 -0000)]
Don't trash regs r0-r2, fix thanks to Michiel Thuys <michiel.thuys@intersil.com>.

23 years agoThis is a silly update to test my change to the script that emails folks
Eric Andersen [Wed, 24 Jan 2001 21:36:21 +0000 (21:36 -0000)]
This is a silly update to test my change to the script that emails folks
after doing a commit.  I hope it works.
 -Erik

23 years agoThis is a silly update to the makefile to test the new script
Eric Andersen [Wed, 24 Jan 2001 21:01:46 +0000 (21:01 -0000)]
This is a silly update to the makefile to test the new script
used when doing a cvs commit.  I hope it works.
 -Erik

23 years agoFixed stderr initialization bug (mine).
Manuel Novoa III [Wed, 24 Jan 2001 20:20:12 +0000 (20:20 -0000)]
Fixed stderr initialization bug (mine).

23 years agoOops. Should be LDFLAGS, not CFLAGS twice
Eric Andersen [Tue, 23 Jan 2001 18:02:39 +0000 (18:02 -0000)]
Oops.  Should be LDFLAGS, not CFLAGS twice

23 years agoAlways use system libc, to facilitate bootstrapping new architectures.
Eric Andersen [Tue, 23 Jan 2001 17:45:29 +0000 (17:45 -0000)]
Always use system libc, to facilitate bootstrapping new architectures.
 -Erik

23 years agoAdd in NATIVE_ARCH
Eric Andersen [Sat, 20 Jan 2001 00:53:19 +0000 (00:53 -0000)]
Add in NATIVE_ARCH

23 years agoBring into line with proper sest suite behavior
Eric Andersen [Sat, 20 Jan 2001 00:46:25 +0000 (00:46 -0000)]
Bring into line with proper sest suite behavior

23 years agoReworked all test suite makefiles (man did they need it).
Eric Andersen [Sat, 20 Jan 2001 00:45:14 +0000 (00:45 -0000)]
Reworked all test suite makefiles (man did they need it).

Refactored testsuite.h so it behaves the way I want it to.  As policy now,
all test apps are _supposed_ to use testsuite.h (not all have been converted
to do this yet).  It is simple, clean, and works.
 -Erik

23 years agoHopefully fix the size/type errors when doing a shared lib.
Manuel Novoa III [Wed, 17 Jan 2001 21:44:22 +0000 (21:44 -0000)]
Hopefully fix the size/type errors when doing a shared lib.

23 years agoNote about need to match _SC_ATEXIT_MAX. Minor macro name change.
Manuel Novoa III [Wed, 17 Jan 2001 17:42:06 +0000 (17:42 -0000)]
Note about need to match _SC_ATEXIT_MAX.  Minor macro name change.

23 years agoFix static buffer used initialization for FIXED_BUFFERS > 2.
Manuel Novoa III [Wed, 17 Jan 2001 17:40:47 +0000 (17:40 -0000)]
Fix static buffer used initialization for FIXED_BUFFERS > 2.

23 years agoAdded missing _SC_2_FORT_RUN case. Fixed _SC_ATEXIT_MAX to match atexit.c.
Manuel Novoa III [Wed, 17 Jan 2001 17:39:51 +0000 (17:39 -0000)]
Added missing _SC_2_FORT_RUN case.  Fixed _SC_ATEXIT_MAX to match atexit.c.

23 years agoSet dynamic linker used to /lib/ld-linux.so.1. Changeable in Makefile.
Manuel Novoa III [Wed, 17 Jan 2001 16:19:28 +0000 (16:19 -0000)]
Set dynamic linker used to /lib/ld-linux.so.1.  Changeable in Makefile.

23 years agoIncrease BUFSIZ to 512 to avoid bug in busybox tar.
Manuel Novoa III [Wed, 17 Jan 2001 16:17:49 +0000 (16:17 -0000)]
Increase BUFSIZ to 512 to avoid bug in busybox tar.

23 years agoMinor comment update
Eric Andersen [Wed, 17 Jan 2001 11:00:30 +0000 (11:00 -0000)]
Minor comment update

23 years agoNow works on StrongArm (using crt0.S) and arm7tdmi/uClinux with
Eric Andersen [Wed, 17 Jan 2001 10:37:05 +0000 (10:37 -0000)]
Now works on StrongArm (using crt0.S) and arm7tdmi/uClinux with
the arm-pic-elf compiler (using crt0pic.S).
 -Erik

23 years agoAdded #include <wait.h> for getrusage.
Manuel Novoa III [Wed, 17 Jan 2001 04:56:47 +0000 (04:56 -0000)]
Added #include <wait.h> for getrusage.

23 years agoThis is _NOT_ an auto-generated file.
Manuel Novoa III [Wed, 17 Jan 2001 04:55:37 +0000 (04:55 -0000)]
This is _NOT_ an auto-generated file.

23 years agoAdd missing symbol for ipc and ignore commented syscall lines.
Manuel Novoa III [Wed, 17 Jan 2001 04:54:25 +0000 (04:54 -0000)]
Add missing symbol for ipc and ignore commented syscall lines.

23 years agoWork around str_syscalls.sh not having execute perms. Should fix in cvs. How?
Manuel Novoa III [Wed, 17 Jan 2001 04:51:39 +0000 (04:51 -0000)]
Work around str_syscalls.sh not having execute perms.  Should fix in cvs. How?

23 years agoThe files unified_syscall_{ARCH}.h are not auto-generated while others are.
Manuel Novoa III [Wed, 17 Jan 2001 04:49:43 +0000 (04:49 -0000)]
The files unified_syscall_{ARCH}.h are not auto-generated while others are.

23 years agoUnDOSified file and added assert when debugging.
Manuel Novoa III [Wed, 17 Jan 2001 04:47:48 +0000 (04:47 -0000)]
UnDOSified file and added assert when debugging.

23 years agoAdapted to handle shared libraries as well as static. Fixed Makefile for m68k.
Manuel Novoa III [Wed, 17 Jan 2001 04:46:51 +0000 (04:46 -0000)]
Adapted to handle shared libraries as well as static.  Fixed Makefile for m68k.

23 years ago"I will always compile before I commit."
Eric Andersen [Tue, 16 Jan 2001 21:08:36 +0000 (21:08 -0000)]
"I will always compile before I commit."
"I will always compile before I commit."
"I will always compile before I commit."
 -Erik

23 years agoUpdate the comments a wee bit.
Eric Andersen [Tue, 16 Jan 2001 19:53:56 +0000 (19:53 -0000)]
Update the comments a wee bit.

23 years agoA little update to wait* and a minor syscall cleanup.
Eric Andersen [Tue, 16 Jan 2001 19:14:23 +0000 (19:14 -0000)]
A little update to wait* and a minor syscall cleanup.

23 years agoFix arm so it actually works.
Eric Andersen [Tue, 16 Jan 2001 19:00:46 +0000 (19:00 -0000)]
Fix arm so it actually works.

23 years agoRemove an extra "/" from the crt0 path
Eric Andersen [Tue, 16 Jan 2001 18:53:27 +0000 (18:53 -0000)]
Remove an extra "/" from the crt0 path

23 years agoOops. Forgot to check these in...
Eric Andersen [Tue, 16 Jan 2001 16:44:32 +0000 (16:44 -0000)]
Oops.  Forgot to check these in...

23 years agoIgnore generated files
Eric Andersen [Tue, 16 Jan 2001 13:14:35 +0000 (13:14 -0000)]
Ignore generated files

23 years agoRemove generated files
Eric Andersen [Tue, 16 Jan 2001 13:13:42 +0000 (13:13 -0000)]
Remove generated files

23 years agoMakefile fixes
Eric Andersen [Tue, 16 Jan 2001 13:11:36 +0000 (13:11 -0000)]
Makefile fixes

23 years agoRemove generated files.
Eric Andersen [Tue, 16 Jan 2001 11:33:39 +0000 (11:33 -0000)]
Remove generated files.

23 years agoIgnore generated binaries. Add a Config usable by most stock x86 systems.
Eric Andersen [Tue, 16 Jan 2001 11:26:36 +0000 (11:26 -0000)]
Ignore generated binaries.  Add a Config usable by most stock x86 systems.

23 years agoAdd first pass shared lib support into Makefile.
Eric Andersen [Tue, 16 Jan 2001 11:25:23 +0000 (11:25 -0000)]
Add first pass shared lib support into Makefile.
This could use some refinement...

23 years agoRemove the nonexistant __sigaction
Eric Andersen [Tue, 16 Jan 2001 10:20:14 +0000 (10:20 -0000)]
Remove the nonexistant __sigaction

23 years agoAdd wrapper for old termio interface
Eric Andersen [Tue, 16 Jan 2001 10:19:28 +0000 (10:19 -0000)]
Add wrapper for old termio interface

23 years agoAdd poll, so this is now needed
Eric Andersen [Tue, 16 Jan 2001 10:15:51 +0000 (10:15 -0000)]
Add poll, so this is now needed

23 years agoSymbol cleanup/bugfix. Add in needed global.
Eric Andersen [Tue, 16 Jan 2001 10:14:18 +0000 (10:14 -0000)]
Symbol cleanup/bugfix.  Add in needed global.

23 years agoClean all subdirs on 'make clean'
Eric Andersen [Tue, 16 Jan 2001 10:11:26 +0000 (10:11 -0000)]
Clean all subdirs on 'make clean'

23 years agoFacelist/cleanup for several syscalls. Added poll.
Eric Andersen [Tue, 16 Jan 2001 10:08:27 +0000 (10:08 -0000)]
Facelist/cleanup for several syscalls.  Added poll.

23 years agoAdded common handling of errno.
Eric Andersen [Tue, 16 Jan 2001 10:06:27 +0000 (10:06 -0000)]
Added common handling of errno.

23 years agolinux 2.0.x kernels have broken header files. It is silly to be so
Eric Andersen [Tue, 16 Jan 2001 10:03:48 +0000 (10:03 -0000)]
linux 2.0.x kernels have broken header files.  It is silly to be so
tightly coupled to kernel headers (since the 2.2 ones work with 2.0
as well), so I'm checking in include/net.

23 years agoFix termios handling. Now synced with behavior of GNU libc.
Eric Andersen [Mon, 15 Jan 2001 18:16:14 +0000 (18:16 -0000)]
Fix termios handling.  Now synced with behavior of GNU libc.
 -Erik

23 years agoRemove and ignore unwanted generated binaries
Eric Andersen [Mon, 15 Jan 2001 18:09:14 +0000 (18:09 -0000)]
Remove and ignore unwanted generated binaries

23 years agoFirst pass at making this work with the new libcrt0.o location.
Eric Andersen [Mon, 15 Jan 2001 13:53:59 +0000 (13:53 -0000)]
First pass at making this work with the new libcrt0.o location.

23 years agoIf they have an x86, but HAS_MMU is false, warn and sleep(10) since
Eric Andersen [Mon, 15 Jan 2001 13:43:55 +0000 (13:43 -0000)]
If they have an x86, but HAS_MMU is false, warn and sleep(10) since
99.999999999999999999% of all folks compiling on x86 have an MMU.
Otherwise, folks will see that malloc mysteriously doesn't work...
 -Erik

23 years agoWarn using $(WARNINGS)
Eric Andersen [Mon, 15 Jan 2001 13:41:20 +0000 (13:41 -0000)]
Warn using $(WARNINGS)

23 years agoinit var to 0 to avoid warning
Eric Andersen [Mon, 15 Jan 2001 13:39:14 +0000 (13:39 -0000)]
init var to 0 to avoid warning

23 years agoRemove generated files. Bring Makefile behavior into sync with other arches.
Eric Andersen [Mon, 15 Jan 2001 13:37:04 +0000 (13:37 -0000)]
Remove generated files.  Bring Makefile behavior into sync with other arches.

23 years agoUse the right name.
Eric Andersen [Mon, 15 Jan 2001 13:31:56 +0000 (13:31 -0000)]
Use the right name.

23 years agoUse the name crt0.o, and cp it to $(TOPDIR)/libcrt0.o
Eric Andersen [Mon, 15 Jan 2001 13:31:18 +0000 (13:31 -0000)]
Use the name crt0.o, and cp it to $(TOPDIR)/libcrt0.o

23 years agoUSe the name crt0.o, and cp it to $(TOPDIR)/libcrt0.o
Eric Andersen [Mon, 15 Jan 2001 13:28:58 +0000 (13:28 -0000)]
USe the name crt0.o, and cp it to $(TOPDIR)/libcrt0.o

23 years agoFix naming error. s/sigsetjmp/__sigsetjmp/g
Eric Andersen [Mon, 15 Jan 2001 13:25:30 +0000 (13:25 -0000)]
Fix naming error.   s/sigsetjmp/__sigsetjmp/g

23 years agoReduce dependancies -- don't use sysconf() internal to libc.
Eric Andersen [Mon, 15 Jan 2001 13:23:33 +0000 (13:23 -0000)]
Reduce dependancies -- don't use sysconf() internal to libc.

23 years agoMake the implementation match the header file.
Eric Andersen [Mon, 15 Jan 2001 13:19:54 +0000 (13:19 -0000)]
Make the implementation match the header file.

23 years agoI've been working on fixing up the rpc crap. now it is only
Eric Andersen [Mon, 15 Jan 2001 13:18:42 +0000 (13:18 -0000)]
I've been working on fixing up the rpc crap.  now it is only
_mostly_ broken, a big improvement.  Still doesn't compile...

23 years agoMakeheader files be more like GNU
Eric Andersen [Mon, 15 Jan 2001 13:16:59 +0000 (13:16 -0000)]
Makeheader files be more like GNU

23 years ago"I will always compile before I commit."
Eric Andersen [Fri, 12 Jan 2001 11:53:48 +0000 (11:53 -0000)]
"I will always compile before I commit."
"I will always compile before I commit."
"I will always compile before I commit."
 -Erik

23 years agoPatch from James Graves <jgraves@deltamobile.com> to better handle m68k.
Eric Andersen [Fri, 12 Jan 2001 10:53:48 +0000 (10:53 -0000)]
Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.
Also fixes 2 very important malloc bugs!  Anyone using malloc (esp mmu-less)
should update and recompile.
 -Erik

23 years agoThanks to James Graves <jgraves@deltamobile.com>, we now have
Eric Andersen [Fri, 12 Jan 2001 10:16:05 +0000 (10:16 -0000)]
Thanks to James Graves <jgraves@deltamobile.com>, we now have
a first pass at getting m68k working.  It may have some problems,
but should now be fairly close.

23 years agoClean test dir on 'make clean'
Eric Andersen [Fri, 12 Jan 2001 09:57:53 +0000 (09:57 -0000)]
Clean test dir on 'make clean'

23 years agoUpdate makefile to match the new malloc code
Eric Andersen [Fri, 12 Jan 2001 09:51:06 +0000 (09:51 -0000)]
Update makefile to match the new malloc code

23 years agoManuel Novoa III modified malloc.c and avlmacro.h to reduce code size by
Eric Andersen [Fri, 12 Jan 2001 09:42:21 +0000 (09:42 -0000)]
Manuel Novoa III modified malloc.c and avlmacro.h to reduce code size by
using functions instead on Inlining (size vas speed tradeoff).  I ran the
results through indent.  Looking pretty good IMHO.

23 years agoCannot portably pass a short via va_args, since it will be
Eric Andersen [Fri, 12 Jan 2001 09:37:32 +0000 (09:37 -0000)]
Cannot portably pass a short via va_args, since it will be
internally converted to an int on many platforms.  So make
it be an int explicitly and call that good enough.
 -Erik

23 years agoIgnore generated files.
Eric Andersen [Fri, 12 Jan 2001 09:25:15 +0000 (09:25 -0000)]
Ignore generated files.

23 years agoMakefile cleanups. For starters, OPTIMIZATION was missing...
Eric Andersen [Fri, 12 Jan 2001 09:21:10 +0000 (09:21 -0000)]
Makefile cleanups.  For starters, OPTIMIZATION was missing...

23 years agoWhen doing a 'make clean', clean all subdirs, not just the current arch.
Eric Andersen [Fri, 12 Jan 2001 09:16:13 +0000 (09:16 -0000)]
When doing a 'make clean', clean all subdirs, not just the current arch.

23 years agoA large update from Manuel Novoa III <mnovoa3@bellsouth.net>.
Eric Andersen [Thu, 11 Jan 2001 11:42:17 +0000 (11:42 -0000)]
A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.

23 years agoMake error msg even friendlier.
Eric Andersen [Fri, 5 Jan 2001 22:55:17 +0000 (22:55 -0000)]
Make error msg even friendlier.

23 years agoOops. left strftime.c in twice.
Eric Andersen [Tue, 2 Jan 2001 23:52:21 +0000 (23:52 -0000)]
Oops.  left strftime.c in twice.

23 years agoPatch from James Graves <jgraves@deltamobile.com> to get
Eric Andersen [Tue, 2 Jan 2001 23:50:51 +0000 (23:50 -0000)]
Patch from James Graves <jgraves@deltamobile.com> to get
m68k started.  Should be just sysdeps/linux/m68k left to
hack at this point...

23 years agoOops. Extra #endif...
Eric Andersen [Tue, 2 Jan 2001 23:32:29 +0000 (23:32 -0000)]
Oops.  Extra #endif...

23 years agoDuh. This was so wrong.
Eric Andersen [Tue, 2 Jan 2001 18:36:44 +0000 (18:36 -0000)]
Duh.  This was so wrong.

23 years agoCarefully tell folks when their Config is screwed up.
Eric Andersen [Mon, 1 Jan 2001 22:29:27 +0000 (22:29 -0000)]
Carefully tell folks when their Config is screwed up.

23 years agoA bunch of updates, part from Manuel Novoa III (such as more long long
Eric Andersen [Mon, 1 Jan 2001 22:16:11 +0000 (22:16 -0000)]
A bunch of updates, part from Manuel Novoa III (such as more long long
support), and other updates by me (better cross platform, cross-compiler,
etc, support.  Now compiles with 2.0.x kernels for armnommu.

23 years agoSeems I forgot these...
Eric Andersen [Sat, 30 Dec 2000 11:12:41 +0000 (11:12 -0000)]
Seems I forgot these...

23 years agoMove stuff out if pwd_gep that doesn't belong there (getpass, utmp stuff)
Eric Andersen [Sat, 23 Dec 2000 17:57:49 +0000 (17:57 -0000)]
Move stuff out if pwd_gep that doesn't belong there (getpass, utmp stuff)

23 years agoJust define __kernel_off_t ourselves...
Eric Andersen [Sat, 23 Dec 2000 17:56:55 +0000 (17:56 -0000)]
Just define __kernel_off_t ourselves...

23 years agoThis file violated policy and directly used kernel headers.
Eric Andersen [Thu, 21 Dec 2000 20:49:50 +0000 (20:49 -0000)]
This file violated policy and directly used kernel headers.
This fixes it by using our own copy of the stuct in question.