summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Readd the thread local version of __res_stateAustin Foxley2009-07-101-9/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Sync nptl branch to masterAustin Foxley2009-07-092-4/+18
| | | | | | | | | | | | | | Cherry picked these commits: afdfa59588: Do not install libc-XXX.h files fb863f7592: Make HARDWIRED_ABSPATH a config option e0c8160a38: Allow people to run hostutils targets without .config e0da861a29: Don't rely on features.h ac1087a727: Denis's resolv.c cleanup Pulled out the thread local __res_state in resolv. Will reapply it in a future commit. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify common syscall definesMike Frysinger2009-07-091-0/+1
| | | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add a few missing includesRon2009-07-091-0/+1
| | | | | | | | | elf.h needs __BYTE_ORDER, and s_scalbn.c needs {LONG,INT}_MAX. shm.c complains about no prototypes for shm_{open,unlink} without its header. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add some missing printf/scanf format attributesRon2009-07-091-5/+10
| | | | | | | | | | The gcc-4.4 documentation still suggests that the compiler will automatically do format checking for the standard format function prototypes, but it is now also barking warnings suggesting that we add them for this lot too. So added. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* git: Added/Modified .gitignoreFilippo Arcidiacono2009-07-021-0/+26
| | | | | | | Added .gitignore files to exclude others generated files. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* patch from Joseph S. Meyersaustinf2009-05-051-3/+3
| | | | | | | | | | | | | | | | | This patch merges 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #2841] * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', since C99 requires the result to promote to 'int' when uint_least8_t and uint_least16_t promote to 'int'. from glibc to fix a bug in uClibc's stdint.h (GCC's testsuite will now detect this problem, along with various others some systems have in their stdint.h headers.) Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merged revisions 25971,26002 via svnmerge from Khem Raj2009-04-071-2/+0
| | | | | | | | | | | | | | 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-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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". ........
* fix breakage in x86_64 defconfigDenis Vlasenko2009-02-271-0/+6
|
* Use __UCLIBC_HAS_TLS__ (now available) as guard for TLS relatedCarmelo Amoroso2009-02-205-7/+7
| | | | | | | | 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>
* _res needs to be a macro (*__res_state()) having threads.Carmelo Amoroso2009-02-191-4/+0
| | | | | Revert latest change.
* - synch r25316:25325 from trunkBernhard Reutner-Fischer2009-02-182-59/+66
|
* mathcalls.h: remove tons of redundant semicolons; better comment about macrosDenis Vlasenko2009-02-181-6/+9
| | | | | math.h: make macro machinery a bit more understandable
* fix typo in commentDenis Vlasenko2009-02-171-1/+1
|
* test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko2009-02-171-24/+32
| | | | | *: fix everything which prevents above from building
* math.h: fix libm_hidden_proto leak into sanitized headersDenis Vlasenko2009-02-141-16/+23
| | | | | libm/s_nextafterf.c: use /* */ comments
* 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>
* Add strverscmp() and versionsort[64]().Denis Vlasenko2009-02-082-2/+19
| | | | | By Hai Zaar (haizaar AT codefidence.com)
* Make clock_getcpuclockid() and clock_nanosleep() visible when Carmelo Amoroso2009-01-281-6/+5
| | | | | | | NPTL is enabled, and we have selected __UCLIBC_HAS_ADVANCED_REALTIME__ Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-226-13/+12
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - pull r24946 from trunk (remove unavailable functionality; psm)Bernhard Reutner-Fischer2009-01-213-1/+5
|
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis Vlasenko2009-01-211-1/+1
| | | | | | | | | | | | | | | | | | | 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
* replace yet another _dl_malloc + _dl_memset with _dl_zallocDenis Vlasenko2009-01-111-2/+0
|
* simple optimizations and style fixes in dynamic loadingDenis Vlasenko2009-01-101-0/+7
| | | | | | | | | | | text data bss dec hex filename - 16709 240 92 17041 4291 lib/ld-uClibc.so + 16634 236 92 16962 4242 lib/ld-uClibc.so - 4602 344 4 4950 1356 lib/libdl-0.9.30-svn.so + 4571 328 4 4903 1327 lib/libdl-0.9.30-svn.so - 4602 344 4 4950 1356 lib/libdl.so + 4571 328 4 4903 1327 lib/libdl.so
* - whitespace cleanup; no obj-code changes (r24600)Bernhard Reutner-Fischer2008-12-2912-27/+27
|
* - pull r24593:24596 from trunkBernhard Reutner-Fischer2008-12-295-3/+8
|
* remove many functions which just call __ieee754_<function>,Denis Vlasenko2008-12-281-0/+1
| | | | | | | | | define them as aliases instead. text data bss dec hex filename - 45402 180 4 45586 b212 lib/libm-0.9.30-svn.so + 45302 180 4 45486 b1ae lib/libm-0.9.30-svn.so
* Help unifdef to remove private parts of headersDenis Vlasenko2008-12-271-2/+5
|
* ctype: remove some trivial macros from ctype.h;Denis Vlasenko2008-12-272-102/+76
| | | | | | | | | | | | 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
* regex: drop __<funcname> aliases. remove much of unused code.Denis Vlasenko2008-12-261-7/+7
| | | | | | | | | shrink offset tables. disable "likely/unlikely" BE() macro. text data bss dec hex filename - 515032 2731 15424 533187 822c3 lib/libuClibc-0.9.30-svn.so + 515014 2731 15424 533169 822b1 lib/libuClibc-0.9.30-svn.so
* include/libc-string_i386.h: fix a bug where memset('\xff') misbehavesDenis Vlasenko2008-12-261-1/+3
| | | | | Rules.mak: add -funsigned-char, to forestall future PITA
* signal.h consolidation from trunk.Denis Vlasenko2008-12-231-14/+33
| | | | | No object code difference (tested on i386).
* Get non nptl threads compiled on x86.Khem Raj2008-12-231-35/+72
|
* Merged from trunk.Khem Raj2008-12-226-45/+374
|
* - sync with trunk r24404 (no obj-code changes)Bernhard Reutner-Fischer2008-12-221-1/+1
|
* - fix typoBernhard Reutner-Fischer2008-12-221-1/+1
|
* - sync with trunk @r24492Bernhard Reutner-Fischer2008-12-221-4/+24
|
* Synch with trunk @ 24242Carmelo Amoroso2008-12-032-3/+8
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-021-3/+31
| | | | | More merges from trunk to get nptl compiling for arm. Also fix some errno related linking problems.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-272-0/+12
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24157Carmelo Amoroso2008-11-2663-143/+634
| | | | Step 11: More libc_hidden_proto removal
* Synch with trunk @ 24087Carmelo Amoroso2008-11-186-7/+16
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1716-259/+326
| | | | Step 8: include folder
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-173-14/+14
| | | | | Step 3 libm and related headers
* sh_nptl: Enable CFI directives for shCarmelo Amoroso2008-09-181-0/+6
| | | | | | | | | 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>
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-3113-74/+74
| | | | | | | 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>
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-2/+2
| | | | | | | | | | | | 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.__
* Add TLS reltypes for ARMKhem Raj2008-07-101-0/+11
|