summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-226-96/+170
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Signal handling rework: two missing filesCarmelo Amoroso2009-01-222-149/+93
|
* Synch whole signal handling rework with trunk. Tested on nptl-sh4.Carmelo Amoroso2009-01-2215-311/+173
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - pull r24946 from trunk (remove unavailable functionality; psm)Bernhard Reutner-Fischer2009-01-211-0/+4
|
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis 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
* Make __global_locale visible in headersDenis Vlasenko2009-01-181-1/+2
|
* - pull r24799 from trunkBernhard Reutner-Fischer2009-01-122-1/+11
|
* Get rid of the following annoying warnings on ppc: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 changes (r24600)Bernhard Reutner-Fischer2008-12-297-62/+62
|
* - pull r24593:24596 from trunkBernhard Reutner-Fischer2008-12-291-1/+2
|
* Help unifdef to remove private parts of headersDenis Vlasenko2008-12-272-5/+12
|
* ctype: remove some trivial macros from ctype.h;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
* - _syscall?() need to superfluous trailing ';'Bernhard Reutner-Fischer2008-12-236-15/+19
| | | | - reduce patch noise a little bit
* - sync with trunkBernhard Reutner-Fischer2008-12-232-2/+1
|
* signal.h consolidation from trunk.Denis Vlasenko2008-12-235-102/+2
| | | | | No object code difference (tested on i386).
* sync with trunk. Compile tested on i386Denis Vlasenko2008-12-238-82/+76
|
* fix build failures on i386Denis Vlasenko2008-12-231-1/+1
|
* Get non nptl threads compiled on x86.Khem Raj2008-12-234-22/+10
|
* Get i386 non nptl builds going.Khem Raj2008-12-236-178/+104
|
* - sync with trunk r24404 (no obj-code changes)Bernhard Reutner-Fischer2008-12-223-9/+9
|
* - sync with trunk @r24492Bernhard Reutner-Fischer2008-12-221-137/+57
|
* Synch with trunk @ 24392Carmelo Amoroso2008-12-122-42/+86
| | | | | | Step 25: partial merge of signal handling changes from trunk, that keeps the nptl branch still working (at least on sh4). libc/signal/sigaction.c not merged because it causes sh4 hanging
* Missing from bfin mergeCarmelo Amoroso2008-12-121-133/+0
|
* Removed some __libc_xxx fucntions as merged from trunk.Carmelo Amoroso2008-12-1113-119/+52
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix kernl-features.h include path.Carmelo Amoroso2008-12-112-2/+42
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk @ 24379Carmelo Amoroso2008-12-111-0/+32
| | | | Step 24: miscellaneous merge from trunk.
* Synch with trunk @ 24379Carmelo Amoroso2008-12-111-0/+437
| | | | Step 23: move kernel-features.h
* Synch with trunk @ 24379Carmelo Amoroso2008-12-117-55/+221
| | | | Step 22: merge bfin specific
* Synch with trunk @ 24261Carmelo Amoroso2008-12-111-104/+47
| | | | | | | Step 19: merge change in rev 24250 - Use runtime pagesize (Jeremy Kerr) Some powerpc machines can support 64k pages, enabled by the CONFIG_64K_PAGES option in linux.
* Merged with trunk: basically white space and blank lines removalCarmelo Amoroso2008-12-111-2/+9
|
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-091-1/+1
| | | | | | This patch makes mips nptl port compile again Replace remaining instances of asm by __asm__ and volatile by __volatile__ include bits/errno.h instead of obsolete bits/errno_values.h
* Sync with trunk r24277Khem Raj2008-12-041-2/+2
| | | | | Remove __NTH from the declation.
* Synch with trunk @ 24242Carmelo Amoroso2008-12-0315-147/+233
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-27197-415/+515
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24160Carmelo Amoroso2008-11-27157-895/+719
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-273-14/+13
| | | | Step 13: build system updates.
* Synch with trunk @ 24087Carmelo Amoroso2008-11-183-6/+6
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-173-6/+102
| | | | | Step 3 libm and related headers
* sh_nptl: Enable CFI directives for shCarmelo Amoroso2008-09-181-0/+3
| | | | | | | | | Enable CFI directives for sh to add proper CFI information into assembly functions. This provides stack frame information used during stack unwinding as well by debugger for backtracing. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fixes posix_fadvise[64] functions to return the Carmelo Amoroso2008-09-183-8/+187
| | | | | | | | | | error number in case of failure instead of -1 and setting errno, according to SuSv3 (IEEE Std 1003.1 2004 edition) specification. Also refactor sysdep.h and syscalls.h moving INTERNAL_SYSCALL macro to the latter (as other archs do in uclibc). Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Kill off the GOT lookup for init/fini in the sh crti.S. This wasCarmelo Amoroso2008-09-181-25/+2
| | | | | | | | | inversely conditional on __HAVE_SHARED__, which has been broken since the time it was copied in originally. The compiler properly generates the GOT references on its own, negating the entire purpose for the init/fini reference. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove trailing whitespacesCarmelo Amoroso2008-09-181-2/+2
|
* include signal.h for missing SIG_BLOCK definition.Khem Raj2008-08-151-0/+1
|
* Fix SH ldso sequence startup.Carmelo Amoroso2008-08-081-2/+8
| | | | | | | | | | | | | | | | | | Pass via r4 the rtld finalizer _dl_fini to the user application. This will be the 6^ arg of __uClibc_main and will be registered with 'atexit'. In this way the dynamic linker will be able to call destructors defined within the loaded DSOs. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Add missing 7th arg "stack_end". add comment of undocumented usage of r4. fix comment of expected __uClibc_main() prototype. Signed-off-by: Yoshii Takashi <yoshii.takashi@renesas.com> Acked-by: Paul Mundt <lethal@linux-sh.org>
* some more asm keyword fixes (Yann E. MORIN)Carmelo Amoroso2008-08-063-20/+18
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-31171-460/+466
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* These are already unwired in kernel headers so dont worry about them in uclibcKhem Raj2008-07-171-18/+0
|
* Do not include libc-lock.h because uClibc_mutex.h is exported file and ↵Khem Raj2008-07-141-1/+0
| | | | several application using this headers fail because they do not get __extern_inline define and if cdefs.h is included then the mudslide begins. For now we will live with the warnings in uclibc build.
* Undefine some of redundant syscalls not used by EABI kernels. So uclibc ↵Khem Raj2008-07-141-0/+18
| | | | | | could use alternative implementations for them. include sys/syscalls.h in pt-gettimeofday.c
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-113-5/+6
| | | | | | | | | | | | Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu Also fix this other warning. warning: missing braces around initializer warning: (near initialization for '_stdio_streams[0].__lock.__