OSDN Git Service
David Schleef [Sat, 11 Aug 2001 03:18:59 +0000 (03:18 -0000)]
Need to create $(SYSTEM_DEVEL_PREFIX)/usr/bin
Eric Andersen [Sat, 11 Aug 2001 00:18:07 +0000 (00:18 -0000)]
Begin removing some unnecessary inlining, and fix naming
of _dl_fprintf which should really be _dl_dprintf
-Erik
Eric Andersen [Fri, 10 Aug 2001 08:49:12 +0000 (08:49 -0000)]
Oops. Symlink args were backwards...
Eric Andersen [Fri, 10 Aug 2001 08:43:35 +0000 (08:43 -0000)]
Don't blow away existing files when trying to install a ldso symlink...
Eric Andersen [Fri, 10 Aug 2001 08:00:08 +0000 (08:00 -0000)]
Update the build system, yet again. I hope this is the last time...
Here is the basic theory of operation:
SHARED_LIB_LOADER_PATH/ <The location where the shared lib
loader will be installed and where the
compiler will cause apps to look for it.>
DEVEL_PREFIX/
bin/ <contains gcc, ld, etc for setting PATH=$DEVEL_PREFIX/bin:$PATH>
lib/ <contains all runtime and static libs>
include/ <Where all the header files go>
SYSTEM_DEVEL_PREFIX/
usr/bin/ <contains arch-uclibc-gcc, arch-uclibc-ld, etc that
might be installed by a .deb or .rpm into /usr/bin,
but can happily live under DEVEL_PREFIX>
PREFIX
This is prepended during 'make install's allowing you to shift things to
be installed under some alternate location (such as when building a .deb)
-Erik
David McCullough [Fri, 10 Aug 2001 00:33:01 +0000 (00:33 -0000)]
Make _PATH_VARRUN actually point to /var/run.
Eric Andersen [Thu, 9 Aug 2001 20:25:20 +0000 (20:25 -0000)]
Fix behavior when installing the devel env, since somewhere
along the line this got messed up...
David McCullough [Thu, 9 Aug 2001 15:25:15 +0000 (15:25 -0000)]
Add cmsg_nxthdr function for the cases where the headers
do not so it inline.
David McCullough [Thu, 9 Aug 2001 13:44:22 +0000 (13:44 -0000)]
Add in changes from philipc@lineo:
Fix three bugs and bring into line with glibc:
1. The first character read using getc() was being ignored if it was EOF.
Normally this is okay because the next getc() returns EOF as well, but
for sscanf, this was causing us to skip the null terminator and start
scanning whatever happened to be next in memory.
2. %s, %c, and %[ formats now return -1 if EOF is reached before any
characters are read, instead of 0. This was causing an infinite loop
in diald.
3. Default to base 10 for %i fields if not prefix modifier present.
David McCullough [Thu, 9 Aug 2001 12:54:00 +0000 (12:54 -0000)]
Add hstrerror, it just points to strerror like h_errno.
David McCullough [Thu, 9 Aug 2001 12:08:51 +0000 (12:08 -0000)]
Added sigset_t casts so we behave like the other platforms.
David McCullough [Thu, 9 Aug 2001 12:06:19 +0000 (12:06 -0000)]
Fix a couple of warnings
David McCullough [Thu, 9 Aug 2001 11:37:33 +0000 (11:37 -0000)]
Make sure the weak aliases are defined before the functions/vars
they use as stubs, otherwise, some compilers (ie., m68k-elf) tie them to
the local symbols and the weak aliases do not work.
David Schleef [Thu, 9 Aug 2001 01:20:43 +0000 (01:20 -0000)]
Changed uclibc-gcc to uclibc-toolchain. Added fixups for changes
in the Makefiles.
Eric Andersen [Wed, 8 Aug 2001 17:03:36 +0000 (17:03 -0000)]
This syncs things up with my local tree. Mainly changes installer
issues, and syns things (as far as I am willing) with Dave Schleef's
tree. We may need to go another round or so, but we do seem to be
converging...
Eric Andersen [Mon, 6 Aug 2001 22:51:31 +0000 (22:51 -0000)]
Try search for the shared lib interpreter. Eliminate all double "//"s
from the output
-Erik
Eric Andersen [Mon, 6 Aug 2001 19:27:51 +0000 (19:27 -0000)]
If /etc/ld.so.preload was size 0, the shared lib loader would
choke and die. Test for non-zero size as well,
-Erik
David McCullough [Mon, 6 Aug 2001 12:46:12 +0000 (12:46 -0000)]
Fixup the pipe system call for the SH target.
The FD's are returned in registers.
Manuel Novoa III [Sat, 28 Jul 2001 15:06:31 +0000 (15:06 -0000)]
Oops... left in a debugging line.
Manuel Novoa III [Sat, 28 Jul 2001 14:51:45 +0000 (14:51 -0000)]
Back out the changes to _uClibc_fread and loop in fread() if incomplete, to
avoid problems with fgets on tty streams. I actually did some testing this
time. ;-)
Note: there is a difference in behavior between glibc and uClibc here
regarding fread() on a tty stream. glibc's fread() seems to return after
reading all _available_ data even if not at end-of-file, while uClibc's
fread() continues reading until all requested or eof or error. The latter
behavior seems correct w.r.t. the standards.
Manuel Novoa III [Thu, 26 Jul 2001 02:52:53 +0000 (02:52 -0000)]
Yes... the previous "fix" was broken too... the result of careless cutting
and pasting while pressed for time. I haven't checked this one either. :-(
Manuel Novoa III [Wed, 25 Jul 2001 22:31:25 +0000 (22:31 -0000)]
Ok... the fix wasn't quite so straightforward. Hopefully this will do it.
Manuel Novoa III [Wed, 25 Jul 2001 21:01:10 +0000 (21:01 -0000)]
Fix fread bug reported by Vodz. The fix is straightforward, but I haven't
tested it (lack of time).
Manuel Novoa III [Wed, 25 Jul 2001 14:40:40 +0000 (14:40 -0000)]
Fix small typo vodz reported.
David Schleef [Wed, 18 Jul 2001 22:11:18 +0000 (22:11 -0000)]
Fix the /lib link
David Schleef [Tue, 17 Jul 2001 23:33:15 +0000 (23:33 -0000)]
Better generation of control, fix up DESTDIR
David Schleef [Tue, 17 Jul 2001 20:56:15 +0000 (20:56 -0000)]
Fix typo.
David Schleef [Tue, 17 Jul 2001 09:54:09 +0000 (09:54 -0000)]
Changes to build cross-compiling libraries
David Schleef [Tue, 17 Jul 2001 09:44:30 +0000 (09:44 -0000)]
Better rule for locating dynamic linker
Eric Andersen [Tue, 17 Jul 2001 05:34:33 +0000 (05:34 -0000)]
search_for_named_library forgot to wipe the target string, so each time
around the loop it was getting bigger...
Eric Andersen [Tue, 17 Jul 2001 05:32:41 +0000 (05:32 -0000)]
Elimintate spurious trailing /
Eric Andersen [Tue, 17 Jul 2001 04:00:27 +0000 (04:00 -0000)]
Turn off USE_CACHE by default (so ldconfig, by default, isn't
needed).
Fix a stupid typo in dlib.c where I had several weak symbols
set up backwards, breaking libdl (dlopen and friends),
-Erik
Eric Andersen [Tue, 17 Jul 2001 01:44:36 +0000 (01:44 -0000)]
Fix missing function when USE_CACHE is enabled
-Erik
Eric Andersen [Tue, 17 Jul 2001 01:19:15 +0000 (01:19 -0000)]
Oops. USE_CACHE was disabled and didn't compile when enabled
since I'd forgotten a one liner...
-Erik
Eric Andersen [Tue, 17 Jul 2001 00:55:53 +0000 (00:55 -0000)]
Forgot this...
Eric Andersen [Tue, 17 Jul 2001 00:52:44 +0000 (00:52 -0000)]
We already have tar.h, so might as well include cpio.h as well...
Eric Andersen [Tue, 17 Jul 2001 00:52:04 +0000 (00:52 -0000)]
Some cleanups needed for things to compile and work as expected
with the new build system...
-Erik
Eric Andersen [Mon, 16 Jul 2001 23:47:15 +0000 (23:47 -0000)]
use ln -fs
Eric Andersen [Fri, 13 Jul 2001 06:16:26 +0000 (06:16 -0000)]
Scrub up a few things I forgot. Add a few more cleanups.
-Erik
Eric Andersen [Fri, 13 Jul 2001 06:05:01 +0000 (06:05 -0000)]
This takes about 6k off the size of the x86 shared lib loader...
-Erik
David Schleef [Fri, 13 Jul 2001 03:51:01 +0000 (03:51 -0000)]
fixperms needs the correct name for ld-uClibc
David Schleef [Fri, 13 Jul 2001 03:22:18 +0000 (03:22 -0000)]
PowerPC has a different kernel interface for termios. Grrr...
David Schleef [Fri, 13 Jul 2001 03:21:16 +0000 (03:21 -0000)]
The previous termios.h strongly appeared to be from a different
architecture.
David Schleef [Fri, 13 Jul 2001 03:08:08 +0000 (03:08 -0000)]
Add test for proper realloc() behavior.
Eric Andersen [Thu, 12 Jul 2001 21:41:31 +0000 (21:41 -0000)]
This commit merges David Schleef's updates to the build system, which a
few tiny fixups here and there from me. Seems to work just fine and
will hopefully be a bit better behaved.
-Erik
Eric Andersen [Thu, 12 Jul 2001 20:40:53 +0000 (20:40 -0000)]
Use uClibc's ldd, not the system one which is probably broken
anyways. This ensures correct answers, and prevents all the
annoying segfaults from the system ldd.
-Erik
Eric Andersen [Thu, 12 Jul 2001 18:56:10 +0000 (18:56 -0000)]
Add missing in_addr_t
David Schleef [Thu, 12 Jul 2001 12:30:13 +0000 (12:30 -0000)]
Added #ifdef DEBUG where appropriate.
Fixed icache clearing during _dl_init_got().
Added a few more reloc types.
Added out-of-range check for R_PPC_REL24.
David Schleef [Thu, 12 Jul 2001 10:14:09 +0000 (10:14 -0000)]
First cut of PowerPC port. It works for hello world, but has lots
of debugging information is still there.
David Schleef [Thu, 12 Jul 2001 10:11:33 +0000 (10:11 -0000)]
Small fixups for powerpc
David McCullough [Wed, 11 Jul 2001 13:47:45 +0000 (13:47 -0000)]
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it.
Should be pretty low impact as these are only defined when using C++.
David McCullough [Wed, 11 Jul 2001 13:33:21 +0000 (13:33 -0000)]
The main part of the C++ support is the definition of __BEGIN_DECLS
and __END_DECLS in this file based on the __cplusplus define.
David McCullough [Wed, 11 Jul 2001 13:30:27 +0000 (13:30 -0000)]
The weak_alias macro was not genertaing asm with the correct alias names.
Start of the C++ header changes.
David McCullough [Wed, 11 Jul 2001 13:27:12 +0000 (13:27 -0000)]
Fixup the atexit weak alias for elf, need to include <features.h> to
get the correct value for the HAVE_ELF define.
Eric Andersen [Wed, 11 Jul 2001 03:47:56 +0000 (03:47 -0000)]
Seems weak_alias wasn't working as expected...
Eric Andersen [Wed, 11 Jul 2001 02:09:57 +0000 (02:09 -0000)]
ldd rewrite is done
Eric Andersen [Wed, 11 Jul 2001 01:28:18 +0000 (01:28 -0000)]
Rewrite of ldd so it works as expected, and does not invoke the
shared lib loader at all. This will allow us to throw out the
support code for that from ld-linux.so.0
-Erik
Eric Andersen [Tue, 10 Jul 2001 19:33:47 +0000 (19:33 -0000)]
Fix the code for finding the interpreter, which was I had
totally screwed up the first time...
-Erik
Eric Andersen [Mon, 9 Jul 2001 21:20:20 +0000 (21:20 -0000)]
A patch from Michal Moskal <malekith@pld.org.pl> to include
partial IPV6 support. This adds things like gethostbyname2().
Off by defaut, of course,
Eric Andersen [Mon, 9 Jul 2001 16:46:11 +0000 (16:46 -0000)]
Workaround an old m68k-coff compiler problem
Eric Andersen [Fri, 6 Jul 2001 19:34:02 +0000 (19:34 -0000)]
This config seems to be basically correct for arm uClinux systems.
-Erik
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
Eric Andersen [Fri, 6 Jul 2001 16:08:07 +0000 (16:08 -0000)]
Note missing shadow support
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
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
Eric Andersen [Thu, 5 Jul 2001 17:55:32 +0000 (17:55 -0000)]
Note that ldd needs a rewrite
David McCullough [Wed, 4 Jul 2001 11:29:02 +0000 (11:29 -0000)]
Added stpcpy and strcasestr along with some code to test them.
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.
David Schleef [Wed, 4 Jul 2001 02:04:38 +0000 (02:04 -0000)]
Make shared library installation conditional
David Schleef [Wed, 4 Jul 2001 02:03:12 +0000 (02:03 -0000)]
Install a link for /lib/ld-uclibc.so.0
Eric Andersen [Wed, 4 Jul 2001 01:49:39 +0000 (01:49 -0000)]
Fix missing libresolv.so
David Schleef [Wed, 4 Jul 2001 00:55:43 +0000 (00:55 -0000)]
The prototype Config file for x86 was changed to Config.i386
Eric Andersen [Wed, 4 Jul 2001 00:28:00 +0000 (00:28 -0000)]
Renamed as extra/Configs/Config.i386
David Schleef [Wed, 4 Jul 2001 00:18:41 +0000 (00:18 -0000)]
*** empty log message ***
Eric Andersen [Tue, 3 Jul 2001 22:15:31 +0000 (22:15 -0000)]
Finish up merging the arm port into the main tree.
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.
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
Eric Andersen [Tue, 3 Jul 2001 18:22:05 +0000 (18:22 -0000)]
Scrub a couple of ints
Eric Andersen [Tue, 3 Jul 2001 07:13:37 +0000 (07:13 -0000)]
Oops.
Eric Andersen [Tue, 3 Jul 2001 06:46:45 +0000 (06:46 -0000)]
ignore generated stuff
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
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
Eric Andersen [Tue, 3 Jul 2001 06:17:34 +0000 (06:17 -0000)]
Force our child libs to link vs libc
David Schleef [Tue, 3 Jul 2001 03:58:06 +0000 (03:58 -0000)]
remove bits/syscall.h when cleaning
Eric Andersen [Tue, 3 Jul 2001 03:04:53 +0000 (03:04 -0000)]
Autogen include/bits/syscall.h for ARM
-Erik
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
David Schleef [Tue, 3 Jul 2001 02:21:22 +0000 (02:21 -0000)]
Get rid of warning messages and spurious diffs
David Schleef [Tue, 3 Jul 2001 02:03:16 +0000 (02:03 -0000)]
Debian package building scripts
David Schleef [Tue, 3 Jul 2001 01:39:13 +0000 (01:39 -0000)]
Need to include sys/syscall.h because of other changes
David Schleef [Tue, 3 Jul 2001 01:29:31 +0000 (01:29 -0000)]
It is now autogenerated
David Schleef [Tue, 3 Jul 2001 01:27:49 +0000 (01:27 -0000)]
Fix to autogen bits/syscall.h, like i386
Eric Andersen [Mon, 2 Jul 2001 14:38:17 +0000 (14:38 -0000)]
Fix a silly typo
David Schleef [Sun, 1 Jul 2001 21:29:00 +0000 (21:29 -0000)]
Changed dependencies of gcc-uClibc.h to ../../Config instead of clean
David Schleef [Sun, 1 Jul 2001 21:25:25 +0000 (21:25 -0000)]
Added additional cleaning
Manuel Novoa III [Sun, 1 Jul 2001 18:36:08 +0000 (18:36 -0000)]
These zero-length files apparently weren't deleted from cvs.
Eric Andersen [Sat, 30 Jun 2001 00:18:10 +0000 (00:18 -0000)]
Add syscalls.h for ARM
Eric Andersen [Fri, 29 Jun 2001 22:48:24 +0000 (22:48 -0000)]
Add a dlopen test
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.
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
Eric Andersen [Thu, 28 Jun 2001 21:37:01 +0000 (21:37 -0000)]
Oops. I forgot to check this in...
-Erik