OSDN Git Service

uclinux-h8/uClibc.git
23 years agoFix strxfrm, which was broken (thanks to Shaya Potter <spotter@us.ibm.com>
Eric Andersen [Fri, 6 Jul 2001 17:43:05 +0000 (17:43 -0000)]
Fix strxfrm, which was broken (thanks to Shaya Potter <spotter@us.ibm.com>
for noticing, and cleanup a warning.
 -Erik

23 years agoNote missing shadow support
Eric Andersen [Fri, 6 Jul 2001 16:08:07 +0000 (16:08 -0000)]
Note missing shadow support

23 years agoDon't change options on based on path -- use command line options or
Eric Andersen [Thu, 5 Jul 2001 21:10:44 +0000 (21:10 -0000)]
Don't change options on based on path -- use command line options or
ENV variables only.  The current behavior violates the principle of
least surprise...
 -Erik

23 years agoforkpty.c uses fork(), and so must be disabled when HAS_MMU=false
Eric Andersen [Thu, 5 Jul 2001 19:26:45 +0000 (19:26 -0000)]
forkpty.c uses fork(), and so must be disabled when HAS_MMU=false
 -Erik

23 years agoNote that ldd needs a rewrite
Eric Andersen [Thu, 5 Jul 2001 17:55:32 +0000 (17:55 -0000)]
Note that ldd needs a rewrite

23 years agoAdded stpcpy and strcasestr along with some code to test them.
David McCullough [Wed, 4 Jul 2001 11:29:02 +0000 (11:29 -0000)]
Added stpcpy and strcasestr along with some code to test them.

23 years agoIf HAS_MMU is false, then use asm-$(TARGET_ARCH)nommu rather than
David McCullough [Wed, 4 Jul 2001 11:19:24 +0000 (11:19 -0000)]
If HAS_MMU is false,  then use asm-$(TARGET_ARCH)nommu rather than
asm-$(TARGET_ARCH) as the link for include/asm.

23 years agoMake shared library installation conditional
David Schleef [Wed, 4 Jul 2001 02:04:38 +0000 (02:04 -0000)]
Make shared library installation conditional

23 years agoInstall a link for /lib/ld-uclibc.so.0
David Schleef [Wed, 4 Jul 2001 02:03:12 +0000 (02:03 -0000)]
Install a link for /lib/ld-uclibc.so.0

23 years agoFix missing libresolv.so
Eric Andersen [Wed, 4 Jul 2001 01:49:39 +0000 (01:49 -0000)]
Fix missing libresolv.so

23 years agoThe prototype Config file for x86 was changed to Config.i386
David Schleef [Wed, 4 Jul 2001 00:55:43 +0000 (00:55 -0000)]
The prototype Config file for x86 was changed to Config.i386

23 years agoRenamed as extra/Configs/Config.i386
Eric Andersen [Wed, 4 Jul 2001 00:28:00 +0000 (00:28 -0000)]
Renamed as extra/Configs/Config.i386

23 years ago*** empty log message ***
David Schleef [Wed, 4 Jul 2001 00:18:41 +0000 (00:18 -0000)]
*** empty log message ***

23 years agoFinish up merging the arm port into the main tree.
Eric Andersen [Tue, 3 Jul 2001 22:15:31 +0000 (22:15 -0000)]
Finish up merging the arm port into the main tree.

23 years agoMerge the arm port into the main tree. The final version (the one that
Eric Andersen [Tue, 3 Jul 2001 18:28:09 +0000 (18:28 -0000)]
Merge the arm port into the main tree.  The final version (the one that
actually works) is the most excellent work of Shane Nay <shane@minirl.com>, who
took what I had been doing and fixed it.

23 years agoMerge arm support into the mainstream. This change is pretty
Eric Andersen [Tue, 3 Jul 2001 18:24:05 +0000 (18:24 -0000)]
Merge arm support into the mainstream.  This change is pretty
minor, just carefully memset 0 strings before using them, and
also referencs strings via the GOT for ARM as well.
 -Erik

23 years agoScrub a couple of ints
Eric Andersen [Tue, 3 Jul 2001 18:22:05 +0000 (18:22 -0000)]
Scrub a couple of ints

23 years agoOops.
Eric Andersen [Tue, 3 Jul 2001 07:13:37 +0000 (07:13 -0000)]
Oops.

23 years agoignore generated stuff
Eric Andersen [Tue, 3 Jul 2001 06:46:45 +0000 (06:46 -0000)]
ignore generated stuff

23 years agoScrub up the tests a bit, and force everybody to use the
Eric Andersen [Tue, 3 Jul 2001 06:45:58 +0000 (06:45 -0000)]
Scrub up the tests a bit, and force everybody to use the
build dir, so nothing need be installed...
 -Erik

23 years agoAllow the shared lib loader to fallback on the builddir if everything
Eric Andersen [Tue, 3 Jul 2001 06:22:20 +0000 (06:22 -0000)]
Allow the shared lib loader to fallback on the builddir if everything
else fails.  Let <arch>-uclibc-gcc --uclibc-use-build-dir set the
shared lib loader to the one in the builddir's path.
 -Erik

23 years agoForce our child libs to link vs libc
Eric Andersen [Tue, 3 Jul 2001 06:17:34 +0000 (06:17 -0000)]
Force our child libs to link vs libc

23 years agoremove bits/syscall.h when cleaning
David Schleef [Tue, 3 Jul 2001 03:58:06 +0000 (03:58 -0000)]
remove bits/syscall.h when cleaning

23 years agoAutogen include/bits/syscall.h for ARM
Eric Andersen [Tue, 3 Jul 2001 03:04:53 +0000 (03:04 -0000)]
Autogen include/bits/syscall.h for ARM
 -Erik

23 years agoJust take whatever the kernel headers gave us, spaces and all. This is
Eric Andersen [Tue, 3 Jul 2001 03:04:00 +0000 (03:04 -0000)]
Just take whatever the kernel headers gave us, spaces and all.  This is
to accomodate arm, where rmk has made the syscall numbers be very very
strangely setup,
 -Erik

23 years agoGet rid of warning messages and spurious diffs
David Schleef [Tue, 3 Jul 2001 02:21:22 +0000 (02:21 -0000)]
Get rid of warning messages and spurious diffs

23 years agoDebian package building scripts
David Schleef [Tue, 3 Jul 2001 02:03:16 +0000 (02:03 -0000)]
Debian package building scripts

23 years agoNeed to include sys/syscall.h because of other changes
David Schleef [Tue, 3 Jul 2001 01:39:13 +0000 (01:39 -0000)]
Need to include sys/syscall.h because of other changes

23 years agoIt is now autogenerated
David Schleef [Tue, 3 Jul 2001 01:29:31 +0000 (01:29 -0000)]
It is now autogenerated

23 years agoFix to autogen bits/syscall.h, like i386
David Schleef [Tue, 3 Jul 2001 01:27:49 +0000 (01:27 -0000)]
Fix to autogen bits/syscall.h, like i386

23 years agoFix a silly typo
Eric Andersen [Mon, 2 Jul 2001 14:38:17 +0000 (14:38 -0000)]
Fix a silly typo

23 years agoChanged dependencies of gcc-uClibc.h to ../../Config instead of clean
David Schleef [Sun, 1 Jul 2001 21:29:00 +0000 (21:29 -0000)]
Changed dependencies of gcc-uClibc.h to ../../Config instead of clean

23 years agoAdded additional cleaning
David Schleef [Sun, 1 Jul 2001 21:25:25 +0000 (21:25 -0000)]
Added additional cleaning

23 years agoThese zero-length files apparently weren't deleted from cvs.
Manuel Novoa III [Sun, 1 Jul 2001 18:36:08 +0000 (18:36 -0000)]
These zero-length files apparently weren't deleted from cvs.

23 years agoAdd syscalls.h for ARM
Eric Andersen [Sat, 30 Jun 2001 00:18:10 +0000 (00:18 -0000)]
Add syscalls.h for ARM

23 years agoAdd a dlopen test
Eric Andersen [Fri, 29 Jun 2001 22:48:24 +0000 (22:48 -0000)]
Add a dlopen test

23 years agoFix a missing include in des.c and add configurability of loop unrolling
Manuel Novoa III [Fri, 29 Jun 2001 20:32:47 +0000 (20:32 -0000)]
Fix a missing include in des.c and add configurability of loop unrolling
to md5.c.  Note: by default it is smallest/slowest.

23 years agoI missed an item when reentrantifying des.c, reuse a smaller
Eric Andersen [Thu, 28 Jun 2001 23:00:43 +0000 (23:00 -0000)]
I missed an item when reentrantifying des.c, reuse a smaller
field for md5.c
 -Erik

23 years agoOops. I forgot to check this in...
Eric Andersen [Thu, 28 Jun 2001 21:37:01 +0000 (21:37 -0000)]
Oops.  I forgot to check this in...
 -Erik

23 years agoReplace the crypt implementation with one based on crypt(3) from minix,
Eric Andersen [Thu, 28 Jun 2001 20:59:02 +0000 (20:59 -0000)]
Replace the crypt implementation with one based on crypt(3) from minix,
fixing a licensing problem with the previous version.  Manuel did the
initial port, and I fixed it up to be reentrant.  I hope I didn't break
anything...
 -Erik

23 years agoOptimized for size over speed to (substantially) reduce generated code size.
Manuel Novoa III [Thu, 28 Jun 2001 18:10:56 +0000 (18:10 -0000)]
Optimized for size over speed to (substantially) reduce generated code size.

23 years agoChanges for new auto-generated syscall.h
David McCullough [Thu, 28 Jun 2001 02:33:35 +0000 (02:33 -0000)]
Changes for new auto-generated syscall.h

23 years agoChanges to support autogenerated syscall.h
David McCullough [Thu, 28 Jun 2001 02:27:35 +0000 (02:27 -0000)]
Changes to support autogenerated syscall.h

23 years agosysdep.h was not providing all the needed bits to build working asm with
David McCullough [Thu, 28 Jun 2001 02:12:09 +0000 (02:12 -0000)]
sysdep.h was not providing all the needed bits to build working asm with
some compilers,  so define any macros we need that are not defined already.

Needed to include uClibc_config.h to get some defines.

New syscall header files for _mmap

vfork.c is not used so ditch it.

23 years agoAdded a script to create bits/syscall.h for each arch.
Manuel Novoa III [Thu, 28 Jun 2001 01:59:07 +0000 (01:59 -0000)]
Added a script to create bits/syscall.h for each arch.
NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers"
in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile
as I had no way of testing it for the other archs.  Various arch maintainers,
please check and update the corresponding Makefile... or report bugs ;-)...
appropriately.  You'll also want to "cvs del" syscall.h and add it to
a .cvsignore in $(ARCH)/bits.
Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and
moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.

23 years agothe minimum needed for now
David McCullough [Wed, 27 Jun 2001 22:56:26 +0000 (22:56 -0000)]
the minimum needed for now

23 years agoAdded this guy, nothing needed here really.
David McCullough [Wed, 27 Jun 2001 22:52:52 +0000 (22:52 -0000)]
Added this guy,  nothing needed here really.

23 years agoCleanup to not use kernel headers at all.
Eric Andersen [Wed, 27 Jun 2001 19:54:48 +0000 (19:54 -0000)]
Cleanup to not use kernel headers at all.
 -Erik

23 years agoCleanup and don't require LIBC to be defined for the syscall numbers.
Eric Andersen [Wed, 27 Jun 2001 19:22:27 +0000 (19:22 -0000)]
Cleanup and don't require LIBC to be defined for the syscall numbers.

23 years agoRemove nonstandard functions.
Manuel Novoa III [Wed, 27 Jun 2001 19:15:04 +0000 (19:15 -0000)]
Remove nonstandard functions.

23 years agoRemove obsolete files tell.c and getdents.c
Manuel Novoa III [Wed, 27 Jun 2001 19:12:16 +0000 (19:12 -0000)]
Remove obsolete files tell.c and getdents.c

23 years agoStub out an initial version. Manuel will be writing
Eric Andersen [Wed, 27 Jun 2001 19:11:23 +0000 (19:11 -0000)]
Stub out an initial version.  Manuel will be writing
some code to autogenerate this stuff...

23 years agoDon't even threaten to include asm/* stuff
Eric Andersen [Wed, 27 Jun 2001 19:02:29 +0000 (19:02 -0000)]
Don't even threaten to include asm/* stuff

23 years agoDon't include asm/unistd.h
Eric Andersen [Wed, 27 Jun 2001 19:01:47 +0000 (19:01 -0000)]
Don't include asm/unistd.h

23 years agoStep one in a process to ween ourselves off of using asm/unistd.h.
Eric Andersen [Wed, 27 Jun 2001 18:25:11 +0000 (18:25 -0000)]
Step one in a process to ween ourselves off of using asm/unistd.h.
This will break the build for a bit.
 -Erik

23 years agoFix syntax error in comment.
Manuel Novoa III [Wed, 27 Jun 2001 18:01:58 +0000 (18:01 -0000)]
Fix syntax error in comment.

23 years agoMake these PIC and _LIBC_REENTRANT compatible.
Manuel Novoa III [Wed, 27 Jun 2001 17:59:13 +0000 (17:59 -0000)]
Make these PIC and _LIBC_REENTRANT compatible.

23 years agoFor now, we need to explicitly make clean in libc/unistd (sysconf stuff)
Manuel Novoa III [Wed, 27 Jun 2001 17:58:05 +0000 (17:58 -0000)]
For now, we need to explicitly make clean in libc/unistd (sysconf stuff)
and libc/sysdeps/linux/common (unified syscall stuff).

23 years agoYes... I forgot to update bits/dirent.h for the other archs. :-(
Manuel Novoa III [Wed, 27 Jun 2001 15:07:26 +0000 (15:07 -0000)]
Yes... I forgot to update bits/dirent.h for the other archs.  :-(

23 years agoANSI/ISO specifies that no library function sets errno to 0.
Manuel Novoa III [Tue, 26 Jun 2001 14:08:19 +0000 (14:08 -0000)]
ANSI/ISO specifies that no library function sets errno to 0.

23 years agoLooks like we lost clearing errno
Eric Andersen [Tue, 26 Jun 2001 04:48:15 +0000 (04:48 -0000)]
Looks like we lost clearing errno

23 years agoChange to allow compiling against unconfigured kernels. Creates
David Schleef [Tue, 26 Jun 2001 02:44:33 +0000 (02:44 -0000)]
Change to allow compiling against unconfigured kernels.  Creates
symlink to include/asm-${arch} instead of include/asm.

23 years agoNote need to fix scandir.c's dynamic memory handling.
Manuel Novoa III [Mon, 25 Jun 2001 20:28:39 +0000 (20:28 -0000)]
Note need to fix scandir.c's dynamic memory handling.

23 years agoRemove simulated d_type support for getdents and the dirent struct, and use
Manuel Novoa III [Mon, 25 Jun 2001 20:26:29 +0000 (20:26 -0000)]
Remove simulated d_type support for getdents and the dirent struct, and use
the straight getdents syscall instead of the wrapper (which leaked memory).

23 years agoAdd in missing syscalls.h for powerpc
Eric Andersen [Mon, 25 Jun 2001 19:11:55 +0000 (19:11 -0000)]
Add in missing syscalls.h for powerpc

23 years agoFixed vfork so the child doesn't trash the parents return address.
David McCullough [Mon, 25 Jun 2001 04:11:28 +0000 (04:11 -0000)]
Fixed vfork so the child doesn't trash the parents return address.

23 years agoMake PIC a config option
Eric Andersen [Sat, 23 Jun 2001 14:15:11 +0000 (14:15 -0000)]
Make PIC a config option

23 years agoThis adds in support for PIC on x86. Unfortunately, this will break
Eric Andersen [Sat, 23 Jun 2001 13:40:33 +0000 (13:40 -0000)]
This adds in support for PIC on x86.  Unfortunately, this will break
all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h
file.  Sorry about there, there was no other way...
 -Erik

23 years agoPatch from Shane Nay, who noticed that these were not properly labeling
Eric Andersen [Thu, 21 Jun 2001 19:50:54 +0000 (19:50 -0000)]
Patch from Shane Nay, who noticed that these were not properly labeling
functions as such, thereby hosing the shared lib loader.

23 years agoOops... forgot to remove rint.c from the makefile.
Manuel Novoa III [Tue, 19 Jun 2001 22:57:26 +0000 (22:57 -0000)]
Oops... forgot to remove rint.c from the makefile.

23 years agoRemove Erik's broken implementation of rint(). Replace it by one "less broken".
Manuel Novoa III [Tue, 19 Jun 2001 22:53:41 +0000 (22:53 -0000)]
Remove Erik's broken implementation of rint().  Replace it by one "less broken".
Also correct rounding beharior of round() and add trunc().  Note that round()
and rint() currently don't check for infs and nans.  I decided to wait on
that until the big cleanup.

23 years agoAdd in "HAVE_SHARED" so shared libs build or not as needed
Eric Andersen [Tue, 19 Jun 2001 22:12:33 +0000 (22:12 -0000)]
Add in "HAVE_SHARED" so shared libs build or not as needed
 -Erik

23 years agoThis was violating policy and using a kernel header file...
Eric Andersen [Tue, 19 Jun 2001 18:04:54 +0000 (18:04 -0000)]
This was violating policy and using a kernel header file...
 -Erik

23 years agoThis commit finishes adding support for the old m68k-coff toolchains by
Eric Andersen [Mon, 18 Jun 2001 20:05:49 +0000 (20:05 -0000)]
This commit finishes adding support for the old m68k-coff toolchains by
working around a missing header file in the compiler shipped with the
uCsimm and uCdimm.  This should make the folk in Toronto happy, since
now they can use the latest CVS version of uClibc.
 -Erik

23 years agoI went nuts and wrote a generic rint implementation. I think it is
Eric Andersen [Mon, 18 Jun 2001 08:48:15 +0000 (08:48 -0000)]
I went nuts and wrote a generic rint implementation.  I think it is
correct per the man page and a little testing seems to show it works.
 -Erik

23 years agoUpdate TODO file.
Manuel Novoa III [Sun, 17 Jun 2001 03:16:16 +0000 (03:16 -0000)]
Update TODO file.

23 years agoAdd the in* and out* functions for i386. Note: the sys/io.h header for
Manuel Novoa III [Sun, 17 Jun 2001 02:53:47 +0000 (02:53 -0000)]
Add the in* and out* functions for i386.  Note: the sys/io.h header for
glibc-2.2.2 actually defines static inline versions for i386, but only
provides prototypes for externs for the other archs I looked at.  Since
uClibc shares this header amongst archs, I stashed the inline defs in
bits/io_i386.h and included it when __i386__ was defined.  Better solutions
are most welcome, but it doesn't clutter sys/io.h too badly and now lilo
and the pcmcia tools build against uClibc on i386 without modification.

23 years agoA few build updates
Eric Andersen [Fri, 15 Jun 2001 23:58:10 +0000 (23:58 -0000)]
A few build updates

23 years agoThese are needed for powerpc to compile
Eric Andersen [Fri, 15 Jun 2001 23:55:25 +0000 (23:55 -0000)]
These are needed for powerpc to compile

23 years agoNote missing struct _res in resolv.h
Eric Andersen [Fri, 15 Jun 2001 20:24:04 +0000 (20:24 -0000)]
Note missing struct _res in resolv.h

23 years agoMake some nice SEND_ADDRESS_STDERR and SEND_NUMBER_STDERR macros that
Eric Andersen [Fri, 15 Jun 2001 20:14:44 +0000 (20:14 -0000)]
Make some nice SEND_ADDRESS_STDERR and SEND_NUMBER_STDERR macros that
operate inline, to help when debugging ldso (i.e. before we can do
things like function calls).
 -Erik

23 years agoNow that our compiler wrapper is up to it, we can now use TARGET_CC
Eric Andersen [Fri, 15 Jun 2001 20:06:39 +0000 (20:06 -0000)]
Now that our compiler wrapper is up to it, we can now use TARGET_CC
to compile ldso, simplifying the process of passing in special CFLAGS
and such (and simplifying the build in general since we no longer
need to go directly to LD to link things).
 -Erik

23 years agoMake strrchr not call other string functions. Hopefully
Eric Andersen [Fri, 15 Jun 2001 20:02:37 +0000 (20:02 -0000)]
Make strrchr not call other string functions.  Hopefully
speeding it a bit.

23 years agoI am very proud of myself. I managed to write a working _start for
Eric Andersen [Fri, 15 Jun 2001 19:58:36 +0000 (19:58 -0000)]
I am very proud of myself.  I managed to write a working _start for
x86 entirely in C -- no asm required.  muahahahaha!
 -Erik

23 years agoAdd in (stub out really) __libc_current_sigrtmin, and
Eric Andersen [Fri, 15 Jun 2001 19:51:00 +0000 (19:51 -0000)]
Add in (stub out really) __libc_current_sigrtmin, and
__libc_current_sigrtmax so current versions of ash will
compile.
 -Erik

23 years agoBe consistant for all the client code, and use TARGET_CC with --uclibc-use-build-dir
Eric Andersen [Fri, 15 Jun 2001 19:47:58 +0000 (19:47 -0000)]
Be consistant for all the client code, and use TARGET_CC with --uclibc-use-build-dir

23 years agoMake all the uClibc tests use the --uclibc-use-build-dir flag
Eric Andersen [Fri, 15 Jun 2001 19:06:07 +0000 (19:06 -0000)]
Make all the uClibc tests use the --uclibc-use-build-dir flag

23 years agoSome silly grammar stuff
Eric Andersen [Thu, 14 Jun 2001 21:51:51 +0000 (21:51 -0000)]
Some silly grammar stuff

23 years agoYet more ldso cleanups. Be more discriminating about when using inlines
Eric Andersen [Thu, 14 Jun 2001 21:37:48 +0000 (21:37 -0000)]
Yet more ldso cleanups.  Be more discriminating about when using inlines
and when using real functions.  Make things be more portable by
providing a default C routine to locate the got.
 -Erik

23 years agoFix a really stupid bug with ttyname, thanks to a patch from
Eric Andersen [Wed, 13 Jun 2001 22:10:41 +0000 (22:10 -0000)]
Fix a really stupid bug with ttyname, thanks to a patch from
Stefan Soucek <ssoucek@coactive.com>

23 years agoDon't create a fake readelf app. We are creating a real one now.
Eric Andersen [Wed, 13 Jun 2001 17:37:44 +0000 (17:37 -0000)]
Don't create a fake readelf app.  We are creating a real one now.
 -Erik

23 years agoDefault to something like a strongArm, (i.e. has an MMU)
Eric Andersen [Wed, 13 Jun 2001 17:06:57 +0000 (17:06 -0000)]
Default to something like a strongArm, (i.e. has an MMU)

23 years agoA few new todo items
Eric Andersen [Wed, 13 Jun 2001 16:11:41 +0000 (16:11 -0000)]
A few new todo items

23 years agoFix printf so that %p outputs "(nil)" for (void *) 0, to match glibc behavior.
Manuel Novoa III [Wed, 13 Jun 2001 14:01:39 +0000 (14:01 -0000)]
Fix printf so that %p outputs "(nil)" for (void *) 0, to match glibc behavior.

23 years agoAdd warning message if Config doesn't exist
David Schleef [Wed, 13 Jun 2001 07:27:03 +0000 (07:27 -0000)]
Add warning message if Config doesn't exist

23 years agoFix printf handling of %p to prepend "0x" since output is in hex.
Manuel Novoa III [Wed, 13 Jun 2001 02:06:36 +0000 (02:06 -0000)]
Fix printf handling of %p to prepend "0x" since output is in hex.
Note: glibc output for (void *)0 is "(nil)" while uClibc output is "0".
Does anyone have a preference?

23 years agoUse sys/mman.h not asm/mman.h -- we don't want kernel headers...
Eric Andersen [Wed, 13 Jun 2001 00:42:04 +0000 (00:42 -0000)]
Use sys/mman.h not asm/mman.h -- we don't want kernel headers...
 -Erik

23 years agoSome sparc updates from Stanley <ngstanley@cwc.nus.edu.sg>
Eric Andersen [Tue, 12 Jun 2001 22:23:26 +0000 (22:23 -0000)]
Some sparc updates from Stanley <ngstanley@cwc.nus.edu.sg>

23 years agoMake sure these use the local sysdep.h header file
Eric Andersen [Tue, 12 Jun 2001 21:56:56 +0000 (21:56 -0000)]
Make sure these use the local sysdep.h header file

23 years agoCleanup the toploevel makefile handing of shared libs. Add weak_alias
Eric Andersen [Tue, 12 Jun 2001 21:45:10 +0000 (21:45 -0000)]
Cleanup the toploevel makefile handing of shared libs.  Add weak_alias
define, and set things up so nasty old coff toolchains can now compile
things and should actually work again.
 -Erik