summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-13unwind.h: Move to libc/sysdeps from nptl sysdepsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-13epoll: redo cancellation to match masterBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-13epoll.c: add cancellation to epoll_[p]wait()Peter S. Mazinger
While there, fix epoll_pwait syscall, it takes 6 arguments Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-12libm: fix building out-of-treeBernhard Reutner-Fischer
Thanks to Thierry Reding for noticing! Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-12wordexp: fix mishandled return value of pipe callBernhard Reutner-Fischer
and use pipe2 if available while at it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-12linux_specific: handle accept4 and pipe2Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-12NPTL: needs madvise internallyBernhard Reutner-Fischer
This fixes 8d09a50a044638fde2ed3e1a1c4d3c7c5a3cce5c since NPTL also uses madvise internally. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-12socket: fix stubsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11commentary typo fixBernhard Reutner-Fischer
s/decriptor/descriptor/ Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11epoll: unify epoll.hBernhard Reutner-Fischer
2011-05-11commentary typo fixBernhard Reutner-Fischer
use cancellation (with two 'l') uniformly. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11Implement epoll_create1 and epoll_pwait system calls.Thierry Reding
Note: TODO: This lacks cancellation support. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11buildsys: document UCLIBC_EXTRA_CPPFLAGSBernhard Reutner-Fischer
Rename EXTRA_CPPFLAGS to UCLIBC_EXTRA_CPPFLAGS and make them override previous flags (by appending - not prepending - them to the other flags).
2011-05-11lll: avoid shadow warningsBernhard Reutner-Fischer
use __ret uniformly to avoid shadow warnings as seen on x86_64. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11x86_64: add TODO for R_X86_64_RELATIVEBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11libubacktrace: mv unwind.h to includeBernhard Reutner-Fischer
Fixes compilation if NPTL is off. I hope this doesn't break ARM EABI but cannot check ATM. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11Revert "libubacktrace: fix config-symbol handling"Bernhard Reutner-Fischer
This reverts commit 7a080cd149c7b25d415d76506510d55b34819fc2. This symbol is in fact different (as it is set no 'n').
2011-05-11add pipe2()Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11socketcalls: add stubsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11accept4: Implement cancellationBernhard Reutner-Fischer
.. and add proper prototype, move it into it's own obj and other such cleanups. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11Implement accept4 system call.Thierry Reding
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-11libubacktrace: fix config-symbol handlingBernhard Reutner-Fischer
Config symbals that are not set are empty, not 'n'.
2011-05-11buildsys: Turn on strict aliasing for everyoneBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-10ldso: commentary typo fixBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-10getcwd: Fix memory-leak in error pathBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-10__uc_malloc: Fix memory-leak in error pathBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-10libdl: fix local symbol's address handling in dladdrFilippo Arcidiacono
Fix dladdr to correctly handle local function's address so backtrace_symbols print only the function address for these function, instead of showing the name of nearest one. Indeed the dladdr walk through the hash table to find the nearest symbol, that doesn't contain local symbols. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-05-10*/crtn.S: Remove .size directive for _init and _finiBernhard Reutner-Fischer
These are split across objects so setting size does not (and never did) work since the expression cannot be computed at assembly time. This avoids errors from recent (> 2.21) gas. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-07posix_fadvise64: fix x86 implementationTimo Teräs
Commit 73d59554144f429b1cf0d4d7fa7de42bdf59ad92 completely broke the x86 implementation of posix_fadvise64. It moved the first the assembly code retn instruction gets missing depending on the Technically the file has two implementaions for posix_fadvise64, one when __NR_fadvise64_64 is available, and second one if only __NR_fadvise64 is there. Fix the #ifdef's to be proper for that. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-05i386: fix .size of _init/_finiBernhard Reutner-Fischer
binutils-2.21 barf on .size that do not evaluate to const, so use the section size and not a function that is not visible here. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-05x86_64: fix .size of _init/_finiBernhard Reutner-Fischer
binutils-2.21 barf on .size that do not evaluate to const, so use the section size and not a function that is not visible here. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-05Revert "*/crt?.S: remove .size directives"Bernhard Reutner-Fischer
Removing them generally was not a good idea This reverts commit 233c504cd940d9802226b6a3a092368b86978f5e.
2011-05-04*/crt?.S: remove .size directivesBernhard Reutner-Fischer
sed -i -e '/\.size[[:space:]]/d' $(grep -l "\.size" libc/sysdeps/linux/*/crt*.[sSc]) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-04libubacktrace: fix backtrace support on arm-eabi, which needs libgcc_eh ↵Henning Heinold
linked too Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-05-03getaddrinfo.c: fix incorrect check for ERANGE from gethostbyaddr_rDenys Vlasenko
Also, freeaddrinfo(NULL) is ok, no need to check parameted for NULL before calling it. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-05-03getaddrinfo.c: improve code readability. No functional changesDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-05-03string: remove unused variableBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-03x86_64: silence warning if !TLSBernhard Reutner-Fischer
TODO: fix all other arches Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-03buildsys: prettify ssp.c handlingBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-03madvise is LINUX_SPECIFICBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-03test_nptl: fix expected result for tst-cputimer[123]Filippo Arcidiacono
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-05-02test_nptl: fix expected result for tst-clock2 testFilippo Arcidiacono
tst-clock2 should return 0 when _SC_THREAD_CPUTIME option isn't available, instead of treating it as an error. Further set the expected ret value as 0 avoiding to hide any real failures in case of THREAD_CPUTIME feature available. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-05-02buildsys: make $(LOCAL_INSTALL_PATH) phonyBernhard Reutner-Fischer
Could depend on the individual files too but this makes sure that nothing is missed. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-02ether_aton: reject invalid inputBernhard Reutner-Fischer
fixes PR2227 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-01tests: disable ether tests if !HAS_SOCKETBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-05-01inet: add ether_aton testcaseDavid A Ramos
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-04-29sysconf: clock_getres depends on HAS_REALTIMEBernhard Reutner-Fischer
Bug was introduced in revision a202cf6f. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-04-29__rt_sigwaitinfo: depends on HAS_REALTIMEBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-04-27buildsys: minor fixes in Makefile.arch for C6XCarmelo Amoroso
Just a tidy-up by removing commented-out lines. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-04-27buildsys: minor fixes in Makefile.arch for microblazeCarmelo Amoroso
Do not include Makefile.commonarch directly from within arch specific Makefile, as it is already done in parent Maefile.in. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>