OSDN Git Service
Eric Andersen [Mon, 5 Feb 2001 03:05:26 +0000 (03:05 -0000)]
Update networking includes.
Eric Andersen [Sat, 3 Feb 2001 00:26:28 +0000 (00:26 -0000)]
Bring into sync with a fairly current glibc header file.
-Erik
Eric Andersen [Sat, 3 Feb 2001 00:25:44 +0000 (00:25 -0000)]
Fix up the set of include files pulled into resolv.h
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
Manuel Novoa III [Tue, 30 Jan 2001 16:00:13 +0000 (16:00 -0000)]
Added some notes. Removed some dead code.
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.
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
Manuel Novoa III [Tue, 30 Jan 2001 00:21:56 +0000 (00:21 -0000)]
Hide some unnecessary output. Check cvs logging script.
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.
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.
David McCullough [Mon, 29 Jan 2001 15:03:09 +0000 (15:03 -0000)]
ptrace for m68k debugging.
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.
David McCullough [Mon, 29 Jan 2001 14:58:05 +0000 (14:58 -0000)]
Allow Config to override OPTIMIZATION flags.
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.
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.
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.
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.
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).
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.
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>.
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
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
Manuel Novoa III [Wed, 24 Jan 2001 20:20:12 +0000 (20:20 -0000)]
Fixed stderr initialization bug (mine).
Eric Andersen [Tue, 23 Jan 2001 18:02:39 +0000 (18:02 -0000)]
Oops. Should be LDFLAGS, not CFLAGS twice
Eric Andersen [Tue, 23 Jan 2001 17:45:29 +0000 (17:45 -0000)]
Always use system libc, to facilitate bootstrapping new architectures.
-Erik
Eric Andersen [Sat, 20 Jan 2001 00:53:19 +0000 (00:53 -0000)]
Add in NATIVE_ARCH
Eric Andersen [Sat, 20 Jan 2001 00:46:25 +0000 (00:46 -0000)]
Bring into line with proper sest suite behavior
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
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.
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.
Manuel Novoa III [Wed, 17 Jan 2001 17:40:47 +0000 (17:40 -0000)]
Fix static buffer used initialization for FIXED_BUFFERS > 2.
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.
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.
Manuel Novoa III [Wed, 17 Jan 2001 16:17:49 +0000 (16:17 -0000)]
Increase BUFSIZ to 512 to avoid bug in busybox tar.
Eric Andersen [Wed, 17 Jan 2001 11:00:30 +0000 (11:00 -0000)]
Minor comment update
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
Manuel Novoa III [Wed, 17 Jan 2001 04:56:47 +0000 (04:56 -0000)]
Added #include <wait.h> for getrusage.
Manuel Novoa III [Wed, 17 Jan 2001 04:55:37 +0000 (04:55 -0000)]
This is _NOT_ an auto-generated file.
Manuel Novoa III [Wed, 17 Jan 2001 04:54:25 +0000 (04:54 -0000)]
Add missing symbol for ipc and ignore commented syscall lines.
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?
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.
Manuel Novoa III [Wed, 17 Jan 2001 04:47:48 +0000 (04:47 -0000)]
UnDOSified file and added assert when debugging.
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.
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
Eric Andersen [Tue, 16 Jan 2001 19:53:56 +0000 (19:53 -0000)]
Update the comments a wee bit.
Eric Andersen [Tue, 16 Jan 2001 19:14:23 +0000 (19:14 -0000)]
A little update to wait* and a minor syscall cleanup.
Eric Andersen [Tue, 16 Jan 2001 19:00:46 +0000 (19:00 -0000)]
Fix arm so it actually works.
Eric Andersen [Tue, 16 Jan 2001 18:53:27 +0000 (18:53 -0000)]
Remove an extra "/" from the crt0 path
Eric Andersen [Tue, 16 Jan 2001 16:44:32 +0000 (16:44 -0000)]
Oops. Forgot to check these in...
Eric Andersen [Tue, 16 Jan 2001 13:14:35 +0000 (13:14 -0000)]
Ignore generated files
Eric Andersen [Tue, 16 Jan 2001 13:13:42 +0000 (13:13 -0000)]
Remove generated files
Eric Andersen [Tue, 16 Jan 2001 13:11:36 +0000 (13:11 -0000)]
Makefile fixes
Eric Andersen [Tue, 16 Jan 2001 11:33:39 +0000 (11:33 -0000)]
Remove generated files.
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.
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...
Eric Andersen [Tue, 16 Jan 2001 10:20:14 +0000 (10:20 -0000)]
Remove the nonexistant __sigaction
Eric Andersen [Tue, 16 Jan 2001 10:19:28 +0000 (10:19 -0000)]
Add wrapper for old termio interface
Eric Andersen [Tue, 16 Jan 2001 10:15:51 +0000 (10:15 -0000)]
Add poll, so this is now needed
Eric Andersen [Tue, 16 Jan 2001 10:14:18 +0000 (10:14 -0000)]
Symbol cleanup/bugfix. Add in needed global.
Eric Andersen [Tue, 16 Jan 2001 10:11:26 +0000 (10:11 -0000)]
Clean all subdirs on 'make clean'
Eric Andersen [Tue, 16 Jan 2001 10:08:27 +0000 (10:08 -0000)]
Facelist/cleanup for several syscalls. Added poll.
Eric Andersen [Tue, 16 Jan 2001 10:06:27 +0000 (10:06 -0000)]
Added common handling of errno.
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.
Eric Andersen [Mon, 15 Jan 2001 18:16:14 +0000 (18:16 -0000)]
Fix termios handling. Now synced with behavior of GNU libc.
-Erik
Eric Andersen [Mon, 15 Jan 2001 18:09:14 +0000 (18:09 -0000)]
Remove and ignore unwanted generated binaries
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.
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
Eric Andersen [Mon, 15 Jan 2001 13:41:20 +0000 (13:41 -0000)]
Warn using $(WARNINGS)
Eric Andersen [Mon, 15 Jan 2001 13:39:14 +0000 (13:39 -0000)]
init var to 0 to avoid warning
Eric Andersen [Mon, 15 Jan 2001 13:37:04 +0000 (13:37 -0000)]
Remove generated files. Bring Makefile behavior into sync with other arches.
Eric Andersen [Mon, 15 Jan 2001 13:31:56 +0000 (13:31 -0000)]
Use the right name.
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
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
Eric Andersen [Mon, 15 Jan 2001 13:25:30 +0000 (13:25 -0000)]
Fix naming error. s/sigsetjmp/__sigsetjmp/g
Eric Andersen [Mon, 15 Jan 2001 13:23:33 +0000 (13:23 -0000)]
Reduce dependancies -- don't use sysconf() internal to libc.
Eric Andersen [Mon, 15 Jan 2001 13:19:54 +0000 (13:19 -0000)]
Make the implementation match the header file.
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...
Eric Andersen [Mon, 15 Jan 2001 13:16:59 +0000 (13:16 -0000)]
Makeheader files be more like GNU
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
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
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.
Eric Andersen [Fri, 12 Jan 2001 09:57:53 +0000 (09:57 -0000)]
Clean test dir on 'make clean'
Eric Andersen [Fri, 12 Jan 2001 09:51:06 +0000 (09:51 -0000)]
Update makefile to match the new malloc code
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.
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
Eric Andersen [Fri, 12 Jan 2001 09:25:15 +0000 (09:25 -0000)]
Ignore generated files.
Eric Andersen [Fri, 12 Jan 2001 09:21:10 +0000 (09:21 -0000)]
Makefile cleanups. For starters, OPTIMIZATION was missing...
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.
Eric Andersen [Thu, 11 Jan 2001 11:42:17 +0000 (11:42 -0000)]
A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.
Eric Andersen [Fri, 5 Jan 2001 22:55:17 +0000 (22:55 -0000)]
Make error msg even friendlier.
Eric Andersen [Tue, 2 Jan 2001 23:52:21 +0000 (23:52 -0000)]
Oops. left strftime.c in twice.
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...
Eric Andersen [Tue, 2 Jan 2001 23:32:29 +0000 (23:32 -0000)]
Oops. Extra #endif...
Eric Andersen [Tue, 2 Jan 2001 18:36:44 +0000 (18:36 -0000)]
Duh. This was so wrong.
Eric Andersen [Mon, 1 Jan 2001 22:29:27 +0000 (22:29 -0000)]
Carefully tell folks when their Config is screwed up.
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.
Eric Andersen [Sat, 30 Dec 2000 11:12:41 +0000 (11:12 -0000)]
Seems I forgot these...
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)
Eric Andersen [Sat, 23 Dec 2000 17:56:55 +0000 (17:56 -0000)]
Just define __kernel_off_t ourselves...
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.