OSDN Git Service

uclinux-h8/uclibc-ng.git
23 years agoCleanup the math.h header file. It was broken when enabling doubles
Eric Andersen [Fri, 25 May 2001 07:11:50 +0000 (07:11 -0000)]
Cleanup the math.h header file.  It was broken when enabling doubles
but disabling long doubles.
 -Erik

23 years agoUpdate for the SH port from Jean-Yves Avenard <jean-yves_avenard@hp.com>
Eric Andersen [Fri, 25 May 2001 01:30:16 +0000 (01:30 -0000)]
Update for the SH port from Jean-Yves Avenard <jean-yves_avenard@hp.com>

23 years agoOne last structural change. Install header files to INSTALLDIR/usr/include
Eric Andersen [Fri, 25 May 2001 01:20:51 +0000 (01:20 -0000)]
One last structural change.  Install header files to INSTALLDIR/usr/include
so we now parallel the behavior of the standard tools.

Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries.
 -Erik

23 years agoRemove dead code.
Manuel Novoa III [Wed, 23 May 2001 16:52:54 +0000 (16:52 -0000)]
Remove dead code.

23 years agoAdded file for non-Cephes double routines; currently only fmod and modf.
Manuel Novoa III [Tue, 22 May 2001 15:03:49 +0000 (15:03 -0000)]
Added file for non-Cephes double routines; currently only fmod and modf.

23 years agoAdd poll.h header.
Manuel Novoa III [Tue, 22 May 2001 15:02:51 +0000 (15:02 -0000)]
Add poll.h header.

23 years agoCopied sgidefs.h from Debian libc6 2.2.2-4 for MIPS. Should go into
David Schleef [Tue, 22 May 2001 14:40:44 +0000 (14:40 -0000)]
Copied sgidefs.h from Debian libc6 2.2.2-4 for MIPS.  Should go into
the main include/ directory, but we'll hide it here for now.

23 years agoHeader cleanups to fix compilation. Mostly a hack, pending figuring
David Schleef [Tue, 22 May 2001 14:36:19 +0000 (14:36 -0000)]
Header cleanups to fix compilation.  Mostly a hack, pending figuring
out the best way to do some things.

23 years agoCopied bits/*.h from Debian MIPS libc6-dev 2.2.2-4 package.
David Schleef [Tue, 22 May 2001 14:32:43 +0000 (14:32 -0000)]
Copied bits/*.h from Debian MIPS libc6-dev 2.2.2-4 package.

23 years agoFirst cut of MIPS port
David Schleef [Tue, 22 May 2001 14:29:02 +0000 (14:29 -0000)]
First cut of MIPS port

23 years agorewrite to accomodate devfs
Eric Andersen [Mon, 21 May 2001 23:00:16 +0000 (23:00 -0000)]
rewrite to accomodate devfs

23 years agoStub out libresolv for now. Some apps try to link with it (though
Eric Andersen [Mon, 21 May 2001 21:26:59 +0000 (21:26 -0000)]
Stub out libresolv for now.  Some apps try to link with it (though
almost always erroneously as a result of configure scripts that
were poorly done).  This will let such apps compile...
 -Erik

23 years agoPatch from Andreas Neuhaus <andy@fasta.fh-dortmund.de>
Eric Andersen [Mon, 21 May 2001 20:32:51 +0000 (20:32 -0000)]
Patch from Andreas Neuhaus <andy@fasta.fh-dortmund.de>
gcc was looking for crt0 in the wrong dir.  Oops!

23 years agoWrap getline() inside #ifdef __USE_GNU
Eric Andersen [Mon, 21 May 2001 20:09:59 +0000 (20:09 -0000)]
Wrap getline() inside #ifdef __USE_GNU

23 years agoProper prototype for mtherr, although this should probably be made an
Manuel Novoa III [Mon, 21 May 2001 16:21:46 +0000 (16:21 -0000)]
Proper prototype for mtherr, although this should probably be made an
internal/hidden function (and merror and internal/hidden variable).

23 years agoAdd comment about scanf pushback behavior and glibc difference.
Manuel Novoa III [Mon, 21 May 2001 16:19:42 +0000 (16:19 -0000)]
Add comment about scanf pushback behavior and glibc difference.

23 years agoI wasn't building the libdl shared lib anymore. Make each lib install a
Eric Andersen [Fri, 18 May 2001 20:31:18 +0000 (20:31 -0000)]
I wasn't building the libdl shared lib anymore.  Make each lib install a
libfoo.so symlink as well as a libfoo.so.0 link, since gcc is currently
only looking for files ending in .so.  wierd.
 -Erik

23 years agoFix up some problems noted by August Hoerandl <ahoerandl@gmx.at>
Eric Andersen [Thu, 17 May 2001 20:12:16 +0000 (20:12 -0000)]
Fix up some problems noted by August Hoerandl <ahoerandl@gmx.at>
when cross compiling with shared lib support, there were spots
where the native 'ld' was mistakenly being called.

23 years agoPatch from David McCullough <davidm@lineo.com> -- do not
Eric Andersen [Thu, 17 May 2001 05:30:43 +0000 (05:30 -0000)]
Patch from David McCullough <davidm@lineo.com> -- do not
try to build ldso when we don't support shared libraries...

23 years agoAdd in tempnam()
Eric Andersen [Thu, 17 May 2001 05:25:30 +0000 (05:25 -0000)]
Add in tempnam()

23 years agoMove the default ptrace.c to common, but let arches override it (such
Eric Andersen [Wed, 16 May 2001 21:48:24 +0000 (21:48 -0000)]
Move the default ptrace.c to common, but let arches override it (such
as m68k which has some asm in its version).
 -Erik

23 years agoSigpause was broken. Now it is fixed.
Eric Andersen [Wed, 16 May 2001 21:39:34 +0000 (21:39 -0000)]
Sigpause was broken.  Now it is fixed.
 -Erik

23 years agoOops again. We do want to print this info, but only when
Eric Andersen [Wed, 16 May 2001 21:13:49 +0000 (21:13 -0000)]
Oops again.  We do want to print this info, but only when
_dl_trace_loaded_objects is true (i.e. when doing an 'ldd')
 -Erik

23 years agoOops. I left in some debugging noise. Also some minor formatting updates.
Eric Andersen [Wed, 16 May 2001 21:01:00 +0000 (21:01 -0000)]
Oops.  I left in some debugging noise.  Also some minor formatting updates.

23 years agoFix up a few little problems
Eric Andersen [Wed, 16 May 2001 20:14:45 +0000 (20:14 -0000)]
Fix up a few little problems

23 years agoShould not call make on ldso/libdl
Eric Andersen [Sat, 12 May 2001 07:10:15 +0000 (07:10 -0000)]
Should not call make on ldso/libdl

23 years agoThese seem to be missing also
Eric Andersen [Sat, 12 May 2001 06:59:25 +0000 (06:59 -0000)]
These seem to be missing also

23 years agoAdd in a libc.so link as well
Eric Andersen [Sat, 12 May 2001 06:57:35 +0000 (06:57 -0000)]
Add in a libc.so link as well

23 years agoThis file was missing on arm
Eric Andersen [Sat, 12 May 2001 06:47:05 +0000 (06:47 -0000)]
This file was missing on arm

23 years agoI'd broken powerpc crt0.o installation
Eric Andersen [Sat, 12 May 2001 06:41:45 +0000 (06:41 -0000)]
I'd broken powerpc crt0.o installation

23 years agoAdd missing header file for arm
Eric Andersen [Sat, 12 May 2001 06:30:55 +0000 (06:30 -0000)]
Add missing header file for arm

23 years agoOk, this should finish off my massive ro-organization. The source
Eric Andersen [Sat, 12 May 2001 06:19:18 +0000 (06:19 -0000)]
Ok, this should finish off my massive ro-organization.  The source
tree is less messy now (which helps), all libraries are placed into
uClibc/lib when compiling, all libraries now use a consistant mechanism
for being built, all libraries use a consistant naming scheme where the
lib name includes the uClibc version number, which makes ldconfig
happy and willing to work with us.
 -Erik

23 years agoRework where libraries get installed to. Now thew will be compiled and
Eric Andersen [Fri, 11 May 2001 21:26:43 +0000 (21:26 -0000)]
Rework where libraries get installed to.  Now thew will be compiled and
dropped into a uClibc/lib dir when compiling, which will make life a
bit easier when installing and cleaning up.  Preface uClibc with 'lib'
so ldconfig will recognize it as a library.  Make all libraries have the
uClibc version number attached, making upgrades possible by using the
traditional symlink to the .so name plan.
 -Erik

23 years agoChange 'crypt' to 'libcrypt'
Eric Andersen [Fri, 11 May 2001 20:20:10 +0000 (20:20 -0000)]
Change 'crypt' to 'libcrypt'

23 years agoFix a couple silly bugs in this test
Eric Andersen [Fri, 11 May 2001 20:01:37 +0000 (20:01 -0000)]
Fix a couple silly bugs in this test

23 years agoBring powerpc back into line so it compiles again.
Eric Andersen [Fri, 11 May 2001 19:51:31 +0000 (19:51 -0000)]
Bring powerpc back into line so it compiles again.

23 years agoFix the 'make clean' target
Eric Andersen [Fri, 11 May 2001 18:14:46 +0000 (18:14 -0000)]
Fix the 'make clean' target

23 years agoFix up the 'make clean' target
Eric Andersen [Fri, 11 May 2001 18:12:08 +0000 (18:12 -0000)]
Fix up the 'make clean' target

23 years agoA patch from Matthias Kilian <kili@outback.escape.de> to fix -DDEBUG_MALLOC
Eric Andersen [Fri, 11 May 2001 16:25:55 +0000 (16:25 -0000)]
A patch from Matthias Kilian <kili@outback.escape.de> to fix  -DDEBUG_MALLOC
so that it works for realloc too.
 -Erik

23 years agoFix up the 'make clean' target
Eric Andersen [Fri, 11 May 2001 16:21:36 +0000 (16:21 -0000)]
Fix up the 'make clean' target

23 years agoFix 'make clean' target
Eric Andersen [Fri, 11 May 2001 16:20:40 +0000 (16:20 -0000)]
Fix 'make clean' target

23 years agoFix 'make clean' so it clean the rpc dir
Eric Andersen [Fri, 11 May 2001 16:19:37 +0000 (16:19 -0000)]
Fix 'make clean' so it clean the rpc dir

23 years agoFix broken resources.h
Eric Andersen [Thu, 10 May 2001 22:37:13 +0000 (22:37 -0000)]
Fix broken resources.h

23 years agoOops. Forgot the makefile updates
Eric Andersen [Thu, 10 May 2001 22:36:17 +0000 (22:36 -0000)]
Oops.  Forgot the makefile updates

23 years agoThese are needed for ash-0.3.8
Eric Andersen [Thu, 10 May 2001 17:54:23 +0000 (17:54 -0000)]
These are needed for ash-0.3.8

23 years agoSeems a few apps need this one...
Eric Andersen [Thu, 10 May 2001 17:08:51 +0000 (17:08 -0000)]
Seems a few apps need this one...

23 years agoCheck if ld.so is included in the NEEDED list. If so, do not _again_
Eric Andersen [Thu, 10 May 2001 05:44:29 +0000 (05:44 -0000)]
Check if ld.so is included in the NEEDED list.  If so, do not _again_
try to fix up its symbols since they are already fixed up, thank-you
very much.

This checkin fixes the dlopen problems Manuel noticed.
 -Erik

23 years agoFix up naming of ld.so so every uses the same define. The top level
Eric Andersen [Thu, 10 May 2001 05:41:56 +0000 (05:41 -0000)]
Fix up naming of ld.so so every uses the same define.  The top level
was using one name and the ld.so-1 dir was using another (they happened
to be the same).  Fix that.
 -Erik

23 years agoIgnore generated file
Eric Andersen [Thu, 10 May 2001 04:45:56 +0000 (04:45 -0000)]
Ignore generated file

23 years agominor formatting cleanups
Eric Andersen [Thu, 10 May 2001 04:24:33 +0000 (04:24 -0000)]
minor formatting cleanups

23 years agoAdd in _dl_strrchr
Eric Andersen [Thu, 10 May 2001 04:23:19 +0000 (04:23 -0000)]
Add in _dl_strrchr

23 years agouClibc now has a math library. muahahahaha!
Eric Andersen [Thu, 10 May 2001 00:40:28 +0000 (00:40 -0000)]
uClibc now has a math library.  muahahahaha!
 -Erik

23 years agoDon't hard code path to TARGET_CC
Eric Andersen [Thu, 10 May 2001 00:36:24 +0000 (00:36 -0000)]
Don't hard code path to TARGET_CC

23 years agoignore generated stuff
Eric Andersen [Wed, 9 May 2001 18:00:04 +0000 (18:00 -0000)]
ignore generated stuff

23 years agoAdd in an older libc5 glob implementation, which is a bit thinner.
Eric Andersen [Wed, 9 May 2001 17:08:22 +0000 (17:08 -0000)]
Add in an older libc5 glob implementation, which is a bit thinner.
 -Erik

23 years agoBy default, leave out the RPC junk (it adds over 30k). Add in a compile
Eric Andersen [Wed, 9 May 2001 16:40:35 +0000 (16:40 -0000)]
By default, leave out the RPC junk (it adds over 30k).  Add in a compile
time option to include it if NFS support is wanted (does anyone every
use this for anything else these days?)
 -Erik

23 years agocompile up libutil
Eric Andersen [Wed, 9 May 2001 05:41:52 +0000 (05:41 -0000)]
compile up libutil

23 years agoYipe. This was still pulling in kernel headers.
Eric Andersen [Wed, 9 May 2001 01:16:48 +0000 (01:16 -0000)]
Yipe.  This was still pulling in kernel headers.
 -Erik

23 years agoAdd in libutil, based on Cory Visi's variant of Michael Shmulevich's libutil
Eric Andersen [Tue, 8 May 2001 19:58:20 +0000 (19:58 -0000)]
Add in libutil, based on Cory Visi's variant of Michael Shmulevich's libutil
port.  I have reworked the code quite a bit so that the stuff that is supposed
to be in libc is in libc, and I added a bunch of missing stuff so the libutil
interface matches that of glibc's libutil.  The only caveat is that
libutil/login.c is currently a stub.
 -Erik

23 years agoTurns out alphasort was totally broken. This fixed one works.
Eric Andersen [Tue, 8 May 2001 18:09:01 +0000 (18:09 -0000)]
Turns out alphasort was totally broken.  This fixed one works.
 -Erik

23 years agoA patch from Jon Nelson <jnelson@securepipe.com> to make scandir
Eric Andersen [Tue, 8 May 2001 18:06:08 +0000 (18:06 -0000)]
A patch from Jon Nelson <jnelson@securepipe.com> to make scandir
sort things as it is supposed to do.

23 years agoAdd in a qsort, alphasort, scandir test from Jon Nelson, jnelson@securepipe.com
Eric Andersen [Tue, 8 May 2001 18:04:43 +0000 (18:04 -0000)]
Add in a qsort, alphasort, scandir test from Jon Nelson, jnelson@securepipe.com

23 years agoMake sure types are pulled in
Eric Andersen [Tue, 8 May 2001 17:09:45 +0000 (17:09 -0000)]
Make sure types are pulled in

23 years agoSome very minor cleanups
Eric Andersen [Tue, 8 May 2001 17:08:03 +0000 (17:08 -0000)]
Some very minor cleanups

23 years agoCode did not match the prototypes, from what I can tell it should be using
David McCullough [Tue, 8 May 2001 13:59:30 +0000 (13:59 -0000)]
Code did not match the prototypes,  from what I can tell it should be using
size_t as the header files have it already.

23 years agoQuick fix to setjmp/longjmp/sigsetjmp etc to make them work.
David McCullough [Tue, 8 May 2001 13:56:56 +0000 (13:56 -0000)]
Quick fix to setjmp/longjmp/sigsetjmp etc to make them work.
This should really be fixed to fall into line with the other archs.

23 years agoFix comment for #endif to remove warnings.
Manuel Novoa III [Tue, 8 May 2001 12:56:17 +0000 (12:56 -0000)]
Fix comment for #endif to remove warnings.

23 years agoLooks like I forgot to commit this.
Eric Andersen [Tue, 8 May 2001 00:08:00 +0000 (00:08 -0000)]
Looks like I forgot to commit this.

23 years agoUse the symbolic name, don't hard code.
Eric Andersen [Mon, 7 May 2001 22:02:05 +0000 (22:02 -0000)]
Use the symbolic name, don't hard code.

23 years agoPut in but leave commented the DL_DEBUG define
Eric Andersen [Mon, 7 May 2001 21:58:54 +0000 (21:58 -0000)]
Put in but leave commented the DL_DEBUG define

23 years agoFix fwrite return value bug reported by Matthias Kilian <kili@outback.escape.de>.
Manuel Novoa III [Mon, 7 May 2001 20:17:35 +0000 (20:17 -0000)]
Fix fwrite return value bug reported by Matthias Kilian <kili@outback.escape.de>.

23 years agoChange FILENAME_MAX to be only 255. Max filename on ext2 is 255,
Eric Andersen [Mon, 7 May 2001 18:29:33 +0000 (18:29 -0000)]
Change FILENAME_MAX to be only 255.  Max filename on ext2 is 255,
so there is no reason to allocate 4k.  Change working of execvep.c
per patch from Matthias Kilian <kili@outback.escape.de> so that there
is not a fixed 127 byte buffer.  Too easy to overflow...
 -Erik

23 years agoA couple of printf fixes from Johan Adolfsson (johan.adolfsson@axis.com).
Manuel Novoa III [Mon, 7 May 2001 16:19:17 +0000 (16:19 -0000)]
A couple of printf fixes from Johan Adolfsson (johan.adolfsson@axis.com).

23 years agoAdd in inet_ntop() and inet_pton() -- ported from glibc 2.2.3
Eric Andersen [Fri, 4 May 2001 23:39:15 +0000 (23:39 -0000)]
Add in inet_ntop() and inet_pton() -- ported from glibc 2.2.3
by Cory Visi <merlin@phear.lwz.org>

23 years agoFixup ppc to powerpc
Eric Andersen [Fri, 4 May 2001 23:09:58 +0000 (23:09 -0000)]
Fixup ppc to powerpc

23 years agoAnother update to make sure things work properly on x86 now.
Eric Andersen [Fri, 4 May 2001 23:00:34 +0000 (23:00 -0000)]
Another update to make sure things work properly on x86 now.

23 years agoThis patch allows powerpc to compile again. It also checks if we
Eric Andersen [Fri, 4 May 2001 22:29:43 +0000 (22:29 -0000)]
This patch allows powerpc to compile again.  It also checks if we
are compiling for an arch for which uClibc has an ld.so or not,
and otherwise sets things up to use the system ld.so.
 -Erik

23 years agoInitial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,
Eric Andersen [Fri, 4 May 2001 17:03:47 +0000 (17:03 -0000)]
Initial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,
who sent this to me a month ago and I forgot to check it in.  Oops.
Better late then never.
 -Erik

23 years agoThis is kindof neat. With this update, you can now simply set your
Eric Andersen [Fri, 4 May 2001 01:30:26 +0000 (01:30 -0000)]
This is kindof neat.  With this update, you can now simply set your
PATH and things will now simply compile vs uClibc.  Or you can add
INSTALL_DIR/usr/bin to your path and use it as a cross compiler.
Either way, it works now.
 -Erik

23 years agoClean up some issues for building on m68k.
David McCullough [Fri, 4 May 2001 00:46:29 +0000 (00:46 -0000)]
Clean up some issues for building on m68k.

23 years agoDont segfault when folks run ld-uclibc as an executable.
Eric Andersen [Thu, 3 May 2001 15:56:13 +0000 (15:56 -0000)]
Dont segfault when folks run ld-uclibc as an executable.

23 years agoDescribe what this routine is supposed to do so we can port it
Eric Andersen [Thu, 3 May 2001 06:35:12 +0000 (06:35 -0000)]
Describe what this routine is supposed to do so we can port it
to other achitectures.

23 years agoSome more minor updates. Add in some debug stuff, and
Eric Andersen [Thu, 3 May 2001 06:34:13 +0000 (06:34 -0000)]
Some more minor updates.  Add in some debug stuff, and
a way to print out addresses _early_ on in the process.

23 years agoAvoid needing to distinguis between the install dir and the build
Eric Andersen [Thu, 3 May 2001 06:20:12 +0000 (06:20 -0000)]
Avoid needing to distinguis between the install dir and the build
dir.  Use both automagically when compiling.
 -Erik

23 years agoSome more updates and explanation
Eric Andersen [Wed, 2 May 2001 22:37:41 +0000 (22:37 -0000)]
Some more updates and explanation

23 years agoAnother cleanup. Never pass addresses as an 'int'
Eric Andersen [Tue, 1 May 2001 19:06:35 +0000 (19:06 -0000)]
Another cleanup.  Never pass addresses as an 'int'
 -Erik

23 years agoI forgot to check this in.
Eric Andersen [Tue, 1 May 2001 18:42:50 +0000 (18:42 -0000)]
I forgot to check this in.
 -Erik

23 years agoYet another major rework. This time around, rework it to no longer
Eric Andersen [Tue, 1 May 2001 14:20:45 +0000 (14:20 -0000)]
Yet another major rework.  This time around, rework it to no longer
use linux kernel header files.
 -Erik

23 years agoSanitize the calling of _dl_linux_resolver so it can be read by
Eric Andersen [Mon, 30 Apr 2001 21:28:56 +0000 (21:28 -0000)]
Sanitize the calling of _dl_linux_resolver so it can be read by
mere mortals, and so it says what it means.  Ick this stuff was
nasty.
 -Erik

23 years agoFix up a comment
Eric Andersen [Sat, 28 Apr 2001 04:20:49 +0000 (04:20 -0000)]
Fix up a comment

23 years agoGet rid of the a.out header file
Eric Andersen [Fri, 27 Apr 2001 23:13:44 +0000 (23:13 -0000)]
Get rid of the a.out header file

23 years agoAdd in missing ARM support. I really need to port this whole thing
Eric Andersen [Fri, 27 Apr 2001 20:21:49 +0000 (20:21 -0000)]
Add in missing ARM support.  I really need to port this whole thing
to use a modern version of elf.h from glibc.
 -Erik

23 years agoFor m68k I forgot a needed #undef
Eric Andersen [Fri, 27 Apr 2001 20:21:06 +0000 (20:21 -0000)]
For m68k I forgot a needed #undef

23 years agoEliminate the useless _dl_interpreter_exit function
Eric Andersen [Fri, 27 Apr 2001 19:27:16 +0000 (19:27 -0000)]
Eliminate the useless _dl_interpreter_exit function

23 years agoI messed up the comment
Eric Andersen [Fri, 27 Apr 2001 19:25:42 +0000 (19:25 -0000)]
I messed up the comment

23 years agoYet another large update to ld.so. In this iteration I finally got
Eric Andersen [Fri, 27 Apr 2001 17:23:26 +0000 (17:23 -0000)]
Yet another large update to ld.so.  In this iteration I finally got
the C based syscalls working, which greatly simplifies what it takes
to get new architectures running.
 -Erik

23 years agoAs noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias for
Eric Andersen [Fri, 27 Apr 2001 15:37:06 +0000 (15:37 -0000)]
As noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias for
srand was in the wrong file, causing rand.o to be needlessly included in some
cases.

23 years agoPatch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinko
Eric Andersen [Fri, 27 Apr 2001 15:32:56 +0000 (15:32 -0000)]
Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinko
on my patch.

23 years agoIgnore stuff
Eric Andersen [Fri, 27 Apr 2001 07:10:16 +0000 (07:10 -0000)]
Ignore stuff

23 years agoMore trivial changes.
Eric Andersen [Fri, 27 Apr 2001 07:09:41 +0000 (07:09 -0000)]
More trivial changes.