summaryrefslogtreecommitdiff
path: root/libc/sysdeps
AgeCommit message (Collapse)Author
2009-05-27waitid: linux ABI takes 5 args, not 4Mike Frysinger
The POSIX waitid() takes 4 args, but the Linux one takes 5 args, so make sure we stuff the 5th arg with a NULL. Otherwise garbage gets randomly passed up and considering this is a pointer, that's baaaad. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-26Add working pipe implementation for sparcAustin Foxley
Also get rid of warning in sparc sigaction Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-05-20Add a sigaction implementation for sparcAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-05-05Add position independent code for crt1.S.Carmelo Amoroso
This will generate a Scrt1.o that is linked to executabled when compiled as PIE code (position independent executable) without requiring relocation in .text section (not allowed on uclibc/sh4). Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk> Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2009-03-2732/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28.Rob Landley
The new guard symbol is "__SPARC_POSIX_TYPES_H".
2009-03-16enable mprotect() regardless of MMU as some systems have MPUs which allows ↵Mike Frysinger
memory protection
2009-03-16import user.h from the kernel as it is no longer exported by the kernelMike Frysinger
2009-03-16Update copyright header.Khem Raj
2009-03-13add GNU extension for select timeouts where the sub-second field is actually ↵Mike Frysinger
longer than one second
2009-03-05Define creat in an independent fileKhem Raj
2009-03-03mknod: widen the parameters to match kernelDenis Vlasenko
ustat: same, + remove superfluous "conversion" which does nothing at best, loses high dev bits at worst i386/bits/kernel_stat.h: update to reflect reality (wider dev_t) h8300/bits/kernel_stat.h: same arm/bits/kernel_stat.h: cosmetics to match kernel header to the letter
2009-03-02Add EPOLLRDHUP constantDenis Vlasenko
2009-02-27fix breakage in x86_64 defconfigDenis Vlasenko
2009-02-25Reinstate __libc_foo's needed for linuxthreads.old.Denis Vlasenko
Now they are only enabled if linuxthreads.old are selected.
2009-02-23Use gcc built-in defines for detecting SH cores instead ofCarmelo Amoroso
uclibc config option macros (aligning SH to all other archs). Changes applied as below: __CONFIG_SH4__ -> __SH4__ __CONFIG_SH2__ -> __sh2__ __CONFIG_SH2A__ -> __SH2A__ Note: pay attention to capital letters Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-02-20Fix my previous commit to use preprocessor in the right way !Carmelo Amoroso
2009-02-20Fix typo.Carmelo Amoroso
2009-02-20sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architectureCarmelo Amoroso
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
2009-02-18mathcalls.h: remove tons of redundant semicolons; better comment about macrosDenis Vlasenko
math.h: make macro machinery a bit more understandable No code changes (verified with objdump)
2009-02-17test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko
*: fix everything which prevents above from building
2009-02-13- repair my r25322 that ment to deal with getdomainname()'s visibilityBernhard Reutner-Fischer
2009-02-13- we may need getdomainname internallyBernhard Reutner-Fischer
2009-02-13- fix compilation of !UCLIBC_HAS_CTYPE_TABLES by merging duplicate bitsBernhard Reutner-Fischer
into ctype.h
2009-02-13- workaround oddity with position of function attributesBernhard Reutner-Fischer
2009-02-11docs/probe_math_exception.c:Denis Vlasenko
update example libc/sysdeps/linux/i386/bits/mathinline.h: improve __finite() macro, add __finitef macro (why they aren't always macros? why aren't they arch independent?) libm/math_private.h: much better comments on math_opt_barrier() and math_force_eval() libm/s_finite[f].c: improve out-of-line __finite[f]() too (one byte less, yay...)
2009-02-02libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite buildDenis Vlasenko
test/Rules.mak: don't pass target options to host build test/math/basic-test.c: fix test build error patching file test/unistd/errno.c: fix test build warning
2009-01-28fix ppoll. we forgot to pass 5th parameter to the syscallDenis Vlasenko
2009-01-22- make sure __user is defined when including kernel's sigcontext.hBernhard Reutner-Fischer
2009-01-21- remove unavailable functionality upon request (Peter Mazinger)Bernhard Reutner-Fischer
2009-01-21*: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis Vlasenko
is always equivalent to __UCLIBC_CURLOCALE->x. remove typedef __uclibc_locale_t, it used only in a few places, it is lees confusing to use struct __uclibc_locale_struct everywhere. xlocale.h: hide __global_locale back under _LIBC, bug 53 is wrong in claiming it should be exported. Also hide under _LIBC: extern __locale_t __curlocale_var; extern __locale_t __curlocale(void); extern __locale_t __curlocale_set(__locale_t newloc); # define __UCLIBC_CURLOCALE # define __XL_NPP(N) # define __LOCALE_PARAM # define __LOCALE_ARG # define __LOCALE_PTR
2009-01-18__global_locale must be visible to users, move it outside of #ifdef _LIBCDenis Vlasenko
2009-01-12- fixup incomplete r24515 (fix redefinitions of posix_types for i386->x86_64 ↵Bernhard Reutner-Fischer
with linux >= 2.6.28)
2009-01-03Get rid of the following annoying warnings on ppc:Denis Vlasenko
warning: nested extern declaration of '__illegally_sized_syscall_argN' From Stefan Assmann (sassmann AT suse.de)
2008-12-29- whitespace cleanup; no obj-code changesBernhard Reutner-Fischer
2008-12-29- expand SUSv3_LEGACYBernhard Reutner-Fischer
- SUSv4_LEGACY part #1 (non-networking)
2008-12-27Help unifdef to remove private parts of headersDenis Vlasenko
2008-12-27ctype: remove some trivial macros from ctype.h;Denis Vlasenko
remove __tolower and __toupper (they existed only in SOME configs!); remove usages of _tolower (some of them clearly buggy) from uclibc code; add a few more -U<define> options to unifdef pass over installed headers; document it on docs/wchar_and_locale.txt text data bss dec hex filename - 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so + 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
2008-12-23libc/sysdeps/linux/hppa/bits/signum.h: _NSIG == 65 is the common value,Denis Vlasenko
no need to define it here
2008-12-23These defines needs to be considered after recent linux kernel combined i386 ↵Khem Raj
and x86_64 into x86
2008-12-22- mark capset() as linux specificBernhard Reutner-Fischer
2008-12-22- capget() is linux specific; Sync helptext with current exclude list.Bernhard Reutner-Fischer
2008-12-22- remove leftover from r13277Bernhard Reutner-Fischer
2008-12-22UCLIBC_CTYPE_HEADER define is removed, as it alwaysDenis Vlasenko
equal to "include/bits/uClibc_ctype.h" __CTYPE_unclassified and other similar __CTYPE_xxxx constants are moved to separate include file, bits/uClibc_charclass.h Duplicate declaration of these constants is removed from libc/misc/wctype/_wctype.c Ugly re-inclusion trick in extra/locale/gen_wctype.c deleted Large ifdefed-out chunk in extra/locale/gen_wctype.c removed Move __CTYPE_isalnum() etc macros from uClibc_ctype.h to their single user, extra/locale/gen_wctype.c (can be simplified further) Overall, no code changes (verified with objdump)
2008-12-22- fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Bernhard Reutner-Fischer
math support - add rule to create preprocessor output for float- and long double math wrapper
2008-12-22remove stray comment (the identical one is just a few lines down)Denis Vlasenko
2008-12-22Remove unused macrosDenis Vlasenko
2008-12-21more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko
2008-12-17- provide INTERNAL_SYSCALL for ia64 (Stefan Assmann, sassmann at suse de)Bernhard Reutner-Fischer
2008-12-16- emulate unavailable syscall getpgrp on e.g. ia64 (Stefan Assmann)Bernhard Reutner-Fischer
2008-12-15Remove __libc_posix_fadvise[64] alias. It existed on i386 and arm only,Denis Vlasenko
and google says only uclibc has it, no users at all. text data bss dec hex filename - 229374 1367 11280 242021 3b165 lib/libuClibc-0.9.30-svn.so + 229347 1367 11280 241994 3b14a lib/libuClibc-0.9.30-svn.so