OSDN Git Service
Eric Andersen [Sat, 28 Apr 2001 04:20:49 +0000 (04:20 -0000)]
Fix up a comment
Eric Andersen [Fri, 27 Apr 2001 23:13:44 +0000 (23:13 -0000)]
Get rid of the a.out header file
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
Eric Andersen [Fri, 27 Apr 2001 20:21:06 +0000 (20:21 -0000)]
For m68k I forgot a needed #undef
Eric Andersen [Fri, 27 Apr 2001 19:27:16 +0000 (19:27 -0000)]
Eliminate the useless _dl_interpreter_exit function
Eric Andersen [Fri, 27 Apr 2001 19:25:42 +0000 (19:25 -0000)]
I messed up the comment
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
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.
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.
Eric Andersen [Fri, 27 Apr 2001 07:10:16 +0000 (07:10 -0000)]
Ignore stuff
Eric Andersen [Fri, 27 Apr 2001 07:09:41 +0000 (07:09 -0000)]
More trivial changes.
Eric Andersen [Fri, 27 Apr 2001 07:05:59 +0000 (07:05 -0000)]
A few more compilation updates
Eric Andersen [Fri, 27 Apr 2001 05:46:40 +0000 (05:46 -0000)]
Just use 'ls -l' since ls -sh lacks sufficient granularity
Eric Andersen [Fri, 27 Apr 2001 05:44:46 +0000 (05:44 -0000)]
Ignore strerror
Eric Andersen [Thu, 26 Apr 2001 19:15:14 +0000 (19:15 -0000)]
Ignore generated binary
Eric Andersen [Thu, 26 Apr 2001 16:47:34 +0000 (16:47 -0000)]
oops again! I forgot to pull in the arch specific stuff, and forgot
to update those makefiles.
-Erik
Eric Andersen [Thu, 26 Apr 2001 16:29:45 +0000 (16:29 -0000)]
Don't hard-code the major number
Eric Andersen [Thu, 26 Apr 2001 16:21:29 +0000 (16:21 -0000)]
Ok, this should finish things up
-Erik
Eric Andersen [Thu, 26 Apr 2001 16:15:29 +0000 (16:15 -0000)]
Missed these
Eric Andersen [Thu, 26 Apr 2001 16:12:47 +0000 (16:12 -0000)]
Be more careful about not hard coding names.
Eric Andersen [Thu, 26 Apr 2001 16:05:36 +0000 (16:05 -0000)]
Keep major number in sync with the toplevel makefile
Eric Andersen [Thu, 26 Apr 2001 16:03:17 +0000 (16:03 -0000)]
Oops. I forgot to check this in last night, so if anybody built
uClibc during the last 18 hours it would have failed. Sorry about
that...
-Erik
Eric Andersen [Thu, 26 Apr 2001 16:00:56 +0000 (16:00 -0000)]
Some minor makefile fixups
Eric Andersen [Wed, 25 Apr 2001 23:42:36 +0000 (23:42 -0000)]
Fix up default .so number. This should avoid conflicts with libc5
libraries...
Eric Andersen [Wed, 25 Apr 2001 23:41:53 +0000 (23:41 -0000)]
Revert my ill-advised change to force the shared lib loader to always
be linked. Just make libc.so link vs the shared lib loader and everything
works fine. Duh. Thanks to Michael Shmulevich <michaels@jungo.com> for
clueing me in.
-Erik
Eric Andersen [Wed, 25 Apr 2001 23:36:24 +0000 (23:36 -0000)]
Be really sneaky and use GNU ld special stuff so that whenever folks
use the unsafe gets, they will get a warning from the linker. muahahaha.
This method will soon be applied to fork() w/o an mmu etc...
-Erik
Eric Andersen [Wed, 25 Apr 2001 23:30:01 +0000 (23:30 -0000)]
Update ignore target
Eric Andersen [Wed, 25 Apr 2001 23:29:12 +0000 (23:29 -0000)]
Move libdl and udate build method a bit
-Erik
Eric Andersen [Wed, 25 Apr 2001 16:17:39 +0000 (16:17 -0000)]
As pointed out by Michiel Thuys <michiel.thuys@intersil.com>, this was
checking sizeof which was pure bloat and in many cases wrong.
-Erik
Eric Andersen [Wed, 25 Apr 2001 16:09:48 +0000 (16:09 -0000)]
Be more strict with the malloc implementation. Return NULL
when folks do a malloc(0) using malloc-simple.
-Erik
Eric Andersen [Wed, 25 Apr 2001 16:07:47 +0000 (16:07 -0000)]
Be more strict with the glibc style malloc implementation. Return NULL
when folks do a malloc(0) using malloc-930716.
Eric Andersen [Tue, 24 Apr 2001 20:42:34 +0000 (20:42 -0000)]
Make sure 'make install' creates needed dirs.
Eric Andersen [Tue, 24 Apr 2001 20:41:48 +0000 (20:41 -0000)]
Disable an ugly bug-workaround for ancient versions of gcc.
-Erik
Eric Andersen [Tue, 24 Apr 2001 20:40:53 +0000 (20:40 -0000)]
Avoid a chicken-and-the-egg problem. Use $(LD) to compile the
libdl library, not $(CC).
-Erik
Eric Andersen [Tue, 24 Apr 2001 20:39:51 +0000 (20:39 -0000)]
Silence a warning
Eric Andersen [Tue, 24 Apr 2001 04:14:30 +0000 (04:14 -0000)]
These are needed for arm ld.so support (not at all working yet...)
-Erik
Eric Andersen [Mon, 23 Apr 2001 21:52:35 +0000 (21:52 -0000)]
Make sure that we list the shared lib loader as a required lib
by explicitly linking against it. That way 'ldd' tells us what
we need to know.
-Erik
Eric Andersen [Mon, 23 Apr 2001 21:33:52 +0000 (21:33 -0000)]
Fix up the main makefile. Autobuild ld.so and install it
when appropriate,
Eric Andersen [Mon, 23 Apr 2001 21:23:19 +0000 (21:23 -0000)]
Define where the shared lib loader now lives...
-Erik
Eric Andersen [Mon, 23 Apr 2001 21:21:49 +0000 (21:21 -0000)]
Fix up compiler name
Eric Andersen [Mon, 23 Apr 2001 21:20:42 +0000 (21:20 -0000)]
Always use __NR_<name>, not SYS_<name>
-Erik
Eric Andersen [Mon, 23 Apr 2001 21:18:14 +0000 (21:18 -0000)]
Revert my syscall changes. The _syscall# macros are not PIC
friendly and don't work. Back to nasty asm...
With this change in place, it now works for me on x86.
-Erik
Eric Andersen [Mon, 23 Apr 2001 20:36:01 +0000 (20:36 -0000)]
Ok, seems this _must_ be compiled as PIC code.
-Erik
Eric Andersen [Mon, 23 Apr 2001 20:11:40 +0000 (20:11 -0000)]
Ignore generated stuff. Add a 'make install' target that works.
-Erik
Eric Andersen [Mon, 23 Apr 2001 17:43:54 +0000 (17:43 -0000)]
Initial checkin for ld.so. This is a combination of effort from Manuel Novoa
III and me. I've been working on stripping out arch dependant stuff and
replacing it with generic stuff whenever possible.
-Erik
Eric Andersen [Mon, 23 Apr 2001 14:56:15 +0000 (14:56 -0000)]
Only compile in daemon() if the target has an MMU.
-Erik
Eric Andersen [Fri, 20 Apr 2001 19:14:22 +0000 (19:14 -0000)]
Use the real getnetbyname(), not the stub in resolv.c
Eric Andersen [Fri, 20 Apr 2001 18:50:22 +0000 (18:50 -0000)]
Stub out fpathconf() -- FIXME
-Erik
Eric Andersen [Fri, 20 Apr 2001 18:48:34 +0000 (18:48 -0000)]
Add in a trivial getlogin implementation
Eric Andersen [Fri, 20 Apr 2001 17:51:43 +0000 (17:51 -0000)]
Update the ignore targets
Eric Andersen [Fri, 20 Apr 2001 17:49:19 +0000 (17:49 -0000)]
Oops. I forgot the header file
-Erik
Eric Andersen [Fri, 20 Apr 2001 17:48:24 +0000 (17:48 -0000)]
Add missing header file for daemon.c, add missing functions into unistd.h.
I still need to implement getlogin.c fpathconf.c, but they are required
for IEEE Std. 1003.13-1998 POSIX_FILE_SYSTEM conformance and we don't
have them yet. But we will very very soon. :-)
-Erik
Eric Andersen [Fri, 20 Apr 2001 17:26:51 +0000 (17:26 -0000)]
Nobody should be using the SYS_ syscall names. Use the __NR_<foo>
names instead.
-Erik
Eric Andersen [Fri, 20 Apr 2001 16:47:10 +0000 (16:47 -0000)]
getnetbyname.o, res_init.o and res_query.o were missing from the Makefile,
patch thanks to John Hall <John.Hall@optionexist.co.uk>
Manuel Novoa III [Fri, 20 Apr 2001 07:53:33 +0000 (07:53 -0000)]
Update the gcc wrapper. Changes described in the notes at the top of the file.
Manuel Novoa III [Fri, 20 Apr 2001 07:52:06 +0000 (07:52 -0000)]
Change shared lib name. Update install_new target in Makefile.
Eric Andersen [Thu, 19 Apr 2001 20:55:41 +0000 (20:55 -0000)]
Remove the old crypt implementation
Eric Andersen [Thu, 19 Apr 2001 20:53:49 +0000 (20:53 -0000)]
Add in a libcrypt implementation. About 8k.
-Erik
Eric Andersen [Thu, 19 Apr 2001 15:42:16 +0000 (15:42 -0000)]
Bring sh and i386 longjmp implementations into sync
Eric Andersen [Thu, 19 Apr 2001 15:31:06 +0000 (15:31 -0000)]
Add missing alias siglongjmp = longjmp;
-Erik
Eric Andersen [Thu, 19 Apr 2001 14:42:48 +0000 (14:42 -0000)]
Remove all the __THROW macros
Eric Andersen [Wed, 18 Apr 2001 22:00:20 +0000 (22:00 -0000)]
Posix 1003.13 POSIX_MULTI_PROCESS specifies that execle() should
be there, so I just wrote it up.
-Erik
Eric Andersen [Wed, 18 Apr 2001 21:12:09 +0000 (21:12 -0000)]
Add missing time()
Eric Andersen [Wed, 18 Apr 2001 20:13:13 +0000 (20:13 -0000)]
Update temp file handling and use a single function to do all
the heavy lifting (most of the heavy lifting stolen from glibc,
but reduced a bit).
Manuel Novoa III [Sat, 7 Apr 2001 16:44:38 +0000 (16:44 -0000)]
Fix dynamic linking bug. If you need -ldl, you must explicitly add the
library (path and version!!!) to the args instead. For example, add
/lib/libdl.so.1 if DYNAMIC_LINKER is /lib/ld-linux.so.1.
Eric Andersen [Fri, 6 Apr 2001 23:34:52 +0000 (23:34 -0000)]
Fix up more leftovers resultant from fixing _LIBC
Eric Andersen [Fri, 6 Apr 2001 20:28:45 +0000 (20:28 -0000)]
Fix include/errno.h to not use kernel header, and instead use bits/errno.h.
This required we use _LIBC instead of __LIBC__ to be consistent with glibc.
This had some sideffects in sys/syscalls.h. While fixing things, I made
everything use __set_errno() for (eventual) thread support.
-Erik
Eric Andersen [Fri, 6 Apr 2001 20:19:10 +0000 (20:19 -0000)]
Update the ignore file to match
Eric Andersen [Fri, 6 Apr 2001 20:17:32 +0000 (20:17 -0000)]
Make a naming change to be consistent with other cross compiling tools.
Set up a default lib dir off the root of the uClibc compile dir. This
really needs more thought, but is good enough for now I think.
Eric Andersen [Thu, 5 Apr 2001 07:34:20 +0000 (07:34 -0000)]
Get the full set of module creating syscalls in place.
-Erik
Eric Andersen [Thu, 5 Apr 2001 03:11:57 +0000 (03:11 -0000)]
Compile the compiler last
Eric Andersen [Thu, 5 Apr 2001 03:09:58 +0000 (03:09 -0000)]
Add in delete_module
-Erik
Manuel Novoa III [Wed, 4 Apr 2001 05:16:48 +0000 (05:16 -0000)]
Add missing function sigfillset.
Eric Andersen [Tue, 3 Apr 2001 23:58:52 +0000 (23:58 -0000)]
Accomodate mmuless systems.
Eric Andersen [Tue, 3 Apr 2001 23:55:10 +0000 (23:55 -0000)]
Add in daemon.c, now used by busybox.
-Erik
Eric Andersen [Tue, 3 Apr 2001 23:21:32 +0000 (23:21 -0000)]
Fix a bug noted by David Beamonte <dbeamonte@intelnet.es>, so that
we define "__linux__" in uClibc_config.h, not "__linux_".
Eric Andersen [Fri, 30 Mar 2001 20:25:02 +0000 (20:25 -0000)]
It seems ARM 2.4.x kernels do not have iopl. Also add missing
bits/sem.h for ARM so everything now compiles and runs.
-Erik
David Schleef [Thu, 29 Mar 2001 23:58:49 +0000 (23:58 -0000)]
Reimplemented "make install" target. I left the old one as-is,
under the assumtion that someone will get confused if it suddenly
changes.
Manuel Novoa III [Fri, 23 Mar 2001 02:32:39 +0000 (02:32 -0000)]
Bug fix from Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>.
Manuel Novoa III [Thu, 22 Mar 2001 15:00:46 +0000 (15:00 -0000)]
Add some missing headers needed by ld.so-1.9.11.
Eric Andersen [Thu, 22 Mar 2001 06:14:18 +0000 (06:14 -0000)]
Add in random(), make rand use that under the hood. Fix the
include file so folks know random is now there.
Eric Andersen [Wed, 21 Mar 2001 18:13:36 +0000 (18:13 -0000)]
Stub out localeconv. Please look over this to check it is correct....
I started trying to read the glibc code -- but that code is far too
messy to be read. So I just wrote a silly C app against glibc, set
the locale to POSIX, then called localeconv(). I wrote this version
of localeconv.c so it returns the same stuff.
-Erik
Eric Andersen [Tue, 20 Mar 2001 21:54:01 +0000 (21:54 -0000)]
Fix from Jon Nelson for error in timezone
-Erik
Manuel Novoa III [Tue, 20 Mar 2001 16:04:27 +0000 (16:04 -0000)]
Add missed dependency. TODO: Should build gen_sysconf when cross-compiling.
Manuel Novoa III [Tue, 20 Mar 2001 15:32:43 +0000 (15:32 -0000)]
Fix longjmp on i386. Also adds siglongjmp.
Eric Andersen [Tue, 20 Mar 2001 14:19:38 +0000 (14:19 -0000)]
Put regex back in
David McCullough [Tue, 20 Mar 2001 10:52:50 +0000 (10:52 -0000)]
Add an empty DIRS target incase it gets inherited from the env.
David McCullough [Tue, 20 Mar 2001 10:51:57 +0000 (10:51 -0000)]
Do not remove const and extension when compiling with the elf tools.
Eric Andersen [Tue, 20 Mar 2001 03:21:56 +0000 (03:21 -0000)]
Fix some strange formatting, so the compile looks prettier.
Eric Andersen [Tue, 20 Mar 2001 03:20:50 +0000 (03:20 -0000)]
I think this fixes the dependancy problems. Manuel, can you
double check that this is what you intended?
-Erik
Eric Andersen [Mon, 19 Mar 2001 23:34:12 +0000 (23:34 -0000)]
Add in the timezone global from time.h, from a patch by
Jon Nelson <jnelson@boa.org>
Eric Andersen [Mon, 19 Mar 2001 23:32:00 +0000 (23:32 -0000)]
Seems most folks don't have /sbin in their path
Eric Andersen [Mon, 19 Mar 2001 23:22:41 +0000 (23:22 -0000)]
Add in alphasort (working fine) and scandir (just a stub for now).
-Erik
Eric Andersen [Mon, 19 Mar 2001 22:49:36 +0000 (22:49 -0000)]
Move the dirent stuff. I suppose it is system dependant, but then
it really should be grouped together too. And it needed to be grouped
more then it needed to be in sysdeps/linux/common
Eric Andersen [Mon, 19 Mar 2001 22:40:50 +0000 (22:40 -0000)]
Debug should be off by default
Eric Andersen [Mon, 19 Mar 2001 21:51:29 +0000 (21:51 -0000)]
Add in the sysvipc patch from Michael Shmulevich
Eric Andersen [Mon, 19 Mar 2001 21:43:10 +0000 (21:43 -0000)]
Add sigintr, from a patch by Michael Shmulevich
Eric Andersen [Mon, 19 Mar 2001 21:37:09 +0000 (21:37 -0000)]
Sync with glibc i386 bits.
Manuel Novoa III [Mon, 19 Mar 2001 21:33:48 +0000 (21:33 -0000)]
Put weak symbols where they can find what they are aliasing. Clean up strcspn.c
Eric Andersen [Mon, 19 Mar 2001 20:23:01 +0000 (20:23 -0000)]
Add a sneaky backwards compat hack from Michael Shmulevich