summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* add sparc TLS reloc's, shared library NPTL works nowaustinf2009-04-142-37/+44
|
* Merged revisions 26038 via svnmerge from Khem Raj2009-04-091-3/+1
| | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r26038 | kraj | 2009-04-09 01:45:24 -0700 (Thu, 09 Apr 2009) | 2 lines Fix the ifdef logic broken by last commit for !defined (__mcoldfire__) ........
* Merged revisions 26033 via svnmerge from Khem Raj2009-04-094-10/+31
| | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r26033 | kraj | 2009-04-09 00:38:04 -0700 (Thu, 09 Apr 2009) | 13 lines The attached patches fixes the problems found bringing up uclibc on coldfire M5485 processor 1. Disable mmap2() if we're compiling for coldfire and fall back to mmap(). It seems to map a different file area on a 2.6.25 linux kernel. 2. Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN and OFFSET_ALIGN relatively to _dl_pagesize[3]. On coldfire/M5485 _dl_pagesize is 0x2000. Signed-off-by: Groleo Marius <groleo@gmail.com> ........
* Merged revisions 25971,26002 via svnmerge from Khem Raj2009-04-074-17/+30
| | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25971 | vapier | 2009-04-05 23:40:57 -0700 (Sun, 05 Apr 2009) | 1 line apply getline() fix from linux kernel ........ r26002 | vapier | 2009-04-06 22:52:48 -0700 (Mon, 06 Apr 2009) | 1 line implement daemon() using clone() on no-mmu systems as suggested by Jamie Lokier ........
* Merged revisions 25821,25823-25824,25836 via svnmerge from Khem Raj2009-03-283-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25821 | aldot | 2009-03-25 12:27:56 -0700 (Wed, 25 Mar 2009) | 2 lines - do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger) ........ r25823 | aldot | 2009-03-25 13:28:19 -0700 (Wed, 25 Mar 2009) | 8 lines - Add strtouq alias (to strtoul) for 64bit The strtouq alias was only available on 32bit, breaking compilation of stuff using strtouq on 64bit machines. At the same time use the correct return type (u_quad_t). Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk> ........ r25824 | aldot | 2009-03-26 01:51:47 -0700 (Thu, 26 Mar 2009) | 2 lines - ignore objects ........ r25836 | landley | 2009-03-26 21:03:20 -0700 (Thu, 26 Mar 2009) | 3 lines 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28. The new guard symbol is "__SPARC_POSIX_TYPES_H". ........
* Merged revisions 25821 via svnmerge from Bernhard Reutner-Fischer2009-03-251-2/+2
| | | | | | | | | | svn+ssh://aldot@svn.uclibc.org/svn/trunk/uClibc ........ r25821 | aldot | 2009-03-25 20:27:56 +0100 (Wed, 25 Mar 2009) | 2 lines - do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger) ........
* sparc atomic.h: resort to v7/v8 atomic operations in the static case, austinf2009-03-211-10/+12
| | | | | since we have no _dl_hwcap to test whether we can use v9 at runtime
* 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>