[uClibc]latest diff vs. my uClibc tree
Manuel Novoa III
mnovoa3 at bellsouth.net
Sun Jan 7 03:58:45 UTC 2001
Erik,
Below is the diff from my current tree. Some of the changes require
changes in the arm and m68k start files. See the _start.c file for i386
w.r.t. libc_init.
Summary of changes:
Fixed general Makefile problem of dependencies with COBJS.
Added unified syscalls for i386 (like dietlibc). Saves about 2.8k.
Added brk and sbrk for i386
Added the option of using malloc-930716 from libc-5.3.12. (requires sbrk)
Added a wrapper for gcc to ease use of uClibc.
"make CC=gcc-uClibc-i386" works to build busybox with uClibc.
Defined NDEBUG in CFLAGS if not debugging.
Added gnu getopt from libc-5.3.12. Using weak symbols, this is only
linked what long options are needed. The smaller original getopt
from uClibc is used otherwise.
Using weak symbols, atexit is only linked if needed.
Removed onexit as it varied in behavior from gnu libc.
Replaced broken (and large) qsort.c with a small shell sort. Saves over 1k.
Disable fprintf in system.c. Was it there for debugging?
Fixed checking for strerror.c and strsignal.c. Added testing in test/string.
Fixed bug in net/resolve.c (fd possibly not initialized).
Changes to stdio.c and stdio.h. (initialization, buffers, FILEs)
All *s*printf functions now share the fake FILE.
Requires changes for arm and m68k _start files.
Stdio now uses weak symbols to automate initialization.
Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lineo_010106.diff.gz
Type: application/x-gzip
Size: 10683 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20010106/a279ed42/attachment.bin
More information about the uClibc
mailing list