summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso2008-12-022-1/+8
| | | | | | | | | | while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* hostid: improve extremely unreadable partsDenis Vlasenko2008-12-0117-88/+44
| | | | | | | | | | | | | | | | | | | | *: 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-019-26/+1
|
* remove checks for "impossible" errors,Denis Vlasenko2008-12-016-19/+11
| | | | | | | | | | | | | | | | 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-0110-118/+179
| | | | | | | 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-0116-95/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* l64a: shrink by 13 bytes, and -1 relocDenis Vlasenko2008-12-011-10/+10
|
* constify more dataDenis Vlasenko2008-12-013-3/+3
| | | | | | | | | | | text+data text+rodata rwdata bss filename - 2534 2510 24 0 libc/inet/rpc/clnt_udp.o + 2534 2534 0 0 libc/inet/rpc/clnt_udp.o - 1904 1880 24 0 libc/inet/rpc/clnt_tcp.o + 1904 1904 0 0 libc/inet/rpc/clnt_tcp.o - 770 746 24 4 libc/inet/rpc/clnt_raw.o + 770 770 0 4 libc/inet/rpc/clnt_raw.o
* rpc: constify data, localize unnecessarily static dataDenis Vlasenko2008-12-012-2/+6
| | | | | | | text+data text+rodata rwdata bss filename - 2308 2284 24 24 libc/inet/rpc/clnt_unix.o + 2308 2308 0 0 libc/inet/rpc/clnt_unix.o
* random: use smaller data fields where appropriateDenis Vlasenko2008-12-016-22/+12
| | | | | | | | | text data bss dec hex filename - 130 156 0 286 11e libc/stdlib/random.o + 130 148 0 278 116 libc/stdlib/random.o - 586 0 0 586 24a libc/stdlib/random_r.o + 570 0 0 570 23a libc/stdlib/random_r.o
* gethostbyname can use gethostbyname2, saving one nearly 0.5k static bufferDenis Vlasenko2008-12-012-15/+21
| | | | | | | text data bss dec hex filename - 45 0 480 525 20d libc/inet/gethostbyname.o + 18 0 0 18 12 libc/inet/gethostbyname.o
* rpc: should check against max for int32, not intDenis Vlasenko2008-12-011-4/+4
|
* rpc: ifdef out xdrrec_{get,put}long if int32 == long,Denis Vlasenko2008-12-015-105/+67
| | | | | | | otherwise use xdrrec_{get,put}int32 + trivial transform. eliminate warnings. des: small shrink + eliminate a warning
* add libc_hidden_proto(__cmsg_nxthdr) for mipsDenis Vlasenko2008-11-291-0/+1
|
* fix improperly hidden fputc_unlockedDenis Vlasenko2008-11-292-4/+2
|
* fix improperly hidden fwprintf.Denis Vlasenko2008-11-292-12/+3
| | | | | | | | | make two data objects static. text data bss dec hex filename - 274779 1835 19012 295626 482ca lib/libuClibc-0.9.30-svn.so + 274693 1835 19012 295540 48274 lib/libuClibc-0.9.30-svn.so
* shring sugnal-relared stuff a bit. BTW why constant memset is not inlined by ↵Denis Vlasenko2008-11-2915-87/+69
| | | | | | | | | | | 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-272-0/+9
| | | | | | | 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>
* - make isascii visible againBernhard Reutner-Fischer2008-11-272-2/+11
| | | | TODO: *_l() should go
* This patch fixes locale-mbwc test failures when __UCLIBC_HAS_LOCALE__ isCarmelo Amoroso2008-11-261-0/+24
| | | | | | | | | disabled and __UCLIBC_HAS_WCHAR__ is enabled. The only locale available when __UCLIBC_HAS_LOCALE__ is disabled is the C locale, the others locale are skipped. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* - remove fstatfs() and statfs() related headers upon requestBernhard Reutner-Fischer2008-11-262-2/+3
|
* - revert 24148:24151Bernhard Reutner-Fischer2008-11-266-27/+27
|
* libc/string: need additional work to remove libc_hidden_proto's properlyDenis Vlasenko2008-11-2615-39/+20
|
* - hide locksBernhard Reutner-Fischer2008-11-251-3/+3
|
* - remove some bloat that was added in r23660 and subsequent r23698.Bernhard Reutner-Fischer2008-11-253-15/+13
| | | | The sbrk lock is only needed for LT.old
* - hide some time related relocsBernhard Reutner-Fischer2008-11-252-9/+11
|
* Make wcsxfrm visible also when LOCALE support is disabled.Carmelo Amoroso2008-11-251-0/+1
| | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* - hide __libc_{f,}statfs. Thanks to Peter S. Mazinger for mentioning this fact.Bernhard Reutner-Fischer2008-11-2510-15/+2
|
* - cosmetic tidy up of clean targetBernhard Reutner-Fischer2008-11-251-2/+2
|
* - cosmetic tidy up of clean targetBernhard Reutner-Fischer2008-11-252-5/+5
|
* - make sure isspace() is exported.Bernhard Reutner-Fischer2008-11-252-5/+28
| | | | Thanks to Skinkie for noticing.
* - Fix thumb2 PIE (Joseph S. Myers)Bernhard Reutner-Fischer2008-11-251-0/+4
| | | | | | | | | This patch fixes position-independent executables (PIEs) for Thumb-2. In Thumb assembly, instructions reading pc give a value 4 greater than the address of the instruction, rather than 8 greater as in ARM mode, so the offset to the GOT needs to have the right offset. (The Thumb-1 code already gets this right; it's the code shared by ARM and Thumb-2 that needs fixing.)
* - fix args (untested)Bernhard Reutner-Fischer2008-11-231-2/+2
|
* signal ops: avoid calls through PLT for __sigXXX opsDenis Vlasenko2008-11-223-5/+13
| | | | | linuxthreads.old/manager: pointless style fixes, no code changes
* libc-symbols: improve comments and make macros a bit more readable.Denis Vlasenko2008-11-221-134/+157
| | | | | no code changes
* fix some unneeded PLT referencesDenis Vlasenko2008-11-224-4/+8
|
* fix "make utils" build failure in ldconfigDenis Vlasenko2008-11-221-0/+1
| | | | | (undefined reference to 'getopt')
* fix "make install" with relative PREFIXDenis Vlasenko2008-11-211-1/+1
|
* fix ioperm build problems caused by libc_hidden_proto removalDenis Vlasenko2008-11-219-0/+13
|
* fix apparent typo (unnoticed for long time, probablyDenis Vlasenko2008-11-211-1/+1
| | | | | because it didn't affect little endian arches)
* deal with TODOs left over from libc_hidden_proto removalDenis Vlasenko2008-11-213-10/+5
| | | | | (fixes build with locale enabled)
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-20434-1181/+1623
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-20239-403/+436
|
* Make sure __hot and __cold are always defined.Peter Kjellerstedt2008-11-191-3/+10
|
* Changed Copyright and License statement according to COPYING.LIB.boilerplateCarmelo Amoroso2008-11-181-21/+12
|
* Changed Copyright and License statement according to COPYING.LIB.boilerplateCarmelo Amoroso2008-11-181-19/+11
|
* - add __hot and __cold annotationsBernhard Reutner-Fischer2008-11-182-3/+11
| | | | | Will spare us quite some likely()/unlikely() occurances. See http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html for details