• R/O
  • HTTP
  • SSH
  • HTTPS

uClibc: List of commits


RSS
Rev. Time Author
1d2dbb9 2012-06-15 21:00:44 Peter S. Mazinger

linuxthreads: guard *tsd* related stuff correctly

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

27cfef6 2012-06-15 21:00:43 Peter S. Mazinger

error.c: no need for __error and __error_at_line

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

22f9615 2012-06-15 21:00:43 Peter S. Mazinger

linuxthreads: style update

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

a3516fe 2012-06-15 21:00:43 Peter S. Mazinger

linuxthreads: use __UCLIBC_HAS_TLS__ consistently

replace USE_TLS, HAVE___THREAD and USE___THREAD with __UCLIBC_HAS_TLS__

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

4b06ff8 2012-06-15 21:00:43 Peter S. Mazinger

move __libc_pthread_init prototype to pthread-functions.h

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

eb0e749 2012-06-15 21:00:43 Peter S. Mazinger

forward.c: no need for attribute_hidden, provided by prototype

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

b9e95fe 2012-06-15 21:00:43 Peter S. Mazinger

libc_pthread_init.c: include only what is necessary

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

71a7acb 2012-06-15 21:00:43 Peter S. Mazinger

linuxthreads.old: cleanup a bit

Use __UCLIBC_HAS_TLS__ instead of USE___THREADS (although this LT implementation
will never support TLS).
Disable unused/unneeded members of the pthread_functions structure.
No redirect/forward for _pthread_cleanup_push/pop, it would have not worked anyway
due to the fact, that the structure member was not initialized. Disable it's possible
internal use in libc-lock.h.
Avoid using internals.h in libc_pthread_init.c (moving a prototype to pthread-functions.h).

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

d5e6e79 2012-06-15 21:00:43 Peter S. Mazinger

fts.c: add a comment about wrong usage of _lfs_64.h

This file needs anyway some massage (style update), I'll leave the fix
to the committer.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

9202677 2012-06-15 21:00:43 Peter S. Mazinger

linuxthreads.old_db: style update

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

f0a3d11 2012-06-15 21:00:43 Peter S. Mazinger

NPTL: rename __new_sem_* to sem_*

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

e757515 2012-06-15 21:00:43 Peter S. Mazinger

linuxthreads.old: remove __old_sem_* and rename __new_sem_* to sem_*

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

d60ef5b 2012-06-15 21:00:43 Peter S. Mazinger

sigqueue.c: rewrite a bit

Use sizeof(info) instead of sizeof(siginfo_t).
stubs.c: add sigqueue stub.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

9d10173 2012-06-15 21:00:43 Peter S. Mazinger

add posix_madvise.c

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

028183a 2012-06-15 21:00:43 Peter S. Mazinger

change _NSIG / 8 to __SYSCALL_SIGSET_T_SIZE in common code

Since mips has different kernel sigset_t, use the new macro in common
code that is used by mips as well.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

5fc5422 2012-06-15 21:00:43 Peter S. Mazinger

make arch specific cacheflush, readahead and sysmips LINUX_SPECIFIC dependent

Remove the related headers.
Adapt sh's type to the one used everywhere and add prototype for it.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

4c5395c 2012-06-15 21:00:43 Peter S. Mazinger

shm.c: do not use __libc_X internally

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

b85e8c0 2012-06-15 21:00:42 Peter S. Mazinger

sigqueue.c: do not use __libc_X name internally

__libc_X names are intended to be used in other uClibc provided libs,
but not in libc.
Mark the syscall __always_inline.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

efe9077 2012-06-15 21:00:42 Peter S. Mazinger

sigpause.c: provide the X/Open variant, since the BSD version is deprecated

Do not export __sigpause.
Provide __bsd_sigpause (unprototyped) if anyone may need it.
Adapt cancellation to use cancel.h.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

19607f1 2012-06-15 21:00:42 Peter S. Mazinger

socketcalls.c: rewrite to use cancel.h

__socketcall.c: remove guard, we definitely need this syscall
Re-added guard plus added comment (Bernhard)

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

7d0131c 2012-06-15 21:00:42 Peter S. Mazinger

exec.c: remove duplicate attribute_hidden

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

80101f0 2012-06-15 21:00:42 Peter S. Mazinger

vax/statfs.h: common one is good for vax

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

62a6404 2012-06-15 21:00:42 Peter S. Mazinger

vax/machine-gmon.h: remove, unneeded

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

4393898 2012-06-15 21:00:42 Peter S. Mazinger

e1/bits/unistd.h: remove unneeded bits

If an arch does not support some option, that has to be coded in Config.in

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

69a9120 2012-06-15 21:00:42 Peter S. Mazinger

xstatconv: cleanup includes

xstatconv.h needs features.h to really "see" config options
xstatconv.c does not need sys/syscall.h

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

4258038 2012-06-15 21:00:42 Peter S. Mazinger

use open_not_cancel_2 instead of open_not_cancel

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

804ab2f 2012-06-15 21:00:42 Peter S. Mazinger

not-cancel.h: update common version and make sure we use this one

Update file (same as in NPTL).
Disable unused parts, the remaining inlines will be fixed later.
Copy it to include to be sure that we use this one independently of
chosen threads.

Provide write,close and waitpid_not_cancel for LT new.
Use wait4 syscall instead of waitpid syscall (kernel says so).
Provide open_not_cancel and close_not_cancel for librt's spawn.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

62c208d 2012-06-15 21:00:42 Peter S. Mazinger

pause.c: add back usage of pause syscall

No idea why it was removed when NPTL was added,
but glibc uses it as well.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

95c40e9 2012-06-15 21:00:42 Peter S. Mazinger

not-cancel.h: use the non-cancellable functions in libc instead of inlining code

text data bss dec hex filename
272224 2298 17576 292098 47502 lib/libuClibc-0.9.32-rc3-git.so.old
271806 2298 17576 291680 47360 lib/libuClibc-0.9.32-rc3-git.so

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

295d4b4 2012-06-15 21:00:42 Peter S. Mazinger

wrapsyscall.c: add cancellable fcntl64

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

Show on old repository browser