summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2008-05-30- Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer
2008-05-30- Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer
2008-05-30- shrink a little bit.Bernhard Reutner-Fischer
text data bss dec hex filename 1176 16 24 1216 4c0 libc/misc/syslog/syslog.o.orig 1140 16 21 1177 499 libc/misc/syslog/syslog.o
2008-05-29- fix dependencies for multi-sourceBernhard Reutner-Fischer
2008-05-29Fix typo in macro for tls access modelCarmelo Amoroso
2008-05-28avr32: splice(), vmsplice() and tee() supportHaavard Skinnemoen
Add the necessary prototypes and definitions for splice(), vmsplice() and tee() to work. Without this, they won't even compile.
2008-05-27Fix build failure due to missing 'smallint' definitionCarmelo Amoroso
by adding <unistd.h> header file. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-25Slight size reduction by use of smallints/consts:Denis Vlasenko
- 288016 1924 7176 297116 4889c libuClibc-0.9.29.so + 287956 1924 7168 297048 48858 libuClibc-0.9.29.so
2008-05-25__uClibc_main.c: save ~70 bytes by not checking that /dev/nullDenis Vlasenko
is indeed a char device with correct (maj,min). (If it's not such a char device, the system is screwed anyway, nothing can be done about it...) text data bss dec hex filename - 715 4 21 740 2e4 libc/misc/internals/__uClibc_main.o + 644 4 21 669 29d libc/misc/internals/__uClibc_main.o
2008-05-23- avoid warning about cast from pointer to integer of different sizeBernhard Reutner-Fischer
2008-05-23arm memcpy: fix the case when src=dstDenis Vlasenko
2008-05-23- for non-threaded, non-macro case we were missing __GI_fputc (for e.g. error.c)Bernhard Reutner-Fischer
2008-05-22- rename to match the set*() function's filenameBernhard Reutner-Fischer
2008-05-22- rename to match the setdomainname filenameBernhard Reutner-Fischer
2008-05-22convert two more static ints used as flags to smallintsDenis Vlasenko
2008-05-21- my manpage sais that init_module, create_module, query_module, delete_moduleBernhard Reutner-Fischer
were removed in linux-2.6
2008-05-21- fix warning about old-style function definitionBernhard Reutner-Fischer
This could need a pull from upstream to do away with these __STDC__ conditionals.
2008-05-21- fix warning about static not being at the beginning of a declBernhard Reutner-Fischer
2008-05-20replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko
2008-05-20getopt: do not needlessly use static structure.Denis Vlasenko
Reorder structure members and change some of them into smallints to reduce bss and text: text data bss dec hex filename - 2403 12 40 2455 997 libc/unistd/getopt.o + 2252 12 0 2264 8d8 libc/unistd/getopt.o
2008-05-20Introduce and use small[u]int type. Changes in size:Denis Vlasenko
- 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
2008-05-20- note that __drand48_iterate should be voidBernhard Reutner-Fischer
2008-05-20- remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer
2008-05-20- silence warningBernhard Reutner-Fischer
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2008-05-19Added a bounch of locale fixes.Carmelo Amoroso
* extra/locale/gen_wc8bit.c: use strrchr to parse locale name to handle the case in which it contains a '.' character like ANSI_X3.4-1968 * include/locale.h: use __UCLIBC_HAS_XLOCALE__ to control inclusion of xlocale.h only * libc/misc/ctype/ctype.c: add missing weak_alias for __tolower_l and __toupper_l * libc/misc/locale/locale.c: use strcasecmp (case insensitive) for utf-8 locale name. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-08realpath: do not set bogus errno when readlink fails.Denis Vlasenko
2008-05-03- add missing #endifBernhard Reutner-Fischer
2008-05-03- implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer
- synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
2008-05-03Wire up vmsplice, splice and tee for arm.Khem Raj
2008-05-02- add vmsplice, splice, tee (Timo Teräs)Bernhard Reutner-Fischer
- pull bits/fcntl.h from glibc (Timo Teräs)
2008-04-28__uc_malloc: remove stray semicolonsDenis Vlasenko
2008-04-28Experimentally move libc_hidden_proto(time) to time.h.Denis Vlasenko
The only code change observed is actually a case where we were not doing that as needed: 00000000 <__GI_tzset>: -53 push %ebx -e8 00 00 00 00 call 6 <__GI_tzset+0x6> -5b pop %ebx -81 c3 03 00 00 00 add $0x3,%ebx - R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 6a 00 push $0x0 -e8 fc ff ff ff call 10 <__GI_tzset+0x10> - R_386_PLT32 time +e8 fc ff ff ff call 3 <__GI_tzset+0x3> + R_386_PC32 __GI_time 3d ff 4e 98 45 cmp $0x45984eff,%eax 0f 9e c0 setle %al 0f b6 c0 movzbl %al,%eax 50 push %eax -e8 fc ff ff ff call 21 <__GI_tzset+0x21> +e8 fc ff ff ff call 14 <__GI_tzset+0x14> R_386_PC32 _time_tzset 58 pop %eax 5a pop %edx -5b pop %ebx c3 ret No mass migration of libc_hidden_proto(foo) planned. Lets wait for potential fallout first.
2008-04-25reinstate external visibility of inet_ntoa_r,Denis Vlasenko
and add it to arpa/inet.h header.
2008-04-24- fixup asm. No object-code changesBernhard Reutner-Fischer
2008-04-24Fix indentation of comment in AVR32 memmove assembler optimization file.Hans-Christian Egtvedt
2008-04-24Fix whitespace damage in AVR32 in libc sysdeps AVR32 specific Linux files.Hans-Christian Egtvedt
2008-04-24Fix whitespace damage in AVR32 libc sysdeps sys header files.Hans-Christian Egtvedt
2008-04-24Fix whitespace damage in AVR32 libc bits header files.Hans-Christian Egtvedt
2008-04-23Cleanup INTERNAL_SYSCALL macros for ARM.Khem Raj
2008-04-22Added support for error_print_progname as proposedCarmelo Amoroso
by Will Newton <will.newton@gmail.com>
2008-04-20Fix mmap64 undefined on arm oabi with pure thumb1 patchset. Thanks Tobias ↵Khem Raj
Poschwatta
2008-04-16Fix whitespace damage in AVR32 string assembler optimized functions.Hans-Christian Egtvedt
2008-04-15amd64 string ops: use alignment more carefully, and comment it.Denis Vlasenko
By capping max padding to not be bigger than three next insns, we avoid having ridiculously big NOPs like this one: 53:66 66 66 66 2e 0f 1f nopw %cs:0x0(%rax,%rax,1) 5a:84 00 00 00 00 00 which was bigger than next three insns combined! Size changes: text data bss dec hex filename 102 0 0 102 66 x86_64/memcpy.o 102 0 0 102 66 x86_64.old/memcpy.o 90 0 0 90 5a x86_64/mempcpy.o 102 0 0 102 66 x86_64.old/mempcpy.o 210 0 0 210 d2 x86_64/memset.o 242 0 0 242 f2 x86_64.old/memset.o 213 0 0 213 d5 x86_64/stpcpy.o 220 0 0 220 dc x86_64.old/stpcpy.o 428 0 0 428 1ac x86_64/strcat.o 444 0 0 444 1bc x86_64.old/strcat.o 417 0 0 417 1a1 x86_64/strchr.o 418 0 0 418 1a2 x86_64.old/strchr.o 33 0 0 33 21 x86_64/strcmp.o 33 0 0 33 21 x86_64.old/strcmp.o 213 0 0 213 d5 x86_64/strcpy.o 220 0 0 220 dc x86_64.old/strcpy.o 135 0 0 135 87 x86_64/strcspn.o 151 0 0 151 97 x86_64.old/strcspn.o 225 0 0 225 e1 x86_64/strlen.o 233 0 0 233 e9 x86_64.old/strlen.o 140 0 0 140 8c x86_64/strpbrk.o 156 0 0 156 9c x86_64.old/strpbrk.o 135 0 0 135 87 x86_64/strspn.o 151 0 0 151 97 x86_64.old/strspn.o Also, a few files got their .text alignment relaxed from 16 to 8 bytes, which reduces padding at link time.
2008-04-15amd64 string ops: replace some instructions by smaller ones,Denis Vlasenko
e.g. testb $0xff, %cl -> testb %cl, %cl
2008-04-12Functions should be either exported in public .h filesDenis Vlasenko
and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file)
2008-04-10remove "register" from _vf[w]printf_internal declarations tooDenis Vlasenko
2008-04-10even more fixes for vda-made breakage in vXXXfprintfDenis Vlasenko
(pointed out by Peter S.Mazinger)
2008-04-09fix breakage in old_vfprintf caseDenis Vlasenko
2008-04-09restore erroneously removed hidden_def for vdprintfDenis Vlasenko