OSDN Git Service
Eric Andersen [Wed, 21 Sep 2005 17:45:12 +0000 (17:45 -0000)]
remove redundant paragraph
"Steven J. Hill" [Wed, 21 Sep 2005 11:31:54 +0000 (11:31 -0000)]
'pthread.h' is not the only file that needs to be symlinked. When NPTL gets merged, you will need to do 'semaphore.h' and 'bits/pthreadtypes.h'. I think I have been a good little boy and keeping my NPTL changes out of mainline, so I'm going to go ahead and cross the line this once to get this change in.
"Steven J. Hill" [Wed, 21 Sep 2005 05:14:02 +0000 (05:14 -0000)]
'pthread.h' is not the only file that needs to be symlinked. When NPTL gets merged, you will need to do 'semaphore.h' and 'bits/pthreadtypes.h'. I think I have been a good little boy and keeping my NPTL changes out of mainline, so I'm going to go ahead and cross the line this once to get this change in.
Mike Frysinger [Wed, 21 Sep 2005 03:55:21 +0000 (03:55 -0000)]
merge some misc stuff from glibc
Mike Frysinger [Wed, 21 Sep 2005 02:28:48 +0000 (02:28 -0000)]
move misc internal definitions to a sep file to minimize differences with features.h from glibc
Mike Frysinger [Wed, 21 Sep 2005 02:18:29 +0000 (02:18 -0000)]
merge x86_64 optimized string support
Mike Frysinger [Wed, 21 Sep 2005 02:17:00 +0000 (02:17 -0000)]
merge some updates from glibc to fix 32/64 bit support
Mike Frysinger [Wed, 21 Sep 2005 02:05:48 +0000 (02:05 -0000)]
dont duplicate pthread.h in include and libpthread subdirs, so symlink it
Joakim Tjernlund [Tue, 20 Sep 2005 21:25:39 +0000 (21:25 -0000)]
forgot MMAP_HAS_6_ARGS
Joakim Tjernlund [Tue, 20 Sep 2005 21:19:51 +0000 (21:19 -0000)]
Make powerpc use sys/syscall.h, instead of defining its own syscalls.
Joakim Tjernlund [Tue, 20 Sep 2005 21:16:25 +0000 (21:16 -0000)]
Fix bug 370.
Joakim Tjernlund [Sun, 18 Sep 2005 14:14:56 +0000 (14:14 -0000)]
Remove unused function.
Mike Frysinger [Sun, 18 Sep 2005 08:07:11 +0000 (08:07 -0000)]
declare _init/_fini weak if UCLIBC_CTOR_DTOR is not defined
Joakim Tjernlund [Sat, 17 Sep 2005 17:06:59 +0000 (17:06 -0000)]
Fix bug 430 and reduce ldso size with 1KB :). Not sure if I need to use fstat64, but I am sure someone will
tell me.
Joakim Tjernlund [Sat, 17 Sep 2005 12:00:06 +0000 (12:00 -0000)]
Add atomic support for PPC.
Merge glibc bits/atomic.h powerpc32/bits/atomic.h powerpc64/bits/atomic.h into one file
Joakim Tjernlund [Sat, 17 Sep 2005 11:23:39 +0000 (11:23 -0000)]
Change to glibc way of defining syscalls. This should make PPC
compile with gcc 4.0/4.1
Mike Frysinger [Fri, 16 Sep 2005 23:51:31 +0000 (23:51 -0000)]
make sure we treat count as size_t, not ssize_t ... fixes with help from khem
Mike Frysinger [Fri, 16 Sep 2005 23:42:25 +0000 (23:42 -0000)]
syntax/whitespace touchups
Mike Frysinger [Fri, 16 Sep 2005 04:58:13 +0000 (04:58 -0000)]
Robin Getz from blackfin.uclinux.org writes:
Bernd Schmidt found/fixed this problem in uClibc:
http://blackfin.uclinux.org/tracker/index.php?func=detail&aid=882&group_id=17&atid=141
Basically, the uClinux dist includes a few thread demos - thdm and bcdm -
running them simultaneously sometimes causes bus errors.
Bernd wrote:
>They occur in pthread_handle_sigrestart; thread_self returns a bogus value.
>I managed to capture a debugging log, it's attached as bad-log. If you
>look at it you'll notice that the initial stack bounds are bogus: bottom
>of stack is higher than top of stack. This appears to be because of a bug
>in NOMMU_INITIAL_THREAD_BOUNDS(tos,bos): if a new thread has a BOS equal
>to the initial thread's current TOS, it'll munge the initial thread's
>stack bounds. Fixed with the attached patch, which I've committed.
>This should fix the crashes people have seen, but since the bug was always
>hard to reproduce, I can't be 100% certain they are gone. Please retest,
>everyone...
This patch was made against our cvs, which has an older version of uClibc
in it - this code was recently moved from internals.h to descr.h in the
uclibc svn, but it still has the same problem
Mike Frysinger [Fri, 9 Sep 2005 03:05:37 +0000 (03:05 -0000)]
remove duplicated p_canceled setting and extra whitespace
Mike Frysinger [Fri, 9 Sep 2005 02:58:06 +0000 (02:58 -0000)]
sync style changes and misc fixes from glibc
Mike Frysinger [Fri, 9 Sep 2005 02:54:46 +0000 (02:54 -0000)]
sync some style changes and stack fixes with glibc
Mike Frysinger [Fri, 9 Sep 2005 02:46:25 +0000 (02:46 -0000)]
sync with glibc and macro out the strong_alias/versioned-symbols to cut down on the diffs
Mike Frysinger [Fri, 9 Sep 2005 02:45:42 +0000 (02:45 -0000)]
newer linuxthreads renamed the function invalid_handle() to nonexisting_handle()
Mike Frysinger [Fri, 9 Sep 2005 02:39:12 +0000 (02:39 -0000)]
sync with glibc by moving the thread_desc stuff out of internals.h and into a new file descr.h ... also redo thread_desc init by specifying members in the struct by name rather than position
Mike Frysinger [Fri, 9 Sep 2005 00:06:28 +0000 (00:06 -0000)]
revert pthread_exit change until all files using new prototype is ready
Mike Frysinger [Thu, 8 Sep 2005 23:57:11 +0000 (23:57 -0000)]
sync all the strong_alias and version compat stuff but make them no-ops with #if magic to cut down on diffs
Mike Frysinger [Thu, 8 Sep 2005 23:50:45 +0000 (23:50 -0000)]
add hidden_def() macros from glibc but stub them out to cut down on diffs
Mike Frysinger [Thu, 8 Sep 2005 23:48:03 +0000 (23:48 -0000)]
sync changelog with glibc
Mike Frysinger [Thu, 8 Sep 2005 23:47:35 +0000 (23:47 -0000)]
sync prototypes with glibc
Mike Frysinger [Thu, 8 Sep 2005 23:46:56 +0000 (23:46 -0000)]
punt wrapsyscall.c as glibc has
Mike Frysinger [Thu, 8 Sep 2005 04:25:06 +0000 (04:25 -0000)]
make sure we use optimized version when building for newer intel/amd cpus
Mike Frysinger [Thu, 8 Sep 2005 04:24:25 +0000 (04:24 -0000)]
import some fixes from glibc
Mike Frysinger [Thu, 8 Sep 2005 04:07:49 +0000 (04:07 -0000)]
sync with glibc and import pthread_rwlock_timed{rd,wr}lock in the process
Mike Frysinger [Thu, 8 Sep 2005 04:04:02 +0000 (04:04 -0000)]
uClibc has pthread_attr_{get,set}stack now
Mike Frysinger [Thu, 8 Sep 2005 03:56:33 +0000 (03:56 -0000)]
sync misc trivial touchups from glibc
Mike Frysinger [Thu, 8 Sep 2005 03:41:40 +0000 (03:41 -0000)]
sync with glibc coding style to make further updates easier
Mike Frysinger [Thu, 8 Sep 2005 03:28:24 +0000 (03:28 -0000)]
sync license with glibc
Mike Frysinger [Thu, 8 Sep 2005 03:26:31 +0000 (03:26 -0000)]
sync license with glibc
Mike Frysinger [Thu, 8 Sep 2005 03:25:37 +0000 (03:25 -0000)]
sync with glibc
Mike Frysinger [Thu, 8 Sep 2005 03:21:02 +0000 (03:21 -0000)]
import some fixes from glibc
Mike Frysinger [Thu, 8 Sep 2005 03:19:01 +0000 (03:19 -0000)]
import pthread_attr_{get,set}stack functions from glibc along with a few attr fixes
Mike Frysinger [Thu, 8 Sep 2005 03:17:05 +0000 (03:17 -0000)]
import the helper function pthread_for_each_thread from glibc
Mike Frysinger [Thu, 8 Sep 2005 03:14:23 +0000 (03:14 -0000)]
import misc defines from glibc
Mike Frysinger [Thu, 8 Sep 2005 03:00:39 +0000 (03:00 -0000)]
make sure function is always inlined
Mike Frysinger [Thu, 8 Sep 2005 03:00:11 +0000 (03:00 -0000)]
sync with glibc and remove duplicated SEM_VALUE_MAX define
Mike Frysinger [Thu, 8 Sep 2005 02:59:43 +0000 (02:59 -0000)]
sync with glibc
Mike Frysinger [Thu, 8 Sep 2005 02:59:01 +0000 (02:59 -0000)]
sync with glibc
Mike Frysinger [Thu, 8 Sep 2005 02:58:50 +0000 (02:58 -0000)]
slight tweak to minimize diffs with glibc
Mike Frysinger [Thu, 8 Sep 2005 02:58:12 +0000 (02:58 -0000)]
sync code style with glibc
Mike Frysinger [Thu, 8 Sep 2005 02:36:16 +0000 (02:36 -0000)]
import license updates from glibc
Mike Frysinger [Thu, 8 Sep 2005 02:35:30 +0000 (02:35 -0000)]
punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been released
Mike Frysinger [Thu, 8 Sep 2005 02:29:37 +0000 (02:29 -0000)]
Fix by Martin Schlemmer:
If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via
atexit(), but this makes it run _before_ the fini (__app_fini()) of the
app, causing stuff like sandbox that frees structs, etc via its fini to
segfault.
http://bugs.gentoo.org/98187
Mike Frysinger [Thu, 8 Sep 2005 02:25:22 +0000 (02:25 -0000)]
unused
Mike Frysinger [Thu, 8 Sep 2005 02:25:01 +0000 (02:25 -0000)]
dlvsym stub
Mike Frysinger [Thu, 8 Sep 2005 02:24:40 +0000 (02:24 -0000)]
grab some updates from glibc
Mike Frysinger [Wed, 7 Sep 2005 22:18:47 +0000 (22:18 -0000)]
clean up code and make it easy to extend
Mike Frysinger [Wed, 7 Sep 2005 22:18:16 +0000 (22:18 -0000)]
dont fail if target doesnt support mmap64
Mike Frysinger [Wed, 7 Sep 2005 22:16:43 +0000 (22:16 -0000)]
grab a tiny mmap implementation from glibc
Mike Frysinger [Wed, 7 Sep 2005 22:16:12 +0000 (22:16 -0000)]
make sure the syscall mmap func isnt exported
Mike Frysinger [Mon, 5 Sep 2005 07:29:47 +0000 (07:29 -0000)]
fix string functions to not treat the size_t as ssize_t
Eric Andersen [Fri, 2 Sep 2005 14:16:56 +0000 (14:16 -0000)]
update developer verbage
Mike Frysinger [Wed, 31 Aug 2005 22:27:45 +0000 (22:27 -0000)]
add (size_t)-1 border case tests for strncat and strncmp, and add a bunch of tests for strnlen based on strlen
Mike Frysinger [Tue, 30 Aug 2005 23:02:27 +0000 (23:02 -0000)]
add M_PERTURB define from glibc and Frank Mehnert writes: the following patch fixes a compile problem where malloc.h was included into a C++ file
Mike Frysinger [Mon, 29 Aug 2005 22:45:52 +0000 (22:45 -0000)]
anemo writes in Bug 9: use ElfW(auxv_t) instead of Elf32_auxv_t
Mike Frysinger [Mon, 29 Aug 2005 22:45:11 +0000 (22:45 -0000)]
some fixes by anemo in Bug 9 to play nicely with 32 or 64 bit hosts
Eric Andersen [Sun, 28 Aug 2005 12:50:09 +0000 (12:50 -0000)]
point to uclibc.org
Joakim Tjernlund [Sat, 27 Aug 2005 11:41:56 +0000 (11:41 -0000)]
asierllano writes in bug 370:
The gcc compiler has deprecated the type __uint128 for 32-bits platforms. Due to the fact that this
type was introduced in gcc-3.1 it is better to drop its use.
(glibc has the same problem and uses this same solution).
Mike Frysinger [Fri, 26 Aug 2005 03:49:19 +0000 (03:49 -0000)]
Frank Mehnert writes:
libc/misc/time/time.c does not compile if __UCLIBC_HAS_TZ_FILE__ is disabled
but __UCLIBC_HAS_TZ_CACHING__ is enabled. The following patch fixes this
issue.
Mike Frysinger [Fri, 26 Aug 2005 00:01:54 +0000 (00:01 -0000)]
import sparc-optimized string functions from glibc
Mike Frysinger [Fri, 26 Aug 2005 00:01:26 +0000 (00:01 -0000)]
oops, new math code needs this
Mike Frysinger [Thu, 25 Aug 2005 23:50:55 +0000 (23:50 -0000)]
import different optimized versions of div funcs based upon target sparc arch
Mike Frysinger [Thu, 25 Aug 2005 23:08:14 +0000 (23:08 -0000)]
optimize library based upon sparc cpu selection
Mike Frysinger [Thu, 25 Aug 2005 23:07:48 +0000 (23:07 -0000)]
allow people to select target sparc architecture
Mike Frysinger [Thu, 25 Aug 2005 23:07:24 +0000 (23:07 -0000)]
add a note explaining the weird h_errno definition
Mike Frysinger [Wed, 24 Aug 2005 23:17:47 +0000 (23:17 -0000)]
a64l/l64a are now in uClibc, mkstemp and mktemp already were
Mike Frysinger [Wed, 24 Aug 2005 23:16:30 +0000 (23:16 -0000)]
import a64l and l64a from glibc
Mike Frysinger [Wed, 24 Aug 2005 23:16:07 +0000 (23:16 -0000)]
add a link_warning() like glibc so ppl will [hopefully] stop using mktemp. also redo whitespacing.
Joakim Tjernlund [Wed, 24 Aug 2005 17:29:05 +0000 (17:29 -0000)]
Frank Mehnert writes:
I use an implementation for malloc()/free() which is sensible about
using data after freed. In libdl.c, rpnt1->next->next is accessed after
rpnt1->next is freed. Attached patch fixes that problem.
Mike Frysinger [Tue, 23 Aug 2005 23:44:49 +0000 (23:44 -0000)]
some updates from psm to better mirror glibc getent behavior
Joakim Tjernlund [Thu, 18 Aug 2005 11:46:04 +0000 (11:46 -0000)]
Hmm, things broke with vapiers update. Lets
make it compile and let vapier worry about the rest :)
Mike Frysinger [Thu, 18 Aug 2005 01:19:45 +0000 (01:19 -0000)]
add support for getrpcbynumber_r/getrpcbyname_r/getrpcent_r and a config option to enable REENTRANT RPC
Mike Frysinger [Thu, 18 Aug 2005 01:19:20 +0000 (01:19 -0000)]
use generic ELF wrappers
Mike Frysinger [Thu, 18 Aug 2005 01:18:24 +0000 (01:18 -0000)]
add support for getrpcbynumber_r/getrpcbyname_r/getrpcent_r and a config option to enable REENTRANT RPC
Mike Frysinger [Thu, 18 Aug 2005 01:16:25 +0000 (01:16 -0000)]
rework some of the code to shrink size
Mike Frysinger [Thu, 18 Aug 2005 01:11:50 +0000 (01:11 -0000)]
style tweaks
Mike Frysinger [Thu, 18 Aug 2005 01:07:58 +0000 (01:07 -0000)]
remove 0.9.27 compat alias
Mike Frysinger [Thu, 18 Aug 2005 01:06:48 +0000 (01:06 -0000)]
add __thumb__ check
Mike Frysinger [Thu, 18 Aug 2005 01:05:36 +0000 (01:05 -0000)]
import updates from glibc
Mike Frysinger [Thu, 18 Aug 2005 01:04:30 +0000 (01:04 -0000)]
remove some debug code
Mike Frysinger [Thu, 18 Aug 2005 01:03:06 +0000 (01:03 -0000)]
we have getprotobyname_r() now so use it
Mike Frysinger [Thu, 18 Aug 2005 00:59:05 +0000 (00:59 -0000)]
install the manpages that are in the docs subdir
Mike Frysinger [Thu, 18 Aug 2005 00:58:31 +0000 (00:58 -0000)]
moved/updated to docs/man/
Mike Frysinger [Thu, 18 Aug 2005 00:56:58 +0000 (00:56 -0000)]
also check for __thumb__
Mike Frysinger [Thu, 18 Aug 2005 00:56:32 +0000 (00:56 -0000)]
posix_memalign and posix_fadvise are in uClibc now
Mike Frysinger [Thu, 18 Aug 2005 00:53:56 +0000 (00:53 -0000)]
add the posix_memalign function
Eric Andersen [Wed, 17 Aug 2005 23:05:59 +0000 (23:05 -0000)]
update the uClibc webpage
Joakim Tjernlund [Wed, 17 Aug 2005 20:04:05 +0000 (20:04 -0000)]
Make uClibc vfork() use kernels vfork() instead of fork().
Mike Frysinger [Wed, 17 Aug 2005 02:29:50 +0000 (02:29 -0000)]
start of some rpc tests
Mike Frysinger [Wed, 17 Aug 2005 02:29:08 +0000 (02:29 -0000)]
make sure UCLIBC_LDSO is defined if we are running in a test subdir rather than toplevel