aboutsummaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
* SH-2A FDPIC supportsuperh_fdpicGravatar Andrew Stubbs2011-02-238-7/+605
| | | | | | These are the changes used in CodeSourcery's SH-2A uClinux Lite toolchains. Signed-off-by: Andrew Stubbs <ams@codesourcery.com>
* Add missing CLIBABI variables __aeabi_stdin, __aeabi_stdout, __aeabi_stderr.Gravatar Joseph Myers2009-06-281-0/+15
| | | | | | | | | | | The ARM EABI has a document CLIBABI specifying various __aeabi_* functions and variables to be provided for the use of portable objects that can be linked with different EABI-conforming C libraries. __aeabi_stdin, __aeabi_stdout and __aeabi_stderr were missing in uClibc; this patch (originally from Nathan Froyd and for glibc) adds them. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
* waitid: linux ABI takes 5 args, not 4Gravatar Mike Frysinger2009-05-271-4/+16
| | | | | | | | 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>
* Add working pipe implementation for sparcGravatar Austin Foxley2009-05-263-3/+69
| | | | | | Also get rid of warning in sparc sigaction Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add a sigaction implementation for sparcGravatar Austin Foxley2009-05-202-1/+95
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add position independent code for crt1.S.Gravatar Carmelo Amoroso2009-05-051-0/+45
| | | | | | | | | 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>
* 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28.Gravatar Rob Landley2009-03-271-1/+2
| | | | The new guard symbol is "__SPARC_POSIX_TYPES_H".
* enable mprotect() regardless of MMU as some systems have MPUs which allows ↵Gravatar Mike Frysinger2009-03-161-1/+1
| | | | memory protection
* import user.h from the kernel as it is no longer exported by the kernelGravatar Mike Frysinger2009-03-161-0/+57
|
* Update copyright header.Gravatar Khem Raj2009-03-161-1/+1
|
* add GNU extension for select timeouts where the sub-second field is actually ↵Gravatar Mike Frysinger2009-03-131-1/+20
| | | | longer than one second
* Define creat in an independent fileGravatar Khem Raj2009-03-052-5/+15
|
* mknod: widen the parameters to match kernelGravatar Denis Vlasenko2009-03-035-18/+21
| | | | | | | | | 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
* Add EPOLLRDHUP constantGravatar Denis Vlasenko2009-03-021-0/+2
|
* fix breakage in x86_64 defconfigGravatar Denis Vlasenko2009-02-277-57/+13
|
* Reinstate __libc_foo's needed for linuxthreads.old.Gravatar Denis Vlasenko2009-02-2515-24/+83
| | | | | Now they are only enabled if linuxthreads.old are selected.
* Use gcc built-in defines for detecting SH cores instead ofGravatar Carmelo Amoroso2009-02-236-7/+7
| | | | | | | | | | | | | 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>
* Fix my previous commit to use preprocessor in the right way !Gravatar Carmelo Amoroso2009-02-201-1/+1
|
* Fix typo.Gravatar Carmelo Amoroso2009-02-201-1/+1
|
* sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architectureGravatar Carmelo Amoroso2009-02-201-1/+1
| | | | Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
* mathcalls.h: remove tons of redundant semicolons; better comment about macrosGravatar Denis Vlasenko2009-02-181-85/+87
| | | | | | | math.h: make macro machinery a bit more understandable No code changes (verified with objdump)
* test/math/compile_test.c: "are long double functions even compile/link?" testGravatar Denis Vlasenko2009-02-171-0/+7
| | | | | *: fix everything which prevents above from building
* - repair my r25322 that ment to deal with getdomainname()'s visibilityGravatar Bernhard Reutner-Fischer2009-02-131-3/+7
|
* - we may need getdomainname internallyGravatar Bernhard Reutner-Fischer2009-02-131-0/+2
|
* - fix compilation of !UCLIBC_HAS_CTYPE_TABLES by merging duplicate bitsGravatar Bernhard Reutner-Fischer2009-02-131-23/+0
| | | | into ctype.h
* - workaround oddity with position of function attributesGravatar Bernhard Reutner-Fischer2009-02-131-1/+1
|
* docs/probe_math_exception.c:Gravatar Denis Vlasenko2009-02-111-3/+14
| | | | | | | | | | | | 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...)
* libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite buildGravatar Denis Vlasenko2009-02-022-2/+2
| | | | | | | 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
* fix ppoll. we forgot to pass 5th parameter to the syscallGravatar Denis Vlasenko2009-01-281-14/+17
|
* - make sure __user is defined when including kernel's sigcontext.hGravatar Bernhard Reutner-Fischer2009-01-221-0/+3
|
* - remove unavailable functionality upon request (Peter Mazinger)Gravatar Bernhard Reutner-Fischer2009-01-211-0/+4
|
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xGravatar Denis Vlasenko2009-01-211-55/+48
| | | | | | | | | | | | | | | | | | | 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
* __global_locale must be visible to users, move it outside of #ifdef _LIBCGravatar Denis Vlasenko2009-01-181-1/+2
|
* - fixup incomplete r24515 (fix redefinitions of posix_types for i386->x86_64 ↵Gravatar Bernhard Reutner-Fischer2009-01-122-1/+11
| | | | with linux >= 2.6.28)
* Get rid of the following annoying warnings on ppc:Gravatar Denis Vlasenko2009-01-031-17/+18
| | | | | | warning: nested extern declaration of '__illegally_sized_syscall_argN' From Stefan Assmann (sassmann AT suse.de)
* - whitespace cleanup; no obj-code changesGravatar Bernhard Reutner-Fischer2008-12-297-62/+62
|
* - expand SUSv3_LEGACYGravatar Bernhard Reutner-Fischer2008-12-291-1/+2
| | | | - SUSv4_LEGACY part #1 (non-networking)
* Help unifdef to remove private parts of headersGravatar Denis Vlasenko2008-12-272-5/+12
|
* ctype: remove some trivial macros from ctype.h;Gravatar Denis Vlasenko2008-12-273-96/+90
| | | | | | | | | | | | 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
* libc/sysdeps/linux/hppa/bits/signum.h: _NSIG == 65 is the common value,Gravatar Denis Vlasenko2008-12-231-3/+0
| | | | | no need to define it here
* These defines needs to be considered after recent linux kernel combined i386 ↵Gravatar Khem Raj2008-12-231-2/+6
| | | | and x86_64 into x86
* - mark capset() as linux specificGravatar Bernhard Reutner-Fischer2008-12-222-2/+2
|
* - capget() is linux specific; Sync helptext with current exclude list.Gravatar Bernhard Reutner-Fischer2008-12-221-1/+1
|
* - remove leftover from r13277Gravatar Bernhard Reutner-Fischer2008-12-221-1/+0
|
* UCLIBC_CTYPE_HEADER define is removed, as it alwaysGravatar Denis Vlasenko2008-12-222-52/+48
| | | | | | | | | | | | | | | | | | | | | | 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)
* - fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Gravatar Bernhard Reutner-Fischer2008-12-221-137/+57
| | | | | | math support - add rule to create preprocessor output for float- and long double math wrapper
* remove stray comment (the identical one is just a few lines down)Gravatar Denis Vlasenko2008-12-221-2/+0
|
* Remove unused macrosGravatar Denis Vlasenko2008-12-221-15/+0
|
* more of warning fixes, mostly pointer signedness mismatchesGravatar Denis Vlasenko2008-12-211-1/+1
|
* - provide INTERNAL_SYSCALL for ia64 (Stefan Assmann, sassmann at suse de)Gravatar Bernhard Reutner-Fischer2008-12-171-81/+110
|