summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* random: use smaller data fields where appropriateDenis Vlasenko2008-12-015-19/+8
| | | | | | | | | 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-011-15/+20
| | | | | | | 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-014-76/+54
| | | | | | | 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-2913-81/+59
| | | | | | | | | | | 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>
* - make isascii visible againBernhard Reutner-Fischer2008-11-271-2/+2
| | | | TODO: *_l() should go
* - revert 24148:24151Bernhard Reutner-Fischer2008-11-265-26/+25
|
* libc/string: need additional work to remove libc_hidden_proto's properlyDenis Vlasenko2008-11-2614-39/+18
|
* - 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-251-7/+10
|
* 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-252-5/+5
|
* - make sure isspace() is exported.Bernhard Reutner-Fischer2008-11-251-3/+6
| | | | 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.)
* signal ops: avoid calls through PLT for __sigXXX opsDenis Vlasenko2008-11-222-0/+9
| | | | | linuxthreads.old/manager: pointless style fixes, 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 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-20370-1176/+1184
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-20224-403/+403
|
* 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-181-3/+3
| | | | | Will spare us quite some likely()/unlikely() occurances. See http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html for details
* Fix typo: missing )Carmelo Amoroso2008-11-181-1/+1
|
* Move _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does).Carmelo Amoroso2008-11-187-3/+188
| | | | | | Currently we have an implementation in ld.so and libdl.a. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-1850-106/+106
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-1864-71/+71
|
* resolver: use timeout of 5 (glibc uses that).Denis Vlasenko2008-11-171-10/+7
| | | | | delete some duplication in constants.
* resolver: separate gethostent and gethostent_r into two .o files;Denis Vlasenko2008-11-174-151/+151
| | | | | delete two stray files which compile to nothing
* resolver: move large code blocks to arrange related functions closer.Denis Vlasenko2008-11-171-510/+489
| | | | | almost no code changes
* resolver: fix some previous TODOs, add new ones.Denis Vlasenko2008-11-171-179/+198
|
* - cleanup {,f}stat{,v}fs{,64} relocsBernhard Reutner-Fischer2008-11-166-14/+16
|
* resolver: improved support for overriding DNS server addressesDenis Vlasenko2008-11-161-48/+114
| | | | | in _res structure. Used by busybox's nslookup.
* resolver: make getaddrinfo actually respect _res.nsaddr_list;Denis Vlasenko2008-11-162-204/+337
| | | | | | add largish comment explaining what we are doing, and why; fixes to make IPv6-only resolver possible
* resolver: more locking fixes.Denis Vlasenko2008-11-151-108/+138
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-1525-52/+50
|
* - revert wrong r24049Bernhard Reutner-Fischer2008-11-1525-49/+51
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-1525-51/+49
|
* Current kernels support more than 8 bit major/minor. Pass dev_t through toRob Landley2008-11-141-5/+1
| | | | the kernel unmolested.
* fixing resolver part 3: fix completely bogus lockingDenis Vlasenko2008-11-141-304/+311
| | | | | in __dns_lookup.
* fixing resolver part 2: make _res structure membersDenis Vlasenko2008-11-141-11/+17
| | | | | configurable. we don't use most of it anyway.