OSDN Git Service
Manuel Novoa III [Thu, 15 Feb 2001 16:37:57 +0000 (16:37 -0000)]
And apparently some things include sys/time.h instead of time.h in uClibc...
Manuel Novoa III [Thu, 15 Feb 2001 16:27:53 +0000 (16:27 -0000)]
I guess we always need timespec...
Manuel Novoa III [Thu, 15 Feb 2001 16:20:49 +0000 (16:20 -0000)]
Add bdflush.
Manuel Novoa III [Thu, 15 Feb 2001 16:20:14 +0000 (16:20 -0000)]
Add vdprintf function. Note: will be rewritten to check if file descriptor has an associated FILE to avoid bad interactions with buffered output, but needed for busybox right now and that implementation has the same bug.
Manuel Novoa III [Thu, 15 Feb 2001 16:18:12 +0000 (16:18 -0000)]
Fix stdin/stdout/stderr for now.
Manuel Novoa III [Thu, 15 Feb 2001 16:17:15 +0000 (16:17 -0000)]
Add tsearch functions from libc-5.3.12.
Manuel Novoa III [Thu, 15 Feb 2001 16:16:30 +0000 (16:16 -0000)]
Comment out for now. Not used and was causing an error.
Manuel Novoa III [Thu, 15 Feb 2001 16:15:45 +0000 (16:15 -0000)]
Add missing header file.
Manuel Novoa III [Thu, 15 Feb 2001 16:15:30 +0000 (16:15 -0000)]
Handle definition of struct timespec.
Manuel Novoa III [Thu, 15 Feb 2001 16:14:39 +0000 (16:14 -0000)]
Fix stdin/stdout/stderr (that I broke) and add vdprintf prototype.
Manuel Novoa III [Thu, 15 Feb 2001 16:12:47 +0000 (16:12 -0000)]
Fix broken prototype.
Manuel Novoa III [Thu, 15 Feb 2001 16:12:24 +0000 (16:12 -0000)]
Define __USE_GNU as glibc does.
Manuel Novoa III [Thu, 15 Feb 2001 16:11:21 +0000 (16:11 -0000)]
Hack DYNAMIC_LINKER setting for now.
Eric Andersen [Tue, 13 Feb 2001 00:33:30 +0000 (00:33 -0000)]
Use MAP_FAILED.
Eric Andersen [Tue, 13 Feb 2001 00:30:39 +0000 (00:30 -0000)]
Add MAP_FAILED per spec -- patch from Michael Shmulevich <michaels@jungo.com>
Manuel Novoa III [Mon, 12 Feb 2001 00:59:18 +0000 (00:59 -0000)]
Clean up lots of warnings.
Eric Andersen [Fri, 9 Feb 2001 23:06:54 +0000 (23:06 -0000)]
Use __environ instead of the GNU extension environ.
-Erik
Eric Andersen [Fri, 9 Feb 2001 23:04:57 +0000 (23:04 -0000)]
Remove now irrelevant comment.
Manuel Novoa III [Fri, 9 Feb 2001 15:43:40 +0000 (15:43 -0000)]
Add #define to handle new ptrace support.
Eric Andersen [Fri, 9 Feb 2001 08:55:14 +0000 (08:55 -0000)]
Add ffs func declaration
-Erik
Eric Andersen [Fri, 9 Feb 2001 08:54:29 +0000 (08:54 -0000)]
Add missing ffs, used by rpc crap.
-Erik
Eric Andersen [Fri, 9 Feb 2001 08:53:51 +0000 (08:53 -0000)]
Silence warnings -- add func declaration.
-Erik
Eric Andersen [Fri, 9 Feb 2001 08:12:14 +0000 (08:12 -0000)]
Try to automagically pick the correct dynamic linker.
-Erik
Eric Andersen [Fri, 9 Feb 2001 06:43:59 +0000 (06:43 -0000)]
Implement getdtablesize(), which is used by the rpc crap.
-Erik
Eric Andersen [Fri, 9 Feb 2001 06:40:46 +0000 (06:40 -0000)]
Revert stdio to initializing itself. Not quite a pretty but that ensures that
we don't blow up by using too much stack space, and simplifies the job of
supporting new architectures, since they don't have to mess with calling foo
init functions in crt0 and cleaning up the resulting damage.
-Erik
Eric Andersen [Fri, 9 Feb 2001 06:36:44 +0000 (06:36 -0000)]
Remove times and all the foolishness surrounding it. There is
a syscall that does this, so use that.
-Erik
Eric Andersen [Fri, 9 Feb 2001 05:42:54 +0000 (05:42 -0000)]
Doh! I forgot a #ifdef such that ptrace ended up in each and every
syscall .o file.
-Erik
Eric Andersen [Fri, 9 Feb 2001 04:51:35 +0000 (04:51 -0000)]
It turns out that vfork was completely broken. That was why it
wouldn't run on my little arm7tdmi/uClinux boards, since without
vfork working, nothing works on uClinux. It took me forever to
find this, since other problems were hiding this one. Big, huge,
sigh of relief.
-Erik
Eric Andersen [Fri, 9 Feb 2001 04:48:29 +0000 (04:48 -0000)]
Add in a silly test to check that argc, argv, and environ are
working as expected...
-Erik
Eric Andersen [Fri, 9 Feb 2001 04:46:32 +0000 (04:46 -0000)]
Include ptrace support so debugging will hopefully work.
-Erik
Manuel Novoa III [Thu, 8 Feb 2001 02:57:48 +0000 (02:57 -0000)]
Fix the ordering of the args to the compare function.
Eric Andersen [Wed, 7 Feb 2001 18:07:40 +0000 (18:07 -0000)]
_void_void_null_func never returned. I noticed this yesterday
in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed
the same thing in crt0pic.S.
-Erik
Eric Andersen [Mon, 5 Feb 2001 20:32:28 +0000 (20:32 -0000)]
Wierd. Whats _null_auth doing here?
-Erik
Eric Andersen [Mon, 5 Feb 2001 20:23:52 +0000 (20:23 -0000)]
Fix broken dependancies.
-Erik
Eric Andersen [Mon, 5 Feb 2001 20:09:10 +0000 (20:09 -0000)]
Try enabling rpc support by default now. With a bit of luck it might
even work...
-Erik
Eric Andersen [Mon, 5 Feb 2001 20:08:28 +0000 (20:08 -0000)]
Fix the worst of the damage so it actually compiles now (though, strictly
speaking the entire pile of rpc dung is infect damage). Anyway, hopefully
NFS using things may now be able to work...
-Erik
Eric Andersen [Mon, 5 Feb 2001 03:11:51 +0000 (03:11 -0000)]
Update the build system a bit.
-Erik
Eric Andersen [Mon, 5 Feb 2001 03:07:33 +0000 (03:07 -0000)]
Fix up the networking includes
-Erik
Eric Andersen [Mon, 5 Feb 2001 03:06:57 +0000 (03:06 -0000)]
Make the __GLIBC__ define be conditional. Stub out gnu-versions.h
-Erik
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.