summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-16fix testing "gcc -mpreferred-stack-boundary=2" on x86_64Denis Vlasenko
2008-12-15Remove __libc_posix_fadvise[64] alias. It existed on i386 and arm only,Denis Vlasenko
and google says only uclibc has it, no users at all. text data bss dec hex filename - 229374 1367 11280 242021 3b165 lib/libuClibc-0.9.30-svn.so + 229347 1367 11280 241994 3b14a lib/libuClibc-0.9.30-svn.so
2008-12-15remove some duplicates in bits/signum.h. No code changes.Denis Vlasenko
include/signal.h | 42 +++++++++++++++++++------------- libc/sysdeps/linux/alpha/bits/signum.h | 19 -------------- libc/sysdeps/linux/common/bits/signum.h | 22 ---------------- libc/sysdeps/linux/hppa/bits/signum.h | 17 ------------ libc/sysdeps/linux/mips/bits/signum.h | 23 +---------------- libc/sysdeps/linux/sparc/bits/signum.h | 20 --------------- 6 files changed, 27 insertions(+), 116 deletions(-)
2008-12-15sigaction overhaul as described in docs/sigaction.txtDenis Vlasenko
Run tested on i386.
2008-12-14heed compiler warnings about checking non-defined variables in #if directivesDenis Vlasenko
2008-12-14Add proposed plan of sanitizing sigaction to docs/*Denis Vlasenko
2008-12-13Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko
"Bounds Checking Projects... This project has been abandoned" for four years at least.
2008-12-13features.h: add TODO (changing __OPTIMIZE_SIZE__ is a wrong thing to do)Denis Vlasenko
2008-12-13doc snippets about defines we provide and/or useDenis Vlasenko
2008-12-13Do not install libc-XXXX.h files in "make install".Denis Vlasenko
glibc does not have them, so should be safe.
2008-12-13make all "XXXhidden_proto(" consistently not use a space before '('Denis Vlasenko
2008-12-13Make it again possible to have compact and small stack usageDenis Vlasenko
on non-SSE capable processors. I'm doing it the second time. text data bss dec hex filename 238539 1367 11280 251186 3d532 uClibc.z2/lib/libuClibc-0.9.30-svn.so 229457 1367 11280 242104 3b1b8 uClibc.z3/lib/libuClibc-0.9.30-svn.so
2008-12-13string/generic/memcmp.c: remove some really paranoid guardsDenis Vlasenko
for ancient compilers. none of other string/*.c files have them.
2008-12-13*: document __USE_EXTERN_INLINES better;Denis Vlasenko
fix uclibc build if it is forcibly enabled
2008-12-12i386/brk.c: gcc can't figure out how to use %ebx in PIC mode,Denis Vlasenko
help it. Code size is the same.
2008-12-12- only strip if cc compiled fineBernhard Reutner-Fischer
Avoids displaying an additional error from strip when your cc ICEs or fails otherwise.
2008-12-12*: remove vestiges of gcc's "bounded pointers" feature,Denis Vlasenko
it is dead (not supported by gcc) for years. (more of it remains in multiple copies of sigaction.c)
2008-12-12smaller brk() for i386. Inspected assembly to see it's still valid.Denis Vlasenko
text data bss dec hex filename - 44 0 4 48 30 libc/sysdeps/linux/i386/brk.o + 42 0 4 46 2e libc/sysdeps/linux/i386/brk.o
2008-12-11Move kernel-features.h header from the linuxthread directoryCarmelo Amoroso
to a common one (libc/sysdeps/linux/common/bits) so that any function can access to supported kernel feature (i.e. getdents). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-12-11create arch-generic brk() based on blackfin oneMike Frysinger
2008-12-11add inlines for Blackfin atomic functionsMike Frysinger
2008-12-11Blackfin: add L2_SRAM flag for alloc funcMike Frysinger
2008-12-11Blackfin: declare {INLINE,INTERNAL}_SYSCALL() and friendsMike Frysinger
2008-12-11add ENDPROC() macro for Blackfin assemblyMike Frysinger
2008-12-11use newer spiffy asm constraints to get better code generationMike Frysinger
2008-12-11punt old unused headerMike Frysinger
2008-12-11update ptrace.h to latest from glibcMike Frysinger
2008-12-11get rid of __libc_* symbols. Some whitespace cleanups.Khem Raj
2008-12-10*: remove some __libc_XXX functions:Denis Vlasenko
__libc_accept __libc_close __libc_connect __libc_creat __libc_creat64 __libc_fsync __libc_lseek __libc_lseek64 __libc_msync __libc_nanosleep __libc_open __libc_open64 __libc_pause __libc_read __libc_readv __libc_recv __libc_recvfrom __libc_recvmsg __libc_send __libc_sendmsg __libc_sendto __libc_tcdrain __libc_wait __libc_waitpid __libc_write __libc_writev They were removed from glibc 1 May 2004: http://sources.redhat.com/ml/libc-hacker/2004-05/msg00001.html
2008-12-10remove __libc_fcntl[64]Denis Vlasenko
2008-12-10remove __libc_getdomainname alias. google says only we have it.Denis Vlasenko
2008-12-10- document environment variables used by the install_* targets.Bernhard Reutner-Fischer
See their config helptexts for further detail.
2008-12-10Remove hardwired usr/ from install_utils (that's what $RUNTIME_PREFIX is for)Rob Landley
and add install_hostutils. Now install_utils should use $PREFIX more like other packages do.
2008-12-09smaller memcpyDenis Vlasenko
text data bss dec hex filename - 39 0 0 39 27 libc/string/i386/memcpy.os + 35 0 0 35 23 libc/string/i386/memcpy.os
2008-12-09setenv.c: tiny code shrinkDenis Vlasenko
text data bss dec hex filename - 546 0 4 550 226 libc/stdlib/setenv.o + 538 0 4 542 21e libc/stdlib/setenv.o
2008-12-09setenv.c: further code shrinkDenis Vlasenko
text data bss dec hex filename - 672 0 4 676 2a4 libc/stdlib/setenv.o + 546 0 4 550 226 libc/stdlib/setenv.o
2008-12-09- improve documentation of utils and hostutilsBernhard Reutner-Fischer
2008-12-09Mention make utils, hostutils, install_utils.Rob Landley
2008-12-09fix segv on clearenv(); unsetenv("foo"); [was deref'ing NULL],Denis Vlasenko
add a few missing ENOMEMs, some code shrinking text data bss dec hex filename - 727 0 4 731 2db libc/stdlib/setenv.o + 672 0 4 676 2a4 libc/stdlib/setenv.o
2008-12-09getaddrinfo: runp->ifa_addr indeed can be NULL, don't dereference itDenis Vlasenko
ifaddrs.c: cosmetics, no code changes
2008-12-08getaddrinfo: remove superfluout indentation, fix incorrect one.Denis Vlasenko
remove one superfluous statement.
2008-12-08- fix loop for checking ifaddr on both IPv4 and IPv6Bernhard Reutner-Fischer
2008-12-06resolver: make new name resolutions reread /etc/resolv.confDenis Vlasenko
if 256+ seconds passed since last read; fix cases where we switch to next search domain instead of switching to new server optimize ip4/ip6 combined cases; rewrite for(;;) loops so that it's clearer what's going on; document buffer usage; add TODOs and FIXMEs (for one, gethostbyname2 does not fill ->h_aliases field in the result AT ALL, and is iffy in general) text data bss dec hex filename - 245898 1403 11904 259205 3f485 libuClibc-0.9.30-svn.so + 245785 1403 11904 259092 3f414 libuClibc-0.9.30-svn.so
2008-12-04Remove __NTH from the declation.Khem Raj
2008-12-04CLean librt/*.oS too (NPTL will add some).Carmelo Amoroso
2008-12-04Go deeper while cleaning string directory to removeCarmelo Amoroso
TARGET_SUBARCH implementation too. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-12-04Added do_awk commanf for invoking awk parser. It will be usedCarmelo Amoroso
for generating some file on-the-fly on the NPTL case. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-12-03- use proper macrosBernhard Reutner-Fischer
2008-12-03- use proper macro (no obj-code changes)Bernhard Reutner-Fischer
2008-12-03- Use runtime pagesize (Jeremy Kerr)Bernhard Reutner-Fischer
Some powerpc machines can support 64k pages, enabled by the CONFIG_64K_PAGES option in linux. However, the uClibc dynamic loader won't currently work on these machines, as it uses hard-coded values (PAGE_ALIGN, ADDR_ALIGN and OFFS_ALIGN) in the ldso architecture-specific headers. When running on a kernel with 64k pages, ld.so tries to mmap with 4k-aligned addresses, rather than 64k, so mmap fails with -EINVAL. When booting a 64k machine with a uClibc dynamic linker, init fails with: /init:500: can't map '/lib/libc.so.0' /init:500: can't map '/lib/libc.so.0' /init:500: can't map '/lib/libc.so.0' /init: can't load library 'libc.so.0' Kernel panic - not syncing: Attempted to kill init! This change allows ld.so determine these alignment masks at runtime, rather than compile-time. Since we have the _dl_pagesize variable available, we can use that to generate the appropriate masks. Since almost all of the architectures can use the common definitions for the _ALIGN macros, we can consolidate them all in ldso.h, and override in the sysdep headers where necessary (ie, mips). This allows me to start a uClibc-based root fs on a 64k machine. Signed-off-by: Jeremy Kerr <jk at ozlabs org>