summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-07Add unifdef host tool to clean targetCarmelo Amoroso
2008-05-07Remove gcc warning due to missing prototype for 'testandset'Carmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-03- add missing #endifBernhard Reutner-Fischer
2008-05-03- cleanup by manually expanding the helpers.Bernhard Reutner-Fischer
Saves several 100 bytes
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- indentBernhard Reutner-Fischer
2008-05-02Added implementation for 'locale' command.Carmelo Amoroso
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-05-02- add vmsplice, splice, tee (Timo Teräs)Bernhard Reutner-Fischer
- pull bits/fcntl.h from glibc (Timo Teräs)
2008-05-01install_headers: do not exit if unifdef "fails", it's okDenis Vlasenko
2008-04-30install_headers: properly quote thingsDenis Vlasenko
2008-04-30guard against older ld's not understanding --sort-section alignmentDenis Vlasenko
2008-04-30Rules.mak: fix -falign/-malign mixupDenis Vlasenko
2008-04-30install_headers.sh: detect a case when kernel headers are alreadyDenis Vlasenko
installed in target dir, and dont try to copy them again
2008-04-29build system: use a bit more aggressive gcc/ld optimizations,Denis Vlasenko
mostly related to ELF section ans padding, not code gen. Resulting reductions in size (only biggest ones are shown) uClibc.t4 - new, uClibc.t3 - old: 15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc-0.9.29.so 15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc.so 15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc.so.0 15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc-0.9.29.so 15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc.so 15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc.so.0 39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm-0.9.29.so 39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm.so 39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm.so.0 40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm-0.9.29.so 40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm.so 40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm.so.0 234104 1472 5980 241556 3af94 uClibc.t4-stdcfg_so/lib/libc.so.0 234104 1472 5980 241556 3af94 uClibc.t4-stdcfg_so/lib/libuClibc-0.9.29.so 235319 1472 5992 242783 3b45f uClibc.t3-stdcfg_so/lib/libc.so.0 235319 1472 5992 242783 3b45f uClibc.t3-stdcfg_so/lib/libuClibc-0.9.29.so
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-27build system: improve install_headers.Denis Vlasenko
Now it uses dedicated script instead of inline makefile commands, which helps readability. It also installs asm[-generic] and linux subdirs from kernel headers (previously it had to be done separately). Lastly, it passes each uclibc header thru unifdef, which strips #ifdef UCLIBC_INTERNAL conditional from headers. Currently it's a no-op (no such #ifders in tree). The plan is to have libc_hidden_proto(foo) migrated to headers and guard them by these #ifdefs.
2008-04-25Fix rpc test MakefileCarmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-04-25Fix some sh4 specific entriesCarmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
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 top level Config.in.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-22Fix segfault in __pthread_initialize_minimal in linuxthreadsCarmelo Amoroso
implementation when built without SHARED flag as reported 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 pt-machine.h in libpthread, linuxthreads and ↵Hans-Christian Egtvedt
linuxthreads.old.
2008-04-16Fix whitespace damage in AVR32 string assembler optimized functions.Hans-Christian Egtvedt
2008-04-16Fix whitespace damage in AVR32 part of ldso.Hans-Christian Egtvedt
2008-04-16Fix whitespace damage in Config.avr32.Hans-Christian Egtvedt
2008-04-16Updated email address for Hans-Christian Egtvedt, AVR32 maintainer.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
2008-04-09Remove vestigial locking init from sprintf routines.Denis Vlasenko
2008-04-09Factor out the core of vprintf() into separate functionDenis Vlasenko
vprintf_internal, so that: * vprintf() does locking and __STDIO_STREAM_TRANS_TO_WRITE thing, then calls vprintf_internal * vsnprintf, vdprintf.c, vasprintf.c use vprintf_internal directly This makes sprintf faster (since it doesn't do any locking) and stops it from pulling in fseek in static compile.
2008-04-04- use a 16bit value for fnstsw as required by newer binutils.Bernhard Reutner-Fischer
2008-04-01Fix remap_file_pages prototype and use mman.h headerCarmelo Amoroso
2008-03-26- trim trailing whitespace. No object-code changes.Bernhard Reutner-Fischer
2008-03-26- fixup stripping of host utils and make host-utils compile with std=gnu99Bernhard Reutner-Fischer
2008-03-26- improve building utilsBernhard Reutner-Fischer
Either by first compiling objects and linking those or by just passing the source to create the desired binary (this patchlet does the latter). Fixes cosmetic glitch by just not building individual .o (in pwd, at least).