summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* Add position independent code for crt1.S.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>
* Merged revisions 25821,25823-25824,25836 via svnmerge from Khem Raj2009-03-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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". ........
* 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
* sparc32 nptl functionalaustinf2009-03-196-99/+523
| | | | | | | | | * 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.
* Merged revisions 25669-25670,25673-25674 via svnmerge from Khem Raj2009-03-162-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-162-9/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* 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 ........
* 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-277-57/+13
|
* reinstate __libc_foo for linuxthreads.oldDenis Vlasenko2009-02-257-0/+37
|
* 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
|
* sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architectureCarmelo Amoroso2009-02-201-1/+1
| | | | Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
* Synch kernel_types.h (i386, x86_64) with trunkCarmelo Amoroso2009-02-192-2/+2
|
* - synch r25316:25325 from trunkBernhard Reutner-Fischer2009-02-183-25/+8
|
* mathcalls.h: remove tons of redundant semicolons; better comment about macrosDenis Vlasenko2009-02-181-85/+87
| | | | | math.h: make macro machinery a bit more understandable
* test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko2009-02-171-0/+7
| | | | | *: fix everything which prevents above from building
* docs/probe_math_exception.c: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...)
* fix ppoll. we forgot to pass 5th parameter to the syscallDenis Vlasenko2009-01-281-14/+17
|
* 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.