OSDN Git Service
Mike Frysinger [Wed, 23 Feb 2005 04:05:19 +0000 (04:05 -0000)]
have the directories themselves rather than the alias subdirs depend on $(LIBPTHREAD)
Eric Andersen [Mon, 21 Feb 2005 22:02:27 +0000 (22:02 -0000)]
point to buildroot webpage
Mike Frysinger [Mon, 21 Feb 2005 14:58:28 +0000 (14:58 -0000)]
update so argc/argv/envp work and binaries dont just segfault immediatly
Eric Andersen [Fri, 18 Feb 2005 16:38:06 +0000 (16:38 -0000)]
Some uClinux architectures do not define pivot_root
Eric Andersen [Fri, 18 Feb 2005 16:33:15 +0000 (16:33 -0000)]
Merge pt-machine.h for the blackfin from the Analog
source tree.
Eric Andersen [Wed, 16 Feb 2005 06:42:32 +0000 (06:42 -0000)]
Since libdl is pretty small, and not likely to benefit from mklibs.py
and similar, lets just remove libdl_pic.a and avoid the issue
Manuel Novoa III [Wed, 16 Feb 2005 06:38:13 +0000 (06:38 -0000)]
Unlike the other static libs, libdl.a and libdl_pic.a are different.
So we need to copy the actual libdl_pic.a or bad things happen when
optimizing libdl.so with mklibs.py.
Mike Frysinger [Tue, 15 Feb 2005 01:47:15 +0000 (01:47 -0000)]
dont need sysdep.h
Mike Frysinger [Tue, 15 Feb 2005 01:44:34 +0000 (01:44 -0000)]
some test header files for x86_64
Mike Frysinger [Tue, 15 Feb 2005 01:42:47 +0000 (01:42 -0000)]
some incomplete asm source for x86_64
Mike Frysinger [Tue, 15 Feb 2005 01:39:29 +0000 (01:39 -0000)]
some more x86_64 source
Mike Frysinger [Tue, 15 Feb 2005 01:38:50 +0000 (01:38 -0000)]
some more x86_64 source
Mike Frysinger [Tue, 15 Feb 2005 01:33:05 +0000 (01:33 -0000)]
some source files for x86_64
Mike Frysinger [Tue, 15 Feb 2005 01:27:10 +0000 (01:27 -0000)]
headers for x86_64
Mike Frysinger [Tue, 15 Feb 2005 00:58:49 +0000 (00:58 -0000)]
kconfig for x86_64
Manuel Novoa III [Mon, 14 Feb 2005 05:58:08 +0000 (05:58 -0000)]
When I broke up the stdio code, the "support pre C99 compilers" va_copy compat
define was no longer visible to vasprintf. I didn't catch this since I no
longer use such old tools. Unfortunately, some well-meaning but misguided
individual decided to just cut-and-paste the macro. :-(
Try to clean up the situation by putting it into a header that can be overriden
by any archs that need to. If this breaks for anyone (as I said, I no longer
use such old tools and so haven't tested), let me know and I'll fix it.
Manuel Novoa III [Mon, 14 Feb 2005 04:40:39 +0000 (04:40 -0000)]
Fix some issues with nice(). SUSv3 specifies that it return the new
priority if successful, while the linux syscall returns 0. Also, in
the non-syscall version, we must be sure to set errno to EPERM on failure
since setpriority() can set errno to several possible values.
Note: The version of glibc on my debian system is broken wrt EPERM too.
Mike Frysinger [Sun, 13 Feb 2005 08:11:38 +0000 (08:11 -0000)]
x86_64 fixes: make sure the fall back routine for using umount2() for umount() actually works :)
Mike Frysinger [Sun, 13 Feb 2005 08:06:42 +0000 (08:06 -0000)]
x86_64 fixes: update prototype to match the other prototypes
Mike Frysinger [Sun, 13 Feb 2005 08:01:45 +0000 (08:01 -0000)]
x86_64 fixes: __NR_socketcall doesnt exist, nor does __NR_recv / __NR_send ... so dont try using socketcall() unless the system call exists
Mike Frysinger [Sun, 13 Feb 2005 06:51:15 +0000 (06:51 -0000)]
touchup the $(AR) mojo to address some bugs by Peter Kjellerstedt
Mike Frysinger [Sat, 12 Feb 2005 20:59:08 +0000 (20:59 -0000)]
no more cvs
Joakim Tjernlund [Thu, 10 Feb 2005 23:38:14 +0000 (23:38 -0000)]
Add THREAD_SELF definition to PPC. This should make threads on PPC
a bit faster.
Eric Andersen [Wed, 9 Feb 2005 18:24:45 +0000 (18:24 -0000)]
fix typo
Peter Kjellerstedt [Wed, 9 Feb 2005 09:00:28 +0000 (09:00 -0000)]
Define va_copy for pre-C99 compilers (code taken from vfprintf.c).
Peter Kjellerstedt [Wed, 9 Feb 2005 08:42:13 +0000 (08:42 -0000)]
Implement _start completely in assembler. Otherwise the compiler will
push the frame pointer when DO_DEBUG is enabled (and thus incorrect
argc, argv and envp will be passed to the program).
Peter Kjellerstedt [Wed, 9 Feb 2005 08:40:55 +0000 (08:40 -0000)]
Include features.h (without it, testing for __UCLIBC_HAS_THREADS__
makes no sense).
Eric Andersen [Wed, 9 Feb 2005 06:50:57 +0000 (06:50 -0000)]
simplify anon url
Ned Ludd [Tue, 8 Feb 2005 21:21:32 +0000 (21:21 -0000)]
- 3/NN patches for ssp. Doc updates from Peter S. Mazinger and Robert Connolly
Eric Andersen [Tue, 8 Feb 2005 20:59:51 +0000 (20:59 -0000)]
ordering update
Ned Ludd [Tue, 8 Feb 2005 20:55:33 +0000 (20:55 -0000)]
- 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert Connolly
Eric Andersen [Tue, 8 Feb 2005 20:29:15 +0000 (20:29 -0000)]
Update the year
Eric Andersen [Tue, 8 Feb 2005 20:27:08 +0000 (20:27 -0000)]
Mention subversion and provide access info. Remove mention of cvs.
-Erik
Ned Ludd [Tue, 8 Feb 2005 19:28:46 +0000 (19:28 -0000)]
- 1/NN patches for ssp
Eric Andersen [Tue, 8 Feb 2005 00:34:41 +0000 (00:34 -0000)]
Update release target for subversion
Mike Frysinger [Tue, 8 Feb 2005 00:25:15 +0000 (00:25 -0000)]
add notes about header generation
Ned Ludd [Wed, 2 Feb 2005 14:18:01 +0000 (14:18 -0000)]
- updated getent script to match behaviors of newer glibc getent. update from Peter S. Mazinger
Joakim Tjernlund [Tue, 1 Feb 2005 16:43:29 +0000 (16:43 -0000)]
Fix death event reporting properly.
Now GDB is happy and death events are reported as
[Thread 5126 (LWP 192) exited]
without GDB bailing out.
Eric Andersen [Mon, 31 Jan 2005 17:53:01 +0000 (17:53 -0000)]
Restore it so we get gdb
[Thread 1026 (Missing) exited]
messages again, while leaving the __linuxthreads_death_event()
call disabled, as it still breaks gdb.
Eric Andersen [Mon, 31 Jan 2005 17:40:08 +0000 (17:40 -0000)]
Always use the target CC when generating include/bits/sysnum.h, since some
arches like mips have an include/asm/unistd.h that depends on #defines provided
only by gcc. Therefore, since we may need to generate include/bits/sysnum.h
before the target CC is actually existant when bootstrapping a toolchain, we
must ensure that include/bits/sysnum.h is rebuilt every time we run make.
Sigh. What a pain.
-Erik
Joakim Tjernlund [Mon, 31 Jan 2005 15:48:37 +0000 (15:48 -0000)]
Sync with latest GLIBC.
Joakim Tjernlund [Mon, 31 Jan 2005 15:35:46 +0000 (15:35 -0000)]
Oops, remove extra sigaddset() call. Don't know how that one got there.
Eric Andersen [Sat, 29 Jan 2005 14:20:10 +0000 (14:20 -0000)]
Hi Erik and Manuel
Long time no see :)
It appears uClibc pthreads native debugging is broken w.r.t thread exit handling in
uClibc(at least on PPC). When debugging ex7, gdb(6.2.1) bails out as
soon as a thread exits. I found a comment in gdb that TD_DEATH handling was broken for
glibc 2.3.1, so I figured that maybe it was broken in uClibc also.
I added a #if 0 #endif in pthread_exit( see patch below) and then
gdb behaved again.
While looking into this I found a few differences( included in the patch)
between glibc and uClibc. Don't know if these makes a difference, but I leave that to
you to decide.
Jocke
Eric Andersen [Sat, 29 Jan 2005 12:08:54 +0000 (12:08 -0000)]
Use HOSTCC for seting up the syscall list
Mike Frysinger [Sat, 29 Jan 2005 03:34:13 +0000 (03:34 -0000)]
merge parallel build support
Mike Frysinger [Tue, 25 Jan 2005 03:17:00 +0000 (03:17 -0000)]
merge parallel build support
Mike Frysinger [Mon, 24 Jan 2005 23:20:56 +0000 (23:20 -0000)]
make sure libdl static and shared targets are built properly
Peter Kjellerstedt [Mon, 24 Jan 2005 22:33:44 +0000 (22:33 -0000)]
Use $(LN) rather than ln.
Eric Andersen [Sun, 23 Jan 2005 11:27:02 +0000 (11:27 -0000)]
When there is no umount syscall, but umount2 is available, then
try to emulate umount() using umount2()
Mike Frysinger [Wed, 19 Jan 2005 23:44:14 +0000 (23:44 -0000)]
ignore our headers hack
Mike Frysinger [Wed, 19 Jan 2005 23:41:09 +0000 (23:41 -0000)]
clean up dependencies so libraries are only rebuilt when needed and so that parallel build works correctly
Mike Frysinger [Wed, 19 Jan 2005 23:40:41 +0000 (23:40 -0000)]
add a tiny hack so that the headers target isnt rebuilt all the time, only when it should be
Mike Frysinger [Wed, 19 Jan 2005 23:39:48 +0000 (23:39 -0000)]
beautify
Mike Frysinger [Wed, 19 Jan 2005 23:38:33 +0000 (23:38 -0000)]
touchup the dependencies so that the sysdeps object files will override the toplevel linuxthreads generic object files
Peter Kjellerstedt [Wed, 19 Jan 2005 10:31:51 +0000 (10:31 -0000)]
Avoid compiler warnings.
Peter Kjellerstedt [Wed, 19 Jan 2005 08:49:59 +0000 (08:49 -0000)]
Use Makefile if statements rather than their shell counterparts.
Peter Kjellerstedt [Wed, 19 Jan 2005 07:48:00 +0000 (07:48 -0000)]
Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,
but neither __NR_fadvise64 nor __NR_fadvise64_64.
Mike Frysinger [Wed, 19 Jan 2005 03:58:57 +0000 (03:58 -0000)]
ok, worry over race condition doesnt exist because we only have 1 subdir running $(AR), and the toplevel $(AR) isnt invoked until subdirs have finished
Mike Frysinger [Wed, 19 Jan 2005 01:47:58 +0000 (01:47 -0000)]
fix target dependencies to support parallel building
Mike Frysinger [Wed, 19 Jan 2005 01:36:59 +0000 (01:36 -0000)]
tweak dependencies so the archive is only rebuilt when the object files are updated
Mike Frysinger [Wed, 19 Jan 2005 00:50:20 +0000 (00:50 -0000)]
use $(RANLIB)
Mike Frysinger [Wed, 19 Jan 2005 00:45:40 +0000 (00:45 -0000)]
redo targets so the archives are only re-built when needed. also change the logic to use Makefile if statements rather than shell.
Mike Frysinger [Tue, 18 Jan 2005 23:30:31 +0000 (23:30 -0000)]
rework dependencies so the archive is re-created only when the object files have been updated
Mike Frysinger [Tue, 18 Jan 2005 23:18:14 +0000 (23:18 -0000)]
rework dependencies to support parallel build and avoid re-creating header files all the time
Mike Frysinger [Tue, 18 Jan 2005 23:14:41 +0000 (23:14 -0000)]
rework the dependencies so libpthread_db.a is only rebuilt when the object files get updated
Mike Frysinger [Tue, 18 Jan 2005 23:01:13 +0000 (23:01 -0000)]
white space clean up
Mike Frysinger [Tue, 18 Jan 2005 23:00:02 +0000 (23:00 -0000)]
tweak target dependencies to support parallel builds
Mike Frysinger [Tue, 18 Jan 2005 22:55:44 +0000 (22:55 -0000)]
- define RANLIB since a subdir or two uses it
- add support for DESTDIR to work the same as PREFIX
Mike Frysinger [Tue, 18 Jan 2005 04:26:49 +0000 (04:26 -0000)]
make sure we include pthread.h to define pthread_attr_t
Mike Frysinger [Tue, 18 Jan 2005 02:30:03 +0000 (02:30 -0000)]
whitespace touchups
Mike Frysinger [Mon, 17 Jan 2005 23:18:56 +0000 (23:18 -0000)]
add posix_fadvise / posix_fadvise64 support
Eric Andersen [Mon, 17 Jan 2005 21:08:09 +0000 (21:08 -0000)]
Mention uclibc.org as the defalt download site
Peter Kjellerstedt [Sun, 16 Jan 2005 09:49:14 +0000 (09:49 -0000)]
Made it possible to make utils when $(CROSS) or $(CC) contain spaces.
Peter Kjellerstedt [Sun, 16 Jan 2005 09:46:57 +0000 (09:46 -0000)]
Corrected a typo.
Eric Andersen [Sun, 16 Jan 2005 05:38:32 +0000 (05:38 -0000)]
Per bugs.uclibc.org/view.php?id=15, patch from kergoth:
Sometimes it is desirable to build ldconfig non-static.
Eric Andersen [Sun, 16 Jan 2005 05:20:10 +0000 (05:20 -0000)]
whitespace cleanup
Eric Andersen [Sun, 16 Jan 2005 05:19:55 +0000 (05:19 -0000)]
Per http://bugs.uclibc.org/view.php?id=12:
Some newer archs only have umount2
Ned Ludd [Sun, 16 Jan 2005 05:08:10 +0000 (05:08 -0000)]
- ifdef bdflush update from bug #
0000011
Ned Ludd [Sun, 16 Jan 2005 05:05:33 +0000 (05:05 -0000)]
- ifdef uselib update from bug #
0000013
Eric Andersen [Sun, 16 Jan 2005 04:39:24 +0000 (04:39 -0000)]
prevent people asking what a loose-meat sandwich is (its another
name for a sloppy-joe' in case anyone was wondering)
Eric Andersen [Fri, 14 Jan 2005 17:07:51 +0000 (17:07 -0000)]
Fix spelling
Eric Andersen [Thu, 13 Jan 2005 17:22:46 +0000 (17:22 -0000)]
fix grammar
Eric Andersen [Thu, 13 Jan 2005 17:20:59 +0000 (17:20 -0000)]
Mention the new bug tracking system
Ned Ludd [Wed, 12 Jan 2005 15:11:24 +0000 (15:11 -0000)]
- add patch from Peter S. Mazinger to allow selecting the fast access canary for propolice/ssp
Peter Kjellerstedt [Wed, 12 Jan 2005 13:26:18 +0000 (13:26 -0000)]
Use the inlined __dl_parse_dynamic_info() in DL_BOOT() for CRIS too.
Eric Andersen [Wed, 12 Jan 2005 07:52:50 +0000 (07:52 -0000)]
Update docs for release
Eric Andersen [Wed, 12 Jan 2005 01:22:59 +0000 (01:22 -0000)]
cleanup, and prevent failures due to including architecture specific
header files into ldconfig when building for the host.
Mike Frysinger [Tue, 11 Jan 2005 17:02:22 +0000 (17:02 -0000)]
newer linux headers define __cast__ in compiler.h so lets fake it too
Mike Frysinger [Tue, 11 Jan 2005 17:01:53 +0000 (17:01 -0000)]
dont bother including sysctl.h unless we need it
Eric Andersen [Tue, 11 Jan 2005 11:31:55 +0000 (11:31 -0000)]
Jean writes:
Hello,
under some circumstances the following small example prints lots of
garbage onto the console and into the syslog:
#include <syslog.h>
int main ()
{
openlog("foo", LOG_CONS|LOG_NDELAY|LOG_PID|LOG_PERROR, LOG_DAEMON);
syslog (LOG_WARNING, "mlock: %m");
return 1;
}
The reason is, that sprintf returns with -1 and vsyslog dumps the
complete buffer onto stderr and the syslogd socket. The following
patch would fix the problem:
Eric Andersen [Tue, 11 Jan 2005 11:25:32 +0000 (11:25 -0000)]
Patch from Bernardo Innocenti:
Remove use of cast-as-l-value extension, removed in GCC 3.5.
Eric Andersen [Tue, 11 Jan 2005 11:08:30 +0000 (11:08 -0000)]
Jan Lana writes:
uClibc resolver doesn't lookup all search domains.
For example, if you have computer 'jenda.prague.my.cz' and resolv.conf:
search my.cz
nameserver xx.xx.xx.xx
try this:
ping jenda.prague.my.cz #works
ping jenda.prague #unknown host
libc/inet/resolv.c doesn't want to try search domains if the domain name
contains '.'. I don't find any reason for the behaviour in literature
and it is inconsistent with the glibc.
Patch is attached.
regards,
- jenda
Eric Andersen [Tue, 11 Jan 2005 10:58:19 +0000 (10:58 -0000)]
Do not use portable (POSIX) 'cp -PRf' but instead use 'cp -dRf' since
busybox does not yet support 'cp -P'
Eric Andersen [Tue, 11 Jan 2005 10:15:06 +0000 (10:15 -0000)]
Why is this here?
Eric Andersen [Tue, 11 Jan 2005 09:58:05 +0000 (09:58 -0000)]
update prior to release
Eric Andersen [Tue, 11 Jan 2005 09:55:02 +0000 (09:55 -0000)]
minor doc update
Eric Andersen [Tue, 11 Jan 2005 09:41:40 +0000 (09:41 -0000)]
Patch from Paul Mundt (lethal) adding an initial librt implementation.
I then reworked the syscall handling and made minor cleanups. With luck
I've not completely broken his patch...
Eric Andersen [Tue, 11 Jan 2005 06:39:19 +0000 (06:39 -0000)]
Remove the no-longer-needed #include <sys/user.h>
Eric Andersen [Mon, 10 Jan 2005 20:46:43 +0000 (20:46 -0000)]
Fixup function prototypes to match definitions in include/dlfcn.h
Eric Andersen [Sun, 9 Jan 2005 08:19:19 +0000 (08:19 -0000)]
Bump version number