summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* - expand SUSv3_LEGACYBernhard Reutner-Fischer2008-12-291-1/+2
| | | | - SUSv4_LEGACY part #1 (non-networking)
* 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
* libc/sysdeps/linux/hppa/bits/signum.h: _NSIG == 65 is the common value,Denis Vlasenko2008-12-231-3/+0
| | | | | no need to define it here
* These defines needs to be considered after recent linux kernel combined i386 ↵Khem Raj2008-12-231-2/+6
| | | | and x86_64 into x86
* - mark capset() as linux specificBernhard Reutner-Fischer2008-12-222-2/+2
|
* - capget() is linux specific; Sync helptext with current exclude list.Bernhard Reutner-Fischer2008-12-221-1/+1
|
* - remove leftover from r13277Bernhard Reutner-Fischer2008-12-221-1/+0
|
* UCLIBC_CTYPE_HEADER define is removed, as it alwaysDenis Vlasenko2008-12-222-52/+48
| | | | | | | | | | | | | | | | | | | | | | equal to "include/bits/uClibc_ctype.h" __CTYPE_unclassified and other similar __CTYPE_xxxx constants are moved to separate include file, bits/uClibc_charclass.h Duplicate declaration of these constants is removed from libc/misc/wctype/_wctype.c Ugly re-inclusion trick in extra/locale/gen_wctype.c deleted Large ifdefed-out chunk in extra/locale/gen_wctype.c removed Move __CTYPE_isalnum() etc macros from uClibc_ctype.h to their single user, extra/locale/gen_wctype.c (can be simplified further) Overall, no code changes (verified with objdump)
* - fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Bernhard Reutner-Fischer2008-12-221-137/+57
| | | | | | math support - add rule to create preprocessor output for float- and long double math wrapper
* remove stray comment (the identical one is just a few lines down)Denis Vlasenko2008-12-221-2/+0
|
* Remove unused macrosDenis Vlasenko2008-12-221-15/+0
|
* more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko2008-12-211-1/+1
|
* - provide INTERNAL_SYSCALL for ia64 (Stefan Assmann, sassmann at suse de)Bernhard Reutner-Fischer2008-12-171-81/+110
|
* - emulate unavailable syscall getpgrp on e.g. ia64 (Stefan Assmann)Bernhard Reutner-Fischer2008-12-161-1/+13
|
* Remove __libc_posix_fadvise[64] alias. It existed on i386 and arm only,Denis Vlasenko2008-12-153-15/+47
| | | | | | | | | and google says only uclibc has it, no users at all. text data bss dec hex filename - 229374 1367 11280 242021 3b165 lib/libuClibc-0.9.30-svn.so + 229347 1367 11280 241994 3b14a lib/libuClibc-0.9.30-svn.so
* remove some duplicates in bits/signum.h. No code changes.Denis Vlasenko2008-12-155-99/+2
| | | | | | | | | | | include/signal.h | 42 +++++++++++++++++++------------- libc/sysdeps/linux/alpha/bits/signum.h | 19 -------------- libc/sysdeps/linux/common/bits/signum.h | 22 ---------------- libc/sysdeps/linux/hppa/bits/signum.h | 17 ------------ libc/sysdeps/linux/mips/bits/signum.h | 23 +---------------- libc/sysdeps/linux/sparc/bits/signum.h | 20 --------------- 6 files changed, 27 insertions(+), 116 deletions(-)
* sigaction overhaul as described in docs/sigaction.txtDenis Vlasenko2008-12-1517-596/+313
| | | | | Run tested on i386.
* Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko2008-12-1310-30/+30
| | | | | | "Bounds Checking Projects... This project has been abandoned" for four years at least.
* make all "XXXhidden_proto(" consistently not use a space before '('Denis Vlasenko2008-12-133-9/+9
|
* *: document __USE_EXTERN_INLINES better;Denis Vlasenko2008-12-131-0/+2
| | | | | fix uclibc build if it is forcibly enabled
* i386/brk.c: gcc can't figure out how to use %ebx in PIC mode,Denis Vlasenko2008-12-121-7/+12
| | | | | help it. Code size is the same.
* *: remove vestiges of gcc's "bounded pointers" feature,Denis Vlasenko2008-12-122-7/+8
| | | | | | it is dead (not supported by gcc) for years. (more of it remains in multiple copies of sigaction.c)
* smaller brk() for i386. Inspected assembly to see it's still valid.Denis Vlasenko2008-12-121-14/+12
| | | | | | | text data bss dec hex filename - 44 0 4 48 30 libc/sysdeps/linux/i386/brk.o + 42 0 4 46 2e libc/sysdeps/linux/i386/brk.o
* Move kernel-features.h header from the linuxthread directoryCarmelo Amoroso2008-12-112-0/+81
| | | | | | | | to a common one (libc/sysdeps/linux/common/bits) so that any function can access to supported kernel feature (i.e. getdents). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* create arch-generic brk() based on blackfin oneMike Frysinger2008-12-112-17/+13
|
* add inlines for Blackfin atomic functionsMike Frysinger2008-12-112-1/+156
|
* Blackfin: add L2_SRAM flag for alloc funcMike Frysinger2008-12-111-0/+1
|
* Blackfin: declare {INLINE,INTERNAL}_SYSCALL() and friendsMike Frysinger2008-12-111-0/+53
|
* add ENDPROC() macro for Blackfin assemblyMike Frysinger2008-12-111-0/+1
|
* use newer spiffy asm constraints to get better code generationMike Frysinger2008-12-111-17/+9
|
* punt old unused headerMike Frysinger2008-12-111-133/+0
|
* update ptrace.h to latest from glibcMike Frysinger2008-12-111-2/+41
|
* *: remove some __libc_XXX functions:Denis Vlasenko2008-12-1022-151/+74
| | | | | | | | | | | | __libc_accept __libc_close __libc_connect __libc_creat __libc_creat64 __libc_fsync __libc_lseek __libc_lseek64 __libc_msync __libc_nanosleep __libc_open __libc_open64 __libc_pause __libc_read __libc_readv __libc_recv __libc_recvfrom __libc_recvmsg __libc_send __libc_sendmsg __libc_sendto __libc_tcdrain __libc_wait __libc_waitpid __libc_write __libc_writev They were removed from glibc 1 May 2004: http://sources.redhat.com/ml/libc-hacker/2004-05/msg00001.html
* remove __libc_fcntl[64]Denis Vlasenko2008-12-102-26/+6
|
* remove __libc_getdomainname alias. google says only we have it.Denis Vlasenko2008-12-101-13/+2
|
* Remove __NTH from the declation.Khem Raj2008-12-041-2/+2
|
* A missing change when we recently released a lot of fixCarmelo Amoroso2008-12-031-2/+0
| | | | on localae support
* Two other absolutely safe change that will be used by NPTL, aimedCarmelo Amoroso2008-12-032-1/+2
| | | | to simplify merge.
* hostid: improve extremely unreadable partsDenis Vlasenko2008-12-013-5/+4
| | | | | | | | | | | | | | | | | | | | *: remove checks of sigaction and sigprocmask results in cases where they clearly can't fail: sigaction(known_good_sig) sigprocmask(known_good_how) text data bss dec hex filename - 393 4 0 397 18d libc/pwd_grp/lckpwdf.o + 382 4 0 386 182 libc/pwd_grp/lckpwdf.o - 56 0 0 56 38 libc/signal/sigblock.o + 44 0 0 44 2c libc/signal/sigblock.o - 211 0 0 211 d3 libc/signal/sigset.o + 202 0 0 202 ca libc/signal/sigset.o - 56 0 0 56 38 libc/signal/sigsetmask.o + 44 0 0 44 2c libc/signal/sigsetmask.o - 309 0 0 309 135 libc/unistd/sleep.o + 256 0 0 256 100 libc/unistd/sleep.o
* on Bernd's request, remove commented-out code snippetsDenis Vlasenko2008-12-011-1/+0
|
* remove checks for "impossible" errors,Denis Vlasenko2008-12-011-2/+1
| | | | | | | | | | | | | | | | clarify uses of unoptimized sigXXX ops (they check signo), use faster sigops where approproate. text data bss dec hex filename - 68 0 0 68 44 libc/signal/sighold.o + 63 0 0 63 3f libc/signal/sighold.o - 114 0 0 114 72 libc/signal/sigintr.o + 110 0 0 110 6e libc/signal/sigintr.o - 113 0 0 113 71 libc/signal/sigpause.o + 108 0 0 108 6c libc/signal/sigpause.o - 68 0 0 68 44 libc/signal/sigrelse.o + 63 0 0 63 3f libc/signal/sigrelse.o
* fix sigset_t size for mips (it's the only arch with 128 signals).Denis Vlasenko2008-12-019-112/+166
| | | | | | | fix _NSIG for it. better document what's going on in sigaction(). seems to not induce any actual code changes (sans mips).
* optimize signal mask ops. comment out "impossible" errorsDenis Vlasenko2008-12-013-45/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | text data bss dec hex filename - 1179 13 2 1194 4aa libc/misc/syslog/syslog.o + 1165 13 2 1180 49c libc/misc/syslog/syslog.o - 435 4 0 439 1b7 libc/pwd_grp/lckpwdf.o + 393 4 0 397 18d libc/pwd_grp/lckpwdf.o - 38 0 0 38 26 libc/signal/sigandset.o + 32 0 0 32 20 libc/signal/sigandset.o - 63 0 0 63 3f libc/signal/sigblock.o + 56 0 0 56 38 libc/signal/sigblock.o - 22 0 0 22 16 libc/signal/sigempty.o + 20 0 0 20 14 libc/signal/sigempty.o - 25 0 0 25 19 libc/signal/sigfillset.o + 20 0 0 20 14 libc/signal/sigfillset.o - 34 0 0 34 22 libc/signal/sigisempty.o + 16 0 0 16 10 libc/signal/sigisempty.o - 38 0 0 38 26 libc/signal/sigorset.o + 32 0 0 32 20 libc/signal/sigorset.o - 119 0 0 119 77 libc/signal/sigpause.o + 113 0 0 113 71 libc/signal/sigpause.o - 215 0 0 215 d7 libc/signal/sigset.o + 211 0 0 211 d3 libc/signal/sigset.o - 63 0 0 63 3f libc/signal/sigsetmask.o + 56 0 0 56 38 libc/signal/sigsetmask.o - 194 0 1 195 c3 libc/stdlib/abort.o + 183 0 1 184 b8 libc/stdlib/abort.o - 323 0 0 323 143 libc/unistd/sleep.o + 309 0 0 309 135 libc/unistd/sleep.o
* add libc_hidden_proto(__cmsg_nxthdr) for mipsDenis Vlasenko2008-11-291-0/+1
|
* shring sugnal-relared stuff a bit. BTW why constant memset is not inlined by ↵Denis Vlasenko2008-11-292-6/+6
| | | | | | | | | | | gcc? text data bss dec hex filename - 38015 18096 8636 64747 fceb lib/libpthread-0.9.30-svn.so + 38001 18096 8636 64733 fcdd lib/libpthread-0.9.30-svn.so - 274842 1835 19012 295689 48309 lib/libuClibc-0.9.30-svn.so + 274779 1835 19012 295626 482ca lib/libuClibc-0.9.30-svn.so
* reduce sigset_t size for 128 bytes to 64 bits:Denis Vlasenko2008-11-291-5/+11
| | | | | | | | | | | text data bss dec hex filename - 38457 18352 8636 65445 ffa5 lib/libpthread-0.9.30-svn.so + 38015 18096 8636 64747 fceb lib/libpthread-0.9.30-svn.so - 8205 280 12 8497 2131 lib/libthread_db-0.9.30-svn.so + 8193 280 12 8485 2125 lib/libthread_db-0.9.30-svn.so - 275208 1823 19132 296163 484e3 lib/libuClibc-0.9.30-svn.so + 274787 1823 19012 295622 482c6 lib/libuClibc-0.9.30-svn.so
* Make __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__ visible in case the archCarmelo Amoroso2008-11-271-0/+3
| | | | | | | supports this feature. SH4 will use this in some aseembly files for the NPTL implementation. Add now safely on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - revert 24148:24151Bernhard Reutner-Fischer2008-11-261-3/+3
|
* - hide locksBernhard Reutner-Fischer2008-11-251-3/+3
|