OSDN Git Service

uclinux-h8/uclibc-ng.git
19 years agono more cvs
Mike Frysinger [Sat, 12 Feb 2005 20:59:08 +0000 (20:59 -0000)]
no more cvs

19 years agoAdd THREAD_SELF definition to PPC. This should make threads on PPC
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.

19 years agofix typo
Eric Andersen [Wed, 9 Feb 2005 18:24:45 +0000 (18:24 -0000)]
fix typo

19 years agoDefine va_copy for pre-C99 compilers (code taken from vfprintf.c).
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).

19 years agoImplement _start completely in assembler. Otherwise the compiler will
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).

19 years agoInclude features.h (without it, testing for __UCLIBC_HAS_THREADS__
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).

19 years agosimplify anon url
Eric Andersen [Wed, 9 Feb 2005 06:50:57 +0000 (06:50 -0000)]
simplify anon url

19 years ago- 3/NN patches for ssp. Doc updates from Peter S. Mazinger and Robert Connolly
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

19 years agoordering update
Eric Andersen [Tue, 8 Feb 2005 20:59:51 +0000 (20:59 -0000)]
ordering update

19 years ago- 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert Connolly
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

19 years agoUpdate the year
Eric Andersen [Tue, 8 Feb 2005 20:29:15 +0000 (20:29 -0000)]
Update the year

19 years agoMention subversion and provide access info. Remove mention of cvs.
Eric Andersen [Tue, 8 Feb 2005 20:27:08 +0000 (20:27 -0000)]
Mention subversion and provide access info.  Remove mention of cvs.
 -Erik

19 years ago- 1/NN patches for ssp
Ned Ludd [Tue, 8 Feb 2005 19:28:46 +0000 (19:28 -0000)]
- 1/NN patches for ssp

19 years agoUpdate release target for subversion
Eric Andersen [Tue, 8 Feb 2005 00:34:41 +0000 (00:34 -0000)]
Update release target for subversion

19 years agoadd notes about header generation
Mike Frysinger [Tue, 8 Feb 2005 00:25:15 +0000 (00:25 -0000)]
add notes about header generation

19 years ago- updated getent script to match behaviors of newer glibc getent. update from Peter...
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

19 years agoFix death event reporting properly.
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.

19 years agoRestore it so we get gdb
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.

19 years agoAlways use the target CC when generating include/bits/sysnum.h, since some
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

19 years agoSync with latest GLIBC.
Joakim Tjernlund [Mon, 31 Jan 2005 15:48:37 +0000 (15:48 -0000)]
Sync with latest GLIBC.

19 years agoOops, remove extra sigaddset() call. Don't know how that one got there.
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.

19 years agoHi Erik and Manuel
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

19 years agoUse HOSTCC for seting up the syscall list
Eric Andersen [Sat, 29 Jan 2005 12:08:54 +0000 (12:08 -0000)]
Use HOSTCC for seting up the syscall list

19 years agomerge parallel build support
Mike Frysinger [Sat, 29 Jan 2005 03:34:13 +0000 (03:34 -0000)]
merge parallel build support

19 years agomerge parallel build support
Mike Frysinger [Tue, 25 Jan 2005 03:17:00 +0000 (03:17 -0000)]
merge parallel build support

19 years agomake sure libdl static and shared targets are built properly
Mike Frysinger [Mon, 24 Jan 2005 23:20:56 +0000 (23:20 -0000)]
make sure libdl static and shared targets are built properly

19 years agoUse $(LN) rather than ln.
Peter Kjellerstedt [Mon, 24 Jan 2005 22:33:44 +0000 (22:33 -0000)]
Use $(LN) rather than ln.

19 years agoWhen there is no umount syscall, but umount2 is available, then
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()

19 years agoignore our headers hack
Mike Frysinger [Wed, 19 Jan 2005 23:44:14 +0000 (23:44 -0000)]
ignore our headers hack

19 years agoclean up dependencies so libraries are only rebuilt when needed and so that parallel...
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

19 years agoadd a tiny hack so that the headers target isnt rebuilt all the time, only when it...
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

19 years agobeautify
Mike Frysinger [Wed, 19 Jan 2005 23:39:48 +0000 (23:39 -0000)]
beautify

19 years agotouchup the dependencies so that the sysdeps object files will override the toplevel...
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

19 years agoAvoid compiler warnings.
Peter Kjellerstedt [Wed, 19 Jan 2005 10:31:51 +0000 (10:31 -0000)]
Avoid compiler warnings.

19 years agoUse Makefile if statements rather than their shell counterparts.
Peter Kjellerstedt [Wed, 19 Jan 2005 08:49:59 +0000 (08:49 -0000)]
Use Makefile if statements rather than their shell counterparts.

19 years agoMake it compile for architectures which have __UCLIBC_HAS_LFS__ defined,
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.

19 years agook, worry over race condition doesnt exist because we only have 1 subdir running...
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

19 years agofix target dependencies to support parallel building
Mike Frysinger [Wed, 19 Jan 2005 01:47:58 +0000 (01:47 -0000)]
fix target dependencies to support parallel building

19 years agotweak dependencies so the archive is only rebuilt when the object files are updated
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

19 years agouse $(RANLIB)
Mike Frysinger [Wed, 19 Jan 2005 00:50:20 +0000 (00:50 -0000)]
use $(RANLIB)

19 years agoredo targets so the archives are only re-built when needed. also change the logic...
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.

19 years agorework dependencies so the archive is re-created only when the object files have...
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

19 years agorework dependencies to support parallel build and avoid re-creating header files...
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

19 years agorework the dependencies so libpthread_db.a is only rebuilt when the object files...
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

19 years agowhite space clean up
Mike Frysinger [Tue, 18 Jan 2005 23:01:13 +0000 (23:01 -0000)]
white space clean up

19 years agotweak target dependencies to support parallel builds
Mike Frysinger [Tue, 18 Jan 2005 23:00:02 +0000 (23:00 -0000)]
tweak target dependencies to support parallel builds

19 years ago- define RANLIB since a subdir or two uses it
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

19 years agomake sure we include pthread.h to define pthread_attr_t
Mike Frysinger [Tue, 18 Jan 2005 04:26:49 +0000 (04:26 -0000)]
make sure we include pthread.h to define pthread_attr_t

19 years agowhitespace touchups
Mike Frysinger [Tue, 18 Jan 2005 02:30:03 +0000 (02:30 -0000)]
whitespace touchups

19 years agoadd posix_fadvise / posix_fadvise64 support
Mike Frysinger [Mon, 17 Jan 2005 23:18:56 +0000 (23:18 -0000)]
add posix_fadvise / posix_fadvise64 support

19 years agoMention uclibc.org as the defalt download site
Eric Andersen [Mon, 17 Jan 2005 21:08:09 +0000 (21:08 -0000)]
Mention uclibc.org as the defalt download site

19 years agoMade it possible to make utils when $(CROSS) or $(CC) contain spaces.
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.

19 years agoCorrected a typo.
Peter Kjellerstedt [Sun, 16 Jan 2005 09:46:57 +0000 (09:46 -0000)]
Corrected a typo.

19 years agoPer http://bugs.uclibc.org/view.php?id=15, patch from kergoth:
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.

19 years agowhitespace cleanup
Eric Andersen [Sun, 16 Jan 2005 05:20:10 +0000 (05:20 -0000)]
whitespace cleanup

19 years agoPer http://bugs.uclibc.org/view.php?id=12:
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

19 years ago- ifdef bdflush update from bug #0000011
Ned Ludd [Sun, 16 Jan 2005 05:08:10 +0000 (05:08 -0000)]
- ifdef bdflush update from bug #0000011

19 years ago- ifdef uselib update from bug #0000013
Ned Ludd [Sun, 16 Jan 2005 05:05:33 +0000 (05:05 -0000)]
- ifdef uselib update from bug #0000013

19 years agoprevent people asking what a loose-meat sandwich is (its another
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)

19 years agoFix spelling
Eric Andersen [Fri, 14 Jan 2005 17:07:51 +0000 (17:07 -0000)]
Fix spelling

19 years agofix grammar
Eric Andersen [Thu, 13 Jan 2005 17:22:46 +0000 (17:22 -0000)]
fix grammar

19 years agoMention the new bug tracking system
Eric Andersen [Thu, 13 Jan 2005 17:20:59 +0000 (17:20 -0000)]
Mention the new bug tracking system

19 years ago- add patch from Peter S. Mazinger to allow selecting the fast access canary for...
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

19 years agoUse the inlined __dl_parse_dynamic_info() in DL_BOOT() for CRIS too.
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.

19 years agoUpdate docs for release
Eric Andersen [Wed, 12 Jan 2005 07:52:50 +0000 (07:52 -0000)]
Update docs for release

19 years agocleanup, and prevent failures due to including architecture specific
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.

19 years agonewer linux headers define __cast__ in compiler.h so lets fake it too
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

19 years agodont bother including sysctl.h unless we need it
Mike Frysinger [Tue, 11 Jan 2005 17:01:53 +0000 (17:01 -0000)]
dont bother including sysctl.h unless we need it

19 years agoJean writes:
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:

19 years agoPatch from Bernardo Innocenti:
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.

19 years agoJan Lana writes:
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

19 years agoDo not use portable (POSIX) 'cp -PRf' but instead use 'cp -dRf' since
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'

19 years agoWhy is this here?
Eric Andersen [Tue, 11 Jan 2005 10:15:06 +0000 (10:15 -0000)]
Why is this here?

19 years agoupdate prior to release
Eric Andersen [Tue, 11 Jan 2005 09:58:05 +0000 (09:58 -0000)]
update prior to release

19 years agominor doc update
Eric Andersen [Tue, 11 Jan 2005 09:55:02 +0000 (09:55 -0000)]
minor doc update

19 years agoPatch from Paul Mundt (lethal) adding an initial librt implementation.
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...

19 years agoRemove the no-longer-needed #include <sys/user.h>
Eric Andersen [Tue, 11 Jan 2005 06:39:19 +0000 (06:39 -0000)]
Remove the no-longer-needed #include <sys/user.h>

19 years agoFixup function prototypes to match definitions in include/dlfcn.h
Eric Andersen [Mon, 10 Jan 2005 20:46:43 +0000 (20:46 -0000)]
Fixup function prototypes to match definitions in include/dlfcn.h

19 years agoBump version number
Eric Andersen [Sun, 9 Jan 2005 08:19:19 +0000 (08:19 -0000)]
Bump version number

19 years agoDocument more things inet_aton() 'should' support but actually doesn't.
Mike Frysinger [Thu, 6 Jan 2005 04:02:00 +0000 (04:02 -0000)]
Document more things inet_aton() 'should' support but actually doesn't.
Most of the time, no one ever notices, so there's not point eh ?  Also
standardize tab usage.

19 years agoJustin Cormack <justin@street-vision.com> writes:
Mike Frysinger [Thu, 6 Jan 2005 03:06:49 +0000 (03:06 -0000)]
Justin Cormack <justin@street-vision.com> writes:
Here is a small patch to add epoll support to uclibc.

The only thing I am not sure about is what needs to be done (if anything)
to make it work on 2.4/2.2 kernels (are the syscall numbers defined but
give errors when called or not?).

Tested on 2.6, though some other issues prevent more extensive testing at
the minute.

Mike Frysinger:
cleaned up patch and added checks to make sure that the syscall actually
exists, returning ENOSYS in cases where it doesn't.

19 years agofix eriks e-mail address
Mike Frysinger [Wed, 5 Jan 2005 23:11:28 +0000 (23:11 -0000)]
fix eriks e-mail address

19 years agoAmir Shalem writes:
Mike Frysinger [Sat, 1 Jan 2005 20:28:21 +0000 (20:28 -0000)]
Amir Shalem writes:

here are few patches for better compatability in ./Makefile:
cp.diff   - use portable (POSIX) way to specfic --no-dereference (-d)

19 years agoAmir Shalem writes:
Mike Frysinger [Sat, 1 Jan 2005 20:25:05 +0000 (20:25 -0000)]
Amir Shalem writes:

here are few patches for better compatability in ./Makefile:
make.diff - make should never called directly, change it to $(MAKE)

19 years agoclarify
Eric Andersen [Mon, 27 Dec 2004 19:43:31 +0000 (19:43 -0000)]
clarify

19 years agofix typo
Eric Andersen [Mon, 27 Dec 2004 19:40:58 +0000 (19:40 -0000)]
fix typo

19 years agoUpdate FAQ, remove references to 'toolchain' and instead emphasize
Eric Andersen [Mon, 27 Dec 2004 19:28:55 +0000 (19:28 -0000)]
Update FAQ, remove references to 'toolchain' and instead emphasize
'buildroot', which can do everything 'toolchain' could do and then
some.  And is actively maintained.
 -Erik

19 years agoPeter S. Mazinger: make sure the ld RELRO and NOW options are independent options
Mike Frysinger [Sun, 26 Dec 2004 09:00:59 +0000 (09:00 -0000)]
Peter S. Mazinger: make sure the ld RELRO and NOW options are independent options

19 years agoPeter S. Mazinger: use ASFLAGS when compiling asm files
Mike Frysinger [Sun, 26 Dec 2004 08:57:06 +0000 (08:57 -0000)]
Peter S. Mazinger: use ASFLAGS when compiling asm files

19 years agoFix thinko
Eric Andersen [Thu, 23 Dec 2004 01:29:45 +0000 (01:29 -0000)]
Fix thinko

19 years agoRemove the obsolete XATTR option
Eric Andersen [Wed, 22 Dec 2004 23:03:42 +0000 (23:03 -0000)]
Remove the obsolete XATTR option

19 years agoFix typo
Eric Andersen [Wed, 22 Dec 2004 22:35:31 +0000 (22:35 -0000)]
Fix typo

19 years agoMake certain that the prototype for fgets_unlocked is defined
Eric Andersen [Wed, 22 Dec 2004 21:57:24 +0000 (21:57 -0000)]
Make certain that the prototype for fgets_unlocked is defined

19 years agoCleanup for when LDSO_CACHE_SUPPORT is disabled
Eric Andersen [Wed, 22 Dec 2004 21:55:56 +0000 (21:55 -0000)]
Cleanup for when LDSO_CACHE_SUPPORT is disabled

19 years agoPatch from Peter S. Mazinger:
Eric Andersen [Wed, 22 Dec 2004 21:40:45 +0000 (21:40 -0000)]
Patch from Peter S. Mazinger:
Add pie support for mips

19 years agoPatch from Peter S. Mazinger:
Eric Andersen [Wed, 22 Dec 2004 21:34:27 +0000 (21:34 -0000)]
Patch from Peter S. Mazinger:
Add UCLIBC_BUILD_NOEXECSTACK support.

19 years agoPatch from Peter S. Mazinger:
Eric Andersen [Wed, 22 Dec 2004 21:24:32 +0000 (21:24 -0000)]
Patch from Peter S. Mazinger:
Seperate out security features into a separate menu

19 years agoPatch from Peter S. Mazinger:
Eric Andersen [Wed, 22 Dec 2004 21:14:23 +0000 (21:14 -0000)]
Patch from Peter S. Mazinger:
rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP

19 years agoCleaned up patch from Peter S. Mazinger adding support for
Eric Andersen [Wed, 22 Dec 2004 21:04:52 +0000 (21:04 -0000)]
Cleaned up patch from Peter S. Mazinger adding support for
-fstack-protector and -fno-stack-protector-all security
options

19 years agoPatch from psm, vapier, and solar, adding xattr syscalls
Eric Andersen [Wed, 22 Dec 2004 19:53:11 +0000 (19:53 -0000)]
Patch from psm, vapier, and solar, adding xattr syscalls