summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix testing "gcc -mpreferred-stack-boundary=2" on x86_64Denis Vlasenko2008-12-161-1/+2
|
* Remove __libc_posix_fadvise[64] alias. It existed on i386 and arm only,Denis Vlasenko2008-12-153-15/+47
| | | | | | | | | 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
* remove some duplicates in bits/signum.h. No code changes.Denis Vlasenko2008-12-156-116/+27
| | | | | | | | | | | 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(-)
* sigaction overhaul as described in docs/sigaction.txtDenis Vlasenko2008-12-1521-656/+355
| | | | | Run tested on i386.
* heed compiler warnings about checking non-defined variables in #if directivesDenis Vlasenko2008-12-147-15/+15
|
* Add proposed plan of sanitizing sigaction to docs/*Denis Vlasenko2008-12-141-0/+245
|
* Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko2008-12-1319-185/+39
| | | | | | "Bounds Checking Projects... This project has been abandoned" for four years at least.
* features.h: add TODO (changing __OPTIMIZE_SIZE__ is a wrong thing to do)Denis Vlasenko2008-12-131-1/+7
|
* doc snippets about defines we provide and/or useDenis Vlasenko2008-12-131-0/+61
|
* Do not install libc-XXXX.h files in "make install".Denis Vlasenko2008-12-132-8/+15
| | | | | glibc does not have them, so should be safe.
* make all "XXXhidden_proto(" consistently not use a space before '('Denis Vlasenko2008-12-137-13/+13
|
* Make it again possible to have compact and small stack usageDenis Vlasenko2008-12-131-2/+6
| | | | | | | | | 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
* string/generic/memcmp.c: remove some really paranoid guardsDenis Vlasenko2008-12-131-15/+2
| | | | | for ancient compilers. none of other string/*.c files have them.
* *: document __USE_EXTERN_INLINES better;Denis Vlasenko2008-12-1312-7/+43
| | | | | fix uclibc build if it is forcibly enabled
* i386/brk.c: gcc can't figure out how to use %ebx in PIC mode,Denis Vlasenko2008-12-121-7/+12
| | | | | help it. Code size is the same.
* - only strip if cc compiled fineBernhard Reutner-Fischer2008-12-121-1/+1
| | | | | Avoids displaying an additional error from strip when your cc ICEs or fails otherwise.
* *: remove vestiges of gcc's "bounded pointers" feature,Denis Vlasenko2008-12-126-104/+41
| | | | | | it is dead (not supported by gcc) for years. (more of it remains in multiple copies of sigaction.c)
* smaller brk() for i386. Inspected assembly to see it's still valid.Denis Vlasenko2008-12-121-14/+12
| | | | | | | 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
* Move kernel-features.h header from the linuxthread directoryCarmelo Amoroso2008-12-1112-10/+11
| | | | | | | | 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>
* create arch-generic brk() based on blackfin oneMike Frysinger2008-12-112-17/+13
|
* add inlines for Blackfin atomic functionsMike Frysinger2008-12-112-1/+156
|
* Blackfin: add L2_SRAM flag for alloc funcMike Frysinger2008-12-111-0/+1
|
* Blackfin: declare {INLINE,INTERNAL}_SYSCALL() and friendsMike Frysinger2008-12-111-0/+53
|
* add ENDPROC() macro for Blackfin assemblyMike Frysinger2008-12-111-0/+1
|
* use newer spiffy asm constraints to get better code generationMike Frysinger2008-12-111-17/+9
|
* punt old unused headerMike Frysinger2008-12-111-133/+0
|
* update ptrace.h to latest from glibcMike Frysinger2008-12-111-2/+41
|
* get rid of __libc_* symbols. Some whitespace cleanups.Khem Raj2008-12-111-27/+27
|
* *: remove some __libc_XXX functions:Denis Vlasenko2008-12-1032-252/+127
| | | | | | | | | | | | __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
* remove __libc_fcntl[64]Denis Vlasenko2008-12-103-30/+8
|
* remove __libc_getdomainname alias. google says only we have it.Denis Vlasenko2008-12-102-19/+3
|
* - document environment variables used by the install_* targets.Bernhard Reutner-Fischer2008-12-101-0/+9
| | | | See their config helptexts for further detail.
* Remove hardwired usr/ from install_utils (that's what $RUNTIME_PREFIX is for)Rob Landley2008-12-103-6/+12
| | | | | and add install_hostutils. Now install_utils should use $PREFIX more like other packages do.
* smaller memcpyDenis Vlasenko2008-12-091-14/+15
| | | | | | | 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
* setenv.c: tiny code shrinkDenis Vlasenko2008-12-091-36/+38
| | | | | | | text data bss dec hex filename - 546 0 4 550 226 libc/stdlib/setenv.o + 538 0 4 542 21e libc/stdlib/setenv.o
* setenv.c: further code shrinkDenis Vlasenko2008-12-091-36/+26
| | | | | | | text data bss dec hex filename - 672 0 4 676 2a4 libc/stdlib/setenv.o + 546 0 4 550 226 libc/stdlib/setenv.o
* - improve documentation of utils and hostutilsBernhard Reutner-Fischer2008-12-091-5/+4
|
* Mention make utils, hostutils, install_utils.Rob Landley2008-12-091-1/+6
|
* fix segv on clearenv(); unsetenv("foo"); [was deref'ing NULL],Denis Vlasenko2008-12-091-96/+89
| | | | | | | | | 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
* getaddrinfo: runp->ifa_addr indeed can be NULL, don't dereference itDenis Vlasenko2008-12-092-4/+3
| | | | | ifaddrs.c: cosmetics, no code changes
* getaddrinfo: remove superfluout indentation, fix incorrect one.Denis Vlasenko2008-12-081-61/+64
| | | | | remove one superfluous statement.
* - fix loop for checking ifaddr on both IPv4 and IPv6Bernhard Reutner-Fischer2008-12-081-2/+2
|
* resolver: make new name resolutions reread /etc/resolv.confDenis Vlasenko2008-12-061-219/+197
| | | | | | | | | | | | | | | | 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
* Remove __NTH from the declation.Khem Raj2008-12-041-2/+2
|
* CLean librt/*.oS too (NPTL will add some).Carmelo Amoroso2008-12-041-1/+1
|
* Go deeper while cleaning string directory to removeCarmelo Amoroso2008-12-041-1/+1
| | | | | | TARGET_SUBARCH implementation too. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added do_awk commanf for invoking awk parser. It will be usedCarmelo Amoroso2008-12-041-0/+5
| | | | | | for generating some file on-the-fly on the NPTL case. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - use proper macrosBernhard Reutner-Fischer2008-12-032-3/+3
|
* - use proper macro (no obj-code changes)Bernhard Reutner-Fischer2008-12-031-1/+1
|
* - Use runtime pagesize (Jeremy Kerr)Bernhard Reutner-Fischer2008-12-0315-80/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>