summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2008-12-01random: use smaller data fields where appropriateDenis Vlasenko
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
2008-12-01gethostbyname can use gethostbyname2, saving one nearly 0.5k static bufferDenis Vlasenko
text data bss dec hex filename - 45 0 480 525 20d libc/inet/gethostbyname.o + 18 0 0 18 12 libc/inet/gethostbyname.o
2008-12-01rpc: should check against max for int32, not intDenis Vlasenko
2008-12-01rpc: ifdef out xdrrec_{get,put}long if int32 == long,Denis Vlasenko
otherwise use xdrrec_{get,put}int32 + trivial transform. eliminate warnings. des: small shrink + eliminate a warning
2008-11-29add libc_hidden_proto(__cmsg_nxthdr) for mipsDenis Vlasenko
2008-11-29fix improperly hidden fputc_unlockedDenis Vlasenko
2008-11-29fix improperly hidden fwprintf.Denis Vlasenko
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
2008-11-29shring sugnal-relared stuff a bit. BTW why constant memset is not inlined by ↵Denis Vlasenko
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
2008-11-29reduce sigset_t size for 128 bytes to 64 bits:Denis Vlasenko
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
2008-11-27Make __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__ visible in case the archCarmelo Amoroso
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>
2008-11-27- make isascii visible againBernhard Reutner-Fischer
TODO: *_l() should go
2008-11-26- revert 24148:24151Bernhard Reutner-Fischer
2008-11-26libc/string: need additional work to remove libc_hidden_proto's properlyDenis Vlasenko
2008-11-25- hide locksBernhard Reutner-Fischer
2008-11-25- remove some bloat that was added in r23660 and subsequent r23698.Bernhard Reutner-Fischer
The sbrk lock is only needed for LT.old
2008-11-25- hide some time related relocsBernhard Reutner-Fischer
2008-11-25Make wcsxfrm visible also when LOCALE support is disabled.Carmelo Amoroso
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-11-25- hide __libc_{f,}statfs. Thanks to Peter S. Mazinger for mentioning this fact.Bernhard Reutner-Fischer
2008-11-25- cosmetic tidy up of clean targetBernhard Reutner-Fischer
2008-11-25- make sure isspace() is exported.Bernhard Reutner-Fischer
Thanks to Skinkie for noticing.
2008-11-25- Fix thumb2 PIE (Joseph S. Myers)Bernhard Reutner-Fischer
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.)
2008-11-22signal ops: avoid calls through PLT for __sigXXX opsDenis Vlasenko
linuxthreads.old/manager: pointless style fixes, no code changes
2008-11-22fix some unneeded PLT referencesDenis Vlasenko
2008-11-22fix "make utils" build failure in ldconfigDenis Vlasenko
(undefined reference to 'getopt')
2008-11-21fix ioperm build problems caused by libc_hidden_proto removalDenis Vlasenko
2008-11-21fix apparent typo (unnoticed for long time, probablyDenis Vlasenko
because it didn't affect little endian arches)
2008-11-21deal with TODOs left over from libc_hidden_proto removalDenis Vlasenko
(fixes build with locale enabled)
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-11-20next portion of libc_hidden_proto removalDenis Vlasenko
2008-11-18Changed Copyright and License statement according to COPYING.LIB.boilerplateCarmelo Amoroso
2008-11-18Changed Copyright and License statement according to COPYING.LIB.boilerplateCarmelo Amoroso
2008-11-18- add __hot and __cold annotationsBernhard Reutner-Fischer
Will spare us quite some likely()/unlikely() occurances. See http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html for details
2008-11-18Fix typo: missing )Carmelo Amoroso
2008-11-18Move _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does).Carmelo Amoroso
Currently we have an implementation in ld.so and libdl.a. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-11-18libc_hidden_proto removal, a few more functionsDenis Vlasenko
2008-11-18libc_hidden_proto removal, just a few functionsDenis Vlasenko
2008-11-17resolver: use timeout of 5 (glibc uses that).Denis Vlasenko
delete some duplication in constants.
2008-11-17resolver: separate gethostent and gethostent_r into two .o files;Denis Vlasenko
delete two stray files which compile to nothing
2008-11-17resolver: move large code blocks to arrange related functions closer.Denis Vlasenko
almost no code changes
2008-11-17resolver: fix some previous TODOs, add new ones.Denis Vlasenko
2008-11-16- cleanup {,f}stat{,v}fs{,64} relocsBernhard Reutner-Fischer
2008-11-16resolver: improved support for overriding DNS server addressesDenis Vlasenko
in _res structure. Used by busybox's nslookup.
2008-11-16resolver: make getaddrinfo actually respect _res.nsaddr_list;Denis Vlasenko
add largish comment explaining what we are doing, and why; fixes to make IPv6-only resolver possible
2008-11-15resolver: more locking fixes.Denis Vlasenko
2008-11-15- Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer
2008-11-15- revert wrong r24049Bernhard Reutner-Fischer
2008-11-15- Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer
2008-11-14Current kernels support more than 8 bit major/minor. Pass dev_t through toRob Landley
the kernel unmolested.
2008-11-14fixing resolver part 3: fix completely bogus lockingDenis Vlasenko
in __dns_lookup.
2008-11-14fixing resolver part 2: make _res structure membersDenis Vlasenko
configurable. we don't use most of it anyway.