summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sparc nptl needs it's own lowlevellock.caustinf2009-03-214-4/+157
| | | | | * Since sparc < v9 doesn't have a real compare exchange instruction, we implement it with a test and set.
* Merged revisions 25744 via svnmerge from Khem Raj2009-03-196-17/+18
| | | | | | | | | | | svn+ssh://kraj@svn.uclibc.org/svn/trunk/uClibc ........ r25744 | austinf | 2009-03-18 16:05:54 -0700 (Wed, 18 Mar 2009) | 3 lines fix compilation of linuxthreads for sparc add myself to MAINTAINERS for sparc ........
* sparc32 nptl functionalaustinf2009-03-1927-254/+940
| | | | | | | | | * pulled updated asm and headers from glibc for sparc32 * probably no cancellation support yet * no shared TLS relocs yet, since ldso is hosed on sparc still note: didn't use TARGET_SUBARCH method of includes since that would cause other parts of libc to fail currently. Will need to be fixed later.
* Always compile fork.S in arm mode. Make _Unwind_Resume arm onlyKhem Raj2009-03-182-1/+13
| | | | even when compiling in thumb mode.
* Use __asm__ and __volatile__. SYS_ify is not required here because its usedKhem Raj2009-03-181-6/+6
| | | | in calling macro already.
* Merged revisions 25669-25670,25673-25674 via svnmerge from Khem Raj2009-03-1654-217/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25669 | vapier | 2009-03-15 23:14:34 -0700 (Sun, 15 Mar 2009) | 1 line import user.h from the kernel as it is no longer exported by the kernel ........ r25670 | vapier | 2009-03-15 23:16:15 -0700 (Sun, 15 Mar 2009) | 1 line enable mprotect() regardless of MMU as some systems have MPUs which allows memory protection ........ r25673 | carmelo | 2009-03-16 06:33:27 -0700 (Mon, 16 Mar 2009) | 2 lines Added string.h header for strerr prototype. ........ r25674 | carmelo | 2009-03-16 06:36:39 -0700 (Mon, 16 Mar 2009) | 10 lines Fixed makefiles inclusion flow to pass actual configuration variable values. Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> ........
* Merged revisions 25638,25640,25642,25649-25650,25667-25668 via svnmerge from Khem Raj2009-03-165-11/+810
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25638 | vda | 2009-03-12 13:56:59 -0700 (Thu, 12 Mar 2009) | 10 lines linuxthreads fixes from Will Newton (will.newton AT gmail.com): * share Sys V semaphores in order to get appropriate SEM_UNDO semantics. * correct guardaddr in pthread_free() for TLS case * move spinlock unlocking before restart() * When exit was called from a signal handler, the restart from the manager processing the exit request instead restarted the thread in pthread_cond_timedwait. (see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html) ........ r25640 | vda | 2009-03-12 16:04:19 -0700 (Thu, 12 Mar 2009) | 3 lines add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com) ........ r25642 | vapier | 2009-03-12 23:17:48 -0700 (Thu, 12 Mar 2009) | 1 line add GNU extension for select timeouts where the sub-second field is actually longer than one second ........ r25649 | vapier | 2009-03-14 04:23:28 -0700 (Sat, 14 Mar 2009) | 1 line force DOPIC for FDPIC ELF targets ........ r25650 | vapier | 2009-03-14 04:30:56 -0700 (Sat, 14 Mar 2009) | 1 line default linux-2.4 module support to off for Blackfin targets ........ r25667 | vda | 2009-03-15 19:56:27 -0700 (Sun, 15 Mar 2009) | 3 lines docs/pthreads_hacking.txt: new file ........ r25668 | kraj | 2009-03-15 23:02:47 -0700 (Sun, 15 Mar 2009) | 2 lines Update copyright header. ........
* add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com)Denis Vlasenko2009-03-122-0/+208
|
* linuxthreads fixes from Will Newton (will.newton AT gmail.com):Denis Vlasenko2009-03-127-29/+46
| | | | | | | | | | | * share Sys V semaphores in order to get appropriate SEM_UNDO semantics. * correct guardaddr in pthread_free() for TLS case * move spinlock unlocking before restart() * When exit was called from a signal handler, the restart from the manager processing the exit request instead restarted the thread in pthread_cond_timedwait. (see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html)
* resolver:Denis Vlasenko2009-03-101-63/+7
| | | | | | | res_query: do not unconditionally set h_errno to TRY_AGAIN (closes bug 173). cleanups: s/__dn_expand/dn_expand/, remove superfluous dn_expand declaration, remove libc_hidden_proto junk
* Merged revisions 25556 via svnmerge from Khem Raj2009-03-052-5/+15
| | | | | | | | | | svn+ssh://kraj@svn.uclibc.org/svn/trunk/uClibc ........ r25556 | kraj | 2009-03-05 11:07:01 -0800 (Thu, 05 Mar 2009) | 1 line Define creat in an independent file ........
* Use __always_inline instead of __inline__Carmelo Amoroso2009-03-0511-38/+38
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Make long double support available for sh too.Carmelo Amoroso2009-03-051-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Re-add/merge TLS relocations support for MIPS thatCarmelo Amoroso2009-03-041-9/+62
| | | | | | have been erroneously removed in rev 24524. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* mknod: widen the parameters to match kernelDenis 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 constantDenis Vlasenko2009-03-021-0/+2
|
* fix breakage in x86_64 defconfigDenis Vlasenko2009-02-278-57/+19
|
* reinstate __libc_foo for linuxthreads.oldDenis Vlasenko2009-02-2510-10/+48
|
* i386 doesn't need to pass the extra tpnt to _dl_find_hashCarmelo Amoroso2009-02-231-3/+1
| | | | | | | | (it's actually used when TLS is enabled). No code changes because the _dl_find_hash is a wrapper to _dl_lookup_hash that doesn't use the extra tpnt parameter. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - also filter out headers-yBernhard Reutner-Fischer2009-02-231-1/+1
|
* Use gcc built-in defines for detecting SH cores instead ofCarmelo Amoroso2009-02-235-6/+6
| | | | | | | | | | | | | 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 !Carmelo Amoroso2009-02-201-1/+1
|
* Fix typo.Carmelo Amoroso2009-02-201-1/+1
|
* Use __UCLIBC_HAS_TLS__ (now available) as guard for TLS relatedCarmelo Amoroso2009-02-208-11/+11
| | | | | | | | stuff, instead of __UCLIBC_HAS_THREADS_NATIVE__. This is in preparation on trunk merge to make TLS compatible with LT (new) and NPTL. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architectureCarmelo Amoroso2009-02-201-1/+1
| | | | Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
* _res needs to be a macro (*__res_state()) having threads.Carmelo Amoroso2009-02-191-4/+0
| | | | | Revert latest change.
* Add stdlib.h header for exit prototype.Carmelo Amoroso2009-02-191-0/+1
|
* Strict POSIX requires a path to specified to `find`Carmelo Amoroso2009-02-191-1/+1
| | | | (synch with trunk).
* Make TLS support a selectable option (synch with trunk).Carmelo Amoroso2009-02-191-7/+13
| | | | Automatically enabled when using NPTL.
* Synch kernel_types.h (i386, x86_64) with trunkCarmelo Amoroso2009-02-192-2/+2
|
* Synch strverscmp.c with trunkCarmelo Amoroso2009-02-192-0/+117
|
* Install other linux kernel header subdirectories tooDenis Vlasenko2009-02-191-1/+10
|
* - synch r25316:25325 from trunkBernhard Reutner-Fischer2009-02-1810-208/+88
|
* mathcalls.h: remove tons of redundant semicolons; better comment about macrosDenis Vlasenko2009-02-182-91/+96
| | | | | math.h: make macro machinery a bit more understandable
* test/math/compile_test.c: make it exit with 0 alwaysDenis Vlasenko2009-02-181-1/+2
|
* test/math/compile_test.c: add compile testing of (some) floatsDenis Vlasenko2009-02-171-2/+67
|
* libm/Makefile.in: reformat the list of wrappersDenis Vlasenko2009-02-173-84/+191
| | | | | | | | | | | | | | | so that it is easier to modify, sort, etc; use __ in filenames of wrappers which wrap __functions (it may be useful to have function and file names ALWAYS match); remove names of not implemented wrappers (it was generating useless empty .o files). libm/ldouble_wrappers.c: comment out the wrapper which is not compiled anyway test/math/compile_test.c: improve this test, it was optimizing out some calls, and we don't want that. No actual code changes.
* fix typo in commentDenis Vlasenko2009-02-171-1/+1
|
* test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko2009-02-177-31/+146
| | | | | *: fix everything which prevents above from building
* Makefile.in: comment out deletion of include/ucontext.h,Denis Vlasenko2009-02-161-1/+2
| | | | | it is included from include/signal.h.
* suppress bogus ioctl on fd==INT_MAX when vasprintf() is calledDenis Vlasenko2009-02-154-14/+23
|
* math.h: fix libm_hidden_proto leak into sanitized headersDenis Vlasenko2009-02-142-20/+27
| | | | | libm/s_nextafterf.c: use /* */ comments
* Pass NO_LONG_DOUBLE flag to basic-test when LONG_DOUBLECarmelo Amoroso2009-02-121-1/+3
| | | | | | | support is not enabled in uclibc to fix build. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* docs/probe_math_exception.c:Denis Vlasenko2009-02-115-29/+83
| | | | | | | | | | | | 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...)
* add comment why do we need _ISbit() macroDenis Vlasenko2009-02-111-0/+1
|
* Re-add _ISbit macro required to build libstdc++ from gcc toolchain.Carmelo Amoroso2009-02-101-12/+18
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* ldouble_wrappers.c: add long and long long optimized wrappersDenis Vlasenko2009-02-092-240/+113
| | | | | | | | | | float_wrappers.c: add xxxWRAPPER1(func) macros. no code changes, but makes this file much shorter. text data bss dec hex filename - 42504 188 4 42696 a6c8 lib/libm-0.9.30-svn.so + 42488 188 4 42680 a6b8 lib/libm-0.9.30-svn.so
* reinstate bits/uClibc_arch_features.h in installed headers,Denis Vlasenko2009-02-091-1/+2
| | | | | my cross-compile toolchain based on gcc 4.3.1 broke without it.
* Hand-optimize wrappers on i386:Denis Vlasenko2009-02-091-156/+104
| | | | | | | | | | | | | | | | | | | -83 ec 10 sub $0x10,%esp -db 6c 24 14 fldt 0x14(%esp) -dd 5c 24 08 fstpl 0x8(%esp) -dd 44 24 08 fldl 0x8(%esp) -dd 1c 24 fstpl (%esp) -e8 fc ff ff ff call __GI_trunc -83 c4 10 add $0x10,%esp +db 6c 24 04 fldt 0x4(%esp) +dd 5c 24 04 fstpl 0x4(%esp) +e9 fc ff ff ff jmp __GI_trunc c3 ret text data bss dec hex filename - 42749 176 4 42929 a7b1 lib/libm-0.9.30-svn.so + 42085 176 4 42265 a519 lib/libm-0.9.30-svn.so
* ldouble_wrappers.c: fix __signbitl, it was calling itself by mistake.Denis Vlasenko2009-02-092-64/+7
| | | | | | remove wrong casts to long double of long return values. remove lots of empty lines.