OSDN Git Service
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.
Eric Andersen [Thu, 21 Dec 2000 16:21:27 +0000 (16:21 -0000)]
Sync version number with Makefile
Eric Andersen [Wed, 20 Dec 2000 22:52:58 +0000 (22:52 -0000)]
A number of updates from Manuel Novoa III. Things look good...
Eric Andersen [Wed, 13 Dec 2000 16:29:09 +0000 (16:29 -0000)]
Handle fork and vfork on a per architecture basis...
Eric Andersen [Tue, 12 Dec 2000 18:30:29 +0000 (18:30 -0000)]
Add yet another missing header file
Eric Andersen [Tue, 12 Dec 2000 17:31:23 +0000 (17:31 -0000)]
A few cleanups. Fix fflush so it remembers to init stdio.
Eric Andersen [Thu, 30 Nov 2000 20:10:35 +0000 (20:10 -0000)]
Several updates from W. Greathouse
Eric Andersen [Thu, 30 Nov 2000 19:57:33 +0000 (19:57 -0000)]
Some cleanups from W. Greathouse <wgreathouse@smva.com> (and a few of my own)
Eric Andersen [Wed, 22 Nov 2000 22:16:06 +0000 (22:16 -0000)]
Add in an additional test for memcmp suggested by Mathias Lewin
<mln@sys.sigma.se> (I just checked in a fix for memcmp to make it pass).
Eric Andersen [Wed, 22 Nov 2000 21:18:34 +0000 (21:18 -0000)]
Fix a bug in memcmp -- don't terminate the compare on a NULL, keep
comparing up to n bytes, till the are found to be either the same or
differernt.
Eric Andersen [Fri, 17 Nov 2000 20:17:13 +0000 (20:17 -0000)]
Oops -- this should not have debugging hardcoded...
Eric Andersen [Fri, 17 Nov 2000 19:15:32 +0000 (19:15 -0000)]
Add in flock (though nobody should use it...)
Eric Andersen [Fri, 17 Nov 2000 17:09:06 +0000 (17:09 -0000)]
Some cleanups from Manuel Novoa III <mnovoa3@bellsouth.net>,
and a bit of extra cleanup in the test makefiles.
Eric Andersen [Fri, 17 Nov 2000 00:13:00 +0000 (00:13 -0000)]
Turn off debug noise
Eric Andersen [Thu, 16 Nov 2000 23:17:06 +0000 (23:17 -0000)]
Bad Erik. Repeat after me: "I will always compile before I commit".
-Erik
Eric Andersen [Thu, 16 Nov 2000 23:13:57 +0000 (23:13 -0000)]
Doh!!! I am an idiot. I had broken malloc by disabling getpagesize(), and I
didn't even do it for a good reason. Fixed, so malloc should work again...
-Erik
Eric Andersen [Thu, 16 Nov 2000 20:35:25 +0000 (20:35 -0000)]
Fix it so files are not stripped when debugging (doh!). Fix up strip
rules. With this fix in place, I can now find what is wrong with malloc...
-Erik
Eric Andersen [Thu, 16 Nov 2000 18:51:25 +0000 (18:51 -0000)]
Remove environ from _USE_GNU wrapper.
Eric Andersen [Wed, 15 Nov 2000 21:12:09 +0000 (21:12 -0000)]
Add in tmpnam() support from David Whedon <dwhedon@gordian.com>,
rework include/stdio.h, and fix up the resultant damage.
Eric Andersen [Sat, 11 Nov 2000 01:20:50 +0000 (01:20 -0000)]
Fix up a few messes so it compiles cleanly again.
Eric Andersen [Sat, 4 Nov 2000 23:34:43 +0000 (23:34 -0000)]
Fix doc blunder.
Eric Andersen [Sat, 4 Nov 2000 23:23:09 +0000 (23:23 -0000)]
Fix doc blunder
Eric Andersen [Sat, 4 Nov 2000 23:22:32 +0000 (23:22 -0000)]
Fix doc blunder.